Skip to content

Commit 0cc8b87

Browse files
author
b
committed
footer v1
1 parent 0162c32 commit 0cc8b87

7 files changed

Lines changed: 41 additions & 15 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12+
"path": "^0.12.7",
1213
"vue": "^3.3.8",
1314
"vue-command": "^35.2.1"
1415
},

src/App.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<script setup lang="ts">
22
import CommandLineInterface from './components/CommandLineInterface.vue';
33
import PromptExecutionLogo from './components/PromptExecutionLogo.vue';
4+
import TheFooter from './components/TheFooter.vue';
5+
46
</script>
57

68
<template>
79
<div>
810
<PromptExecutionLogo />
911
</div>
1012
<CommandLineInterface />
11-
<!-- <HelloWorld msg="Vitex + Vue" /> -->
13+
<TheFooter />
1214
</template>
1315

1416
<style scoped>
@@ -24,4 +26,6 @@ import PromptExecutionLogo from './components/PromptExecutionLogo.vue';
2426
.logo.vue:hover {
2527
filter: drop-shadow(0 0 2em #42b883aa);
2628
}
29+
30+
2731
</style>

src/components/PromptExecutionLogo.vue

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,4 @@
1010

1111
<style scoped>
1212
13-
@font-face {
14-
font-family: 'PEPatron-PersonalUse-Regular', 'sans-serif';
15-
src: url('@/assets/fonts/Patron-PersonalUse-Regular.otf') format('opentype');
16-
font-weight: normal;
17-
font-style: normal;
18-
}
19-
20-
@font-face {
21-
font-family: 'PEExodarOutline', 'san-serif';
22-
src: url('@/assets/fonts/ExodarOutline.otf') format('opentype');
23-
font-weight: normal;
24-
font-style: normal;
25-
}
26-
2713
</style>

src/components/TheFooter.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<template>
2+
<div class="footy">
3+
☎️: <a href="callto://+(61) 3 4238 2424">+(61) 3 4238 2424</a> &nbsp;&nbsp; 📩: <a href="mailto:hello@promptexecution.com">hello@promptexecution.com</a> &nbsp;&nbsp; 🦘 <a target="_blank" href="https://abr.business.gov.au/ABN/View?id=45650385466">ABN: 456 5038 5466</a>
4+
</div>
5+
</template>
6+
7+
<style scoped>
8+
.footy {
9+
font-family: 'PEPatron-PersonalUse-Regular', 'PEExodarOutline', 'Roboto'; /* sans-serif; */
10+
font-size: 0.8em;
11+
}
12+
</style>

src/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
2+
@font-face {
3+
font-family: 'PEPatron-PersonalUse-Regular';
4+
src: url('@/assets/fonts/Patron-PersonalUse-Regular.otf') format('opentype');
5+
font-weight: normal;
6+
font-style: normal;
7+
background-color: #242424;
8+
}
9+
10+
@font-face {
11+
font-family: 'PEExodarOutline';
12+
src: url('@/assets/fonts/ExodarOutline.ttf') format('truetype');
13+
color: #242424;
14+
font-weight: normal;
15+
font-style: normal;
16+
}
17+
118
:root {
219
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
320
line-height: 1.5;

vite.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import { defineConfig } from 'vite'
22
import vue from '@vitejs/plugin-vue'
3+
import path from 'path';
34

45
// https://vitejs.dev/config/
56
export default defineConfig({
67
plugins: [vue()],
8+
resolve: {
9+
alias: {
10+
'@': path.resolve(__dirname, 'src')
11+
},
12+
}
713
})

0 commit comments

Comments
 (0)