Files
lixiyu-net/pages/friends.tsx

43 lines
1.6 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";
2023-12-29 20:07:19 +08:00
import { fontFangZhengXiaoBiaoSongCN, fontSourceSerifScreenCN } from "@/styles/font";
2023-12-25 17:21:39 +08:00
import { nanoid } from "nanoid";
import Link from "next/link";
export default function FriendsPage() {
return (
<Page>
<SEO title={`${Config.SiteTitle} - Friends`} description={"My Friend Links"} />
<NavBar />
2023-12-25 17:21:39 +08:00
<ContentContainer>
2024-01-06 14:06:49 +08:00
<h2 className={`my-10 flex justify-center text-2xl font-bold ${fontFangZhengXiaoBiaoSongCN.className}`}>
{"FRIENDS"}
</h2>
2024-01-06 20:53:18 +08:00
<Separator />
2023-12-29 20:07:19 +08:00
<div className={`my-5 py-3 flex flex-wrap justify-center text-2xl ${fontSourceSerifScreenCN.className}`}>
2023-12-25 17:21:39 +08:00
{FriendsList.map((item) => (
<Link className="mx-3 p-2 underline" href={item.url} key={nanoid()}>
{item.title}
</Link>
))}
</div>
2024-01-06 20:53:18 +08:00
<Separator />
<div className="my-3 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>
);
}