mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-11 18:56:06 +09:00
42 lines
1.3 KiB
Plaintext
Executable File
42 lines
1.3 KiB
Plaintext
Executable File
---
|
|
import Logo from "@/components/Logo.astro";
|
|
import Social from "@/components/Social.astro";
|
|
import config from "@/config/config.json";
|
|
import menu from "@/config/menu.json";
|
|
import social from "@/config/social.json";
|
|
import { markdownify } from "@/lib/utils/textConverter";
|
|
|
|
const { footer }: { footer: { name: string; url: string }[] } = menu;
|
|
---
|
|
|
|
<footer class="bg-light dark:bg-darkmode-light">
|
|
<div class="container">
|
|
<div class="row items-center py-10">
|
|
<div class="mb-8 text-center lg:col-3 lg:mb-0 lg:text-left">
|
|
<Logo />
|
|
</div>
|
|
<div class="mb-8 text-center lg:col-6 lg:mb-0">
|
|
<ul>
|
|
{
|
|
footer.map((menu) => (
|
|
<li class="m-3 inline-block">
|
|
<a href={menu.url}>{menu.name}</a>
|
|
</li>
|
|
))
|
|
}
|
|
</ul>
|
|
</div>
|
|
<div class="mb-8 text-center lg:col-3 lg:mb-0 lg:mt-0 lg:text-right">
|
|
<Social source={social.main} className="social-icons" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="border-t border-border py-7 dark:border-darkmode-border">
|
|
<div
|
|
class="container text-center text-text-light dark:text-darkmode-text-light"
|
|
>
|
|
<p set:html={markdownify(config.params.copyright)} />
|
|
</div>
|
|
</div>
|
|
</footer>
|