feat(about): add team member profile page

This commit introduces a new section to showcase team members, starting with the founder's profile.

- Adds a dynamic page route `/about/` to display individual member profiles.
- Creates a new `about` content collection to source profile information from Markdown files.
- Adds the first profile for 'Xiaomai', including a detailed resume and background image.
- Integrates a 'Teams' dropdown into the main navigation header.
- Implements a `copyToClipboard` utility with a toast notification for sharing profile links.
This commit is contained in:
2025-11-08 13:40:23 +08:00
parent fb67355a15
commit f9e02372b2
10 changed files with 254 additions and 61 deletions

13
app/utils/clipboard.ts Normal file
View File

@@ -0,0 +1,13 @@
export function copyToClipboard(
toCopy: string,
message: string = "Copied to clipboard"
) {
const toast = useToast();
navigator.clipboard.writeText(toCopy).then(() => {
toast.add({
title: message,
color: "success",
icon: "i-lucide-check-circle",
});
});
}