mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-10 08:43:30 +02:00
feat(default): default page changed to about page
This commit is contained in:
+10
-10
@@ -10,9 +10,18 @@ interface Section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default function Home(): ReactElement {
|
export default function Home(): ReactElement {
|
||||||
const [activeTab, setActiveTab] = useState<string>("projects");
|
const [activeTab, setActiveTab] = useState<string>("about");
|
||||||
|
|
||||||
const sections: Section[] = [
|
const sections: Section[] = [
|
||||||
|
{
|
||||||
|
id: "about",
|
||||||
|
title: "About",
|
||||||
|
content: (
|
||||||
|
<>
|
||||||
|
<About />
|
||||||
|
</>
|
||||||
|
),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "projects",
|
id: "projects",
|
||||||
title: "Projects",
|
title: "Projects",
|
||||||
@@ -27,15 +36,6 @@ export default function Home(): ReactElement {
|
|||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: "about",
|
|
||||||
title: "About",
|
|
||||||
content: (
|
|
||||||
<>
|
|
||||||
<About />
|
|
||||||
</>
|
|
||||||
),
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user