pref: update index
This commit is contained in:
parent
9c5cb5b551
commit
019d0f6cc1
1
src/components.d.ts
vendored
1
src/components.d.ts
vendored
@ -10,6 +10,7 @@ export {}
|
|||||||
declare module '@vue/runtime-core' {
|
declare module '@vue/runtime-core' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
Bar: typeof import('./components/Bar.vue')['default']
|
Bar: typeof import('./components/Bar.vue')['default']
|
||||||
|
Btn: typeof import('./components/Btn.vue')['default']
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<nav px-9xl flex items-center>
|
<nav class="px-9xl flex items-center">
|
||||||
<p font-sans font-semibold text-6>thehrz.net</p>
|
<p class="font-sans font-semibold text-6">thehrz.net</p>
|
||||||
</nav>
|
</nav>
|
||||||
</template>
|
</template>
|
||||||
|
13
src/components/Btn.vue
Normal file
13
src/components/Btn.vue
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<button type="button" class="">
|
||||||
|
<slot></slot>
|
||||||
|
</button>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
<h1 class="my-8 text-2.5em leading-[1.1] md:text-3.5em c-coolgray-700 font-300">Hi! I'm thehrz.</h1>
|
<h1 class="my-8 text-2.5em leading-[1.1] md:text-3.5em c-coolgray-700 font-300">Hi! I'm thehrz.</h1>
|
||||||
|
|
||||||
|
<!-- <btn>aa</btn> -->
|
||||||
|
|
||||||
<p class="c-dark-100">🚧 under construction...</p>
|
<p class="c-dark-100">🚧 under construction...</p>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
@ -20,12 +20,12 @@ export default defineConfig({
|
|||||||
// mono: "DM Mono",
|
// mono: "DM Mono",
|
||||||
// },
|
// },
|
||||||
// }),
|
// }),
|
||||||
presetWebFonts({
|
// presetWebFonts({
|
||||||
fonts: {
|
// fonts: {
|
||||||
sans: "Inter:100,200,400,700,800",
|
// sans: "Inter:100,200,400,700,800",
|
||||||
mono: "IBM Plex Mono",
|
// mono: "IBM Plex Mono",
|
||||||
},
|
// },
|
||||||
}),
|
// }),
|
||||||
],
|
],
|
||||||
transformers: [transformerDirectives(), transformerVariantGroup()],
|
transformers: [transformerDirectives(), transformerVariantGroup()],
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user