feat: move to unocss

This commit is contained in:
Anthony Fu committed 2022-02-17 20:59:24 +08:00
1 parent 31999466ef
commit 44f6b3fd44
17 files changed
+695 -556

No files matched your search

+7 -7
View File
@@ -13,20 +13,20 @@ watchEffect(() => {
<template>
<div>
<p class="text-4xl">
<carbon-pedestrian class="inline-block" />
</p>
<div text-4xl>
<div i-carbon-pedestrian inline-block />
</div>
<p>
{{ t('intro.hi', { name: props.name }) }}
</p>
<p class="text-sm opacity-50">
<p text-sm opacity-50>
<em>{{ t('intro.dynamic-route') }}</em>
</p>
<template v-if="user.otherNames.length">
<p class="text-sm mt-4">
<span class="opacity-75">{{ t('intro.aka') }}:</span>
<p text-sm mt-4>
<span opacity-75>{{ t('intro.aka') }}:</span>
<ul>
<li v-for="otherName in user.otherNames" :key="otherName">
<router-link :to="`/hi/${otherName}`" replace>
@@ -39,7 +39,7 @@ watchEffect(() => {
<div>
<button
class="btn m-3 text-sm mt-6"
btn m="3 t6" text-sm
@click="router.back()"
>
{{ t('button.back') }}