Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions app/pages/about.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script setup lang="ts">
const router = useRouter()

interface GitHubContributor {
login: string
id: number
Expand Down Expand Up @@ -39,7 +41,19 @@ const { data: contributors, status: contributorsStatus } = useFetch<GitHubContri
<main class="container flex-1 py-12 sm:py-16">
<article class="max-w-2xl mx-auto">
<header class="mb-12">
<h1 class="font-mono text-3xl sm:text-4xl font-medium mb-4">{{ $t('about.heading') }}</h1>
<div class="flex items-baseline justify-between gap-4 mb-4">
<h1 class="font-mono text-3xl sm:text-4xl font-medium">
{{ $t('about.heading') }}
</h1>
<button
type="button"
class="inline-flex items-center gap-2 font-mono text-sm text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:outline-accent/70 shrink-0"
@click="router.back()"
>
<span class="i-carbon:arrow-left rtl-flip w-4 h-4" aria-hidden="true" />
<span class="hidden sm:inline">{{ $t('nav.back') }}</span>
</button>
</div>
<p class="text-fg-muted text-lg">
{{ $t('tagline') }}
</p>
Expand Down Expand Up @@ -215,16 +229,6 @@ const { data: contributors, status: contributorsStatus } = useFetch<GitHubContri

<CallToAction />
</section>

<footer class="mt-16 pt-8 border-t border-border">
<NuxtLink
to="/"
class="inline-flex items-center gap-2 font-mono text-sm text-fg-muted hover:text-fg transition-[color] duration-200 rounded focus-visible:outline-accent/70"
>
<span class="i-carbon:arrow-left rtl-flip w-4 h-4" aria-hidden="true" />
{{ $t('about.back_home') }}
</NuxtLink>
</footer>
</article>
</main>
</template>
18 changes: 15 additions & 3 deletions app/pages/compare.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<script setup lang="ts">
import { useRouteQuery } from '@vueuse/router'

const router = useRouter()

definePageMeta({
name: 'compare',
})
Expand Down Expand Up @@ -61,9 +63,19 @@ useSeoMeta({
<main class="container flex-1 py-12 sm:py-16 w-full">
<div class="max-w-2xl mx-auto">
<header class="mb-12">
<h1 class="font-mono text-3xl sm:text-4xl font-medium mb-4">
{{ $t('compare.packages.title') }}
</h1>
<div class="flex items-baseline justify-between gap-4 mb-4">
<h1 class="font-mono text-3xl sm:text-4xl font-medium">
{{ $t('compare.packages.title') }}
</h1>
<button
type="button"
class="inline-flex items-center gap-2 font-mono text-sm text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:outline-accent/70 shrink-0"
@click="router.back()"
>
<span class="i-carbon:arrow-left rtl-flip w-4 h-4" aria-hidden="true" />
<span class="hidden sm:inline">{{ $t('nav.back') }}</span>
</button>
</div>
<p class="text-fg-muted text-lg">
{{ $t('compare.packages.tagline') }}
</p>
Expand Down
Loading