added project pages, updated page for FAM.
This commit is contained in:
54
app/profile/layout.tsx
Normal file
54
app/profile/layout.tsx
Normal file
@@ -0,0 +1,54 @@
|
||||
"use client";
|
||||
|
||||
|
||||
import Nav from "@/components/Nav";
|
||||
|
||||
import Footer from "@/components/Footer";
|
||||
export default function Layout({children}: {
|
||||
children: React.ReactNode;
|
||||
params: Promise<{ id: string }>;
|
||||
}) {
|
||||
|
||||
|
||||
return (
|
||||
<div style={{ minHeight: "100vh", paddingBottom: 36 }}>
|
||||
<div
|
||||
style={{
|
||||
maxWidth: 880,
|
||||
margin: "0 auto",
|
||||
padding: "0 24px",
|
||||
transition: "all 0.5s cubic-bezier(0.16, 1, 0.3, 1)",
|
||||
}}
|
||||
>
|
||||
<header
|
||||
style={{
|
||||
padding: "24px 0 0",
|
||||
display: "flex",
|
||||
justifyContent: "space-between",
|
||||
alignItems: "center",
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
fontFamily: "var(--mono)",
|
||||
fontSize: 14,
|
||||
fontWeight: 700,
|
||||
color: "var(--accent)",
|
||||
letterSpacing: "-0.02em",
|
||||
}}
|
||||
>
|
||||
</div>
|
||||
|
||||
</header>
|
||||
|
||||
<Nav section={"profile"} />
|
||||
|
||||
<main>
|
||||
{children}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
12
app/profile/page.tsx
Normal file
12
app/profile/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import Profile from "@/components/Profile";
|
||||
export default function ProfilePage() {
|
||||
return (
|
||||
|
||||
<main>
|
||||
<Profile />
|
||||
</main>
|
||||
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user