Files
lixiyu-net/pages/friends.tsx

40 lines
1.4 KiB
TypeScript
Raw Normal View History

import { ContentContainer, Page } from "@/components/layouts";
2024-01-06 20:53:18 +08:00
import { Separator } from "@/components/ui/separator";
2023-12-25 17:21:39 +08:00
import { Footer } from "@/components/utils/Footer";
import { NavBar } from "@/components/utils/NavBar";
import { SEO } from "@/components/utils/SEO";
import { Config } from "@/data/config";
import { FriendsList } from "@/data/friends";
import { nanoid } from "nanoid";
import Link from "next/link";
export default function FriendsPage() {
return (
<Page>
2024-04-03 22:08:27 +08:00
<SEO description={"My Friend Links"} title={`${Config.SiteTitle} - Friends`} />
<NavBar />
2023-12-25 17:21:39 +08:00
<ContentContainer>
2024-08-12 13:39:19 +08:00
<h2 className={`my-5 flex justify-center text-2xl font-bold caption-font`}>{"FRIENDS"}</h2>
2024-01-06 20:53:18 +08:00
<Separator />
2024-08-12 13:39:19 +08:00
<div className={`my-5 flex flex-wrap justify-center text-2xl content-font`}>
2023-12-25 17:21:39 +08:00
{FriendsList.map((item) => (
<Link className="mx-2 p-2 underline" href={item.url} key={nanoid()}>
2023-12-25 17:21:39 +08:00
{item.title}
</Link>
))}
</div>
2024-01-06 20:53:18 +08:00
<Separator />
<div className="my-2 text-base flex-col flex justify-start">
2023-12-25 17:21:39 +08:00
<div className="mx-auto">
{"Welcome to exchange our friend links and every high-quality blog websites are welcomed. "}
<Link className="underline" href={`mailto:${Config.SocialLinks.email}`}>
{"Email me please"}
</Link>
</div>
</div>
</ContentContainer>
<Footer />
</Page>
);
}