diff --git a/app.vue b/app.vue
index ad3d9fe..68a5f76 100644
--- a/app.vue
+++ b/app.vue
@@ -36,6 +36,6 @@ h2 {
}
p {
- text-align: justify;
+ @apply lg:text-justify text-left;
}
diff --git a/components/navigation.vue b/components/navigation.vue
index a178fc4..e2a3926 100644
--- a/components/navigation.vue
+++ b/components/navigation.vue
@@ -21,11 +21,11 @@ function isCurrent(href: string) {
-
+ 'relative block transition group hover:before:scale-x-100 hover:before:origin-left before:w-full before:h-0.5 before:origin-right before:transition-transform before:duration-500 before:scale-x-0 before:bg-zinc-800 before:absolute before:left-0 before:bottom-0',
+ isCurrent(route.href)
+ ? 'relative block transition group before:scale-x-100 hover:before:origin-left before:w-full before:h-0.5 before:origin-right before:transition-transform before:duration-500 before:bg-zinc-800 before:absolute before:left-0 before:bottom-0'
+ : ''
+ ]" :href="route.href" :aria-label="route.name" :external="route.external" rel="prefetch">
@@ -33,8 +33,7 @@ function isCurrent(href: string) {
-
+
Menu
@@ -65,8 +64,8 @@ function isCurrent(href: string) {
-
+ 'text-zinc-200': isCurrent(route.href)
+ }" :external="route.external" @click="close" v-text="route.name" />
diff --git a/layouts/default.vue b/layouts/default.vue
index 3189683..ffa3848 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -12,7 +12,7 @@ useHead({
-
+
diff --git a/pages/index.vue b/pages/index.vue
index c744b43..69fd005 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -78,6 +78,6 @@ h2 {
}
p {
- @apply text-xl text-zinc-700;
+ @apply text-base sm:text-lg md:text-xl text-zinc-700;
}