Skip to content

Commit 7ef25db

Browse files
committed
feat(website): add footer
1 parent feb7a7c commit 7ef25db

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts" setup></script>
22

33
<template>
4-
<div class="bg:#ffe min-h:100vh">
4+
<div class="bg:#ffe min-h:100vh flex flex:col">
55
<header class="shadow:md">
66
<div class="center-content flex jc:space-between max-w:screen-lg mx:auto p:4x">
77
<div class="center-content flex gap:2x">
@@ -10,15 +10,25 @@
1010
</div>
1111
<nav>
1212
<ul class="center-content flex gap:4x">
13-
<li><NuxtLink to="/">Home</NuxtLink></li>
14-
<li><NuxtLink to="/about">About</NuxtLink></li>
13+
<li>
14+
<NuxtLink to="/">Home</NuxtLink>
15+
</li>
16+
<li>
17+
<NuxtLink to="/about">About</NuxtLink>
18+
</li>
1519
</ul>
1620
</nav>
1721
</div>
1822
</header>
1923

20-
<main class="max-w:screen-lg min-h:full mx:auto pt:4x">
24+
<main class="flex:1 max-w:screen-lg min-h:full mx:auto pt:4x">
2125
<NuxtPage />
2226
</main>
27+
28+
<footer>
29+
<div class="max-w:screen-lg mx:auto p:4x t:center">
30+
<p>© 2024 Alan Lu. All rights reserved.</p>
31+
</div>
32+
</footer>
2333
</div>
2434
</template>

0 commit comments

Comments
 (0)