Skip to content

Commit d642fba

Browse files
author
MrAnyx
committed
feat: update landing page to include release link and improve layout structure
1 parent d242bf0 commit d642fba

File tree

2 files changed

+31
-22
lines changed

2 files changed

+31
-22
lines changed

components/landing/hero.vue

+12-7
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@
55

66
<!-- Hero content -->
77
<div class="relative flex flex-col items-center justify-center gap-y-8 px-6">
8-
<UBadge
9-
variant="subtle"
10-
color="sky"
11-
size="lg"
12-
icon="i-tabler-sparkles"
8+
<ULink
9+
to="https://github.com/meeio-app/frontend/releases"
10+
target="_blank"
1311
>
14-
Release v{{ version }}
15-
</UBadge>
12+
<UBadge
13+
variant="subtle"
14+
color="sky"
15+
size="lg"
16+
icon="i-tabler-sparkles"
17+
>
18+
Release v{{ version }}
19+
</UBadge>
20+
</ULink>
1621
<div class="flex flex-col items-center gap-y-4 text-center">
1722
<h1 class="text-4xl lg:text-6xl font-bold text-gray-800 dark:text-gray-200">
1823
Master your knowledge

pages/index.vue

+19-15
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,28 @@
55
class="w-full fixed flex items-center justify-center border-b border-gray-200 dark:border-gray-800 backdrop-blur-lg bg-white/75 dark:bg-gray-900/75 z-[99]"
66
>
77
<div class="w-full max-w-screen-lg px-6 flex items-center justify-between">
8-
<NuxtLink
9-
class="flex items-center gap-x-3"
10-
:to="{ name: 'landing' }"
11-
>
12-
<NuxtImg
13-
src="logo.svg"
14-
width="30"
15-
height="30"
16-
/>
17-
<span class="font-bold text-lg text-gray-800 dark:text-gray-200">
18-
Meeio
19-
</span>
8+
<div class="flex items-center gap-x-3">
9+
<NuxtLink
10+
:to="{ name: 'landing' }"
11+
class="flex items-center gap-x-3"
12+
>
13+
<NuxtImg
14+
src="logo.svg"
15+
width="30"
16+
height="30"
17+
/>
18+
<span class="font-bold text-lg text-gray-800 dark:text-gray-200">
19+
Meeio
20+
</span>
21+
</NuxtLink>
2022
<UBadge
2123
variant="subtle"
2224
color="sky"
25+
class="hidden md:inline"
2326
>
2427
{{ version }}
2528
</UBadge>
26-
</NuxtLink>
29+
</div>
2730
<div class="space-x-2">
2831
<template v-if="token">
2932
<UButton
@@ -43,6 +46,7 @@
4346
Sign in
4447
</UButton>
4548
<UButton
49+
class="hidden md:inline-flex"
4650
variant="soft"
4751
color="sky"
4852
trailing-icon="i-tabler-arrow-right"
@@ -146,8 +150,8 @@
146150
</div>
147151
</div>
148152
<UDivider />
149-
<div class="max-w-screen-lg mx-auto px-6 py-4 flex items-center justify-between">
150-
<p class="text-gray-600 dark:text-gray-400 text-sm">
153+
<div class="max-w-screen-lg mx-auto px-6 py-4 flex flex-col-reverse md:flex-row items-center justify-between gap-2">
154+
<p class="text-gray-600 dark:text-gray-400 text-sm text-center">
151155
Copyright &copy; {{ DateTime.now().year }}. All rights reserved.
152156
</p>
153157
<div class="space-x-1">

0 commit comments

Comments
 (0)