fix: cleanup component structure
This commit is contained in:
parent
2abae63f4b
commit
bf720b79ee
19 changed files with 899 additions and 250 deletions
39
src/components/nav/Footer.astro
Normal file
39
src/components/nav/Footer.astro
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
const today = new Date();
|
||||
const lastUpdated = new Date(); // You can set this to a specific date or pull from your build process
|
||||
---
|
||||
|
||||
<footer
|
||||
class="bg-gray-100/60 dark:bg-mytheme-900 shadow-sm text-gray-600 dark:text-gray-400 px-4 py-8"
|
||||
>
|
||||
<div class="max-w-full mx-auto">
|
||||
<!-- Main horizontal layout -->
|
||||
<div
|
||||
class="flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4"
|
||||
>
|
||||
<!-- Copyright -->
|
||||
<div class="text-center sm:text-left">
|
||||
<p>
|
||||
© {today.getFullYear()} Alexander Daichendt. All rights reserved.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Legal links -->
|
||||
<div class="flex items-center justify-center gap-4">
|
||||
<a
|
||||
href="/impressum"
|
||||
class="text-gray-600 dark:text-gray-400 hover:text-accent hover:underline transition-colors duration-200"
|
||||
>
|
||||
Impressum
|
||||
</a>
|
||||
<span class="opacity-60">•</span>
|
||||
<a
|
||||
href="/datenschutz"
|
||||
class="text-gray-600 dark:text-gray-400 hover:text-accent hover:underline transition-colors duration-200"
|
||||
>
|
||||
Datenschutz
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
Loading…
Add table
Add a link
Reference in a new issue