Skip to content

Commit

Permalink
chore: footer
Browse files Browse the repository at this point in the history
  • Loading branch information
nexmoe committed Aug 15, 2024
1 parent 0a32819 commit ebb9a4c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions components/public/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ const props = defineProps<Props>()
</script>

<template>
<footer class="mt-12 bg-white dark:bg-neutral-900">
<div class="mx-auto w-full max-w-screen-xl">
<div v-if="props.sitemap" class="grid grid-cols-2 gap-8 px-4 pt-12 md:grid-cols-4">
<footer class="mt-12 dark:bg-neutral-900">
<div class="container">
<div v-if="props.sitemap" class="bg-white rounded-2xl grid grid-cols-2 gap-8 p-12 px-16 md:grid-cols-4">
<div v-for="item in props.sitemap" :key="item.title">
<h2 class="mb-6 text-sm font-semibold text-neutral-900 uppercase dark:text-white">{{ item.title }}</h2>
<ul v-for="list in item.list" :key="list.title"
class="text-neutral-500 dark:neutral-gray-400 font-medium">
class="text-gray-500 dark:text-gray-400 font-medium">
<li class="mb-4">
<a :href="list.url" class="hover:underline">{{ list.title }}</a>
<a :href="list.url" class="underline" target="_blank">{{ list.title }}</a>
</li>
</ul>
</div>
</div>
<div class="px-4 py-6 md:flex md:items-center md:justify-between">
<span class="text-sm text-neutral-500 dark:text-neutral-300 sm:text-center">© {{ dayjs(new
<div class="px-4 py-12 md:flex md:items-center md:justify-between">
<span class="text-sm text-gray-500 dark:text-gray-300 sm:text-center">© {{ dayjs(new
Date()).format('YYYY') }} {{ props.siteName }} All Rights Reserved. Powered by <a class="underline"
href="https://github.com/nexmoe/roam-space" target="_blank">Roam Space</a>
</span>
Expand All @@ -47,4 +47,5 @@ const props = defineProps<Props>()
.footer {
padding-left: var(--n-spacing)
}
</style>

0 comments on commit ebb9a4c

Please sign in to comment.