mirror of
https://git.aramjonghu.dev/AramJonghu/aramjonghu-site.git
synced 2026-09-05 07:13:31 +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 {
|
||||
const [activeTab, setActiveTab] = useState<string>("projects");
|
||||
const [activeTab, setActiveTab] = useState<string>("about");
|
||||
|
||||
const sections: Section[] = [
|
||||
{
|
||||
id: "about",
|
||||
title: "About",
|
||||
content: (
|
||||
<>
|
||||
<About />
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
id: "projects",
|
||||
title: "Projects",
|
||||
@@ -27,15 +36,6 @@ export default function Home(): ReactElement {
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
id: "about",
|
||||
title: "About",
|
||||
content: (
|
||||
<>
|
||||
<About />
|
||||
</>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user