mirror of
https://git.aramjonghu.nl/AramJonghu/aramjonghu-site.git
synced 2026-06-07 21:58:25 +02:00
Prettier through whole project. Updated home page to include
introduction. Includes container for projects, systems, and about section with animation.
This commit is contained in:
@@ -9,7 +9,7 @@ export default function Header({ theme }) {
|
||||
{ label: "Forgejo Git", url: "https://git.aramjonghu.nl" },
|
||||
{ label: "Stream", url: "https://stream.aramjonghu.nl" },
|
||||
{ label: "SearXNG", url: "https://xng.aramjonghu.nl" },
|
||||
{ label: "zach-dev gitea", url: "https://git.zach-dev.cc"}
|
||||
{ label: "Gitea zach-dev", url: "https://git.zach-dev.cc" },
|
||||
];
|
||||
|
||||
const goHome = () => {
|
||||
@@ -30,7 +30,7 @@ export default function Header({ theme }) {
|
||||
<a
|
||||
key={item.label}
|
||||
href={item.url}
|
||||
className="text-ctp-text hover:text-ctp-green-900 border rounded border-ctp-white-800 hover:border-ctp-green-900 cursor-pointer px-3 py-1 transition-colors"
|
||||
className="ui-btn ui-btn:hover"
|
||||
>
|
||||
{item.label}
|
||||
</a>
|
||||
@@ -38,10 +38,7 @@ export default function Header({ theme }) {
|
||||
</nav>
|
||||
|
||||
<div>
|
||||
<button
|
||||
className="text-ctp-text hover:text-ctp-green-900 border rounded border-ctp-white-800 hover:border-ctp-green-900 cursor-pointer px-3 py-1"
|
||||
onClick={toggleTheme}
|
||||
>
|
||||
<button className="ui-btn ui-btn:hover" onClick={toggleTheme}>
|
||||
{currentTheme === "macchiato" ? "🌙 Dark" : "☀️ Light"}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@ export default function Layout({ children }) {
|
||||
const theme = useTheme();
|
||||
|
||||
return (
|
||||
<div className="flex flex-col w-screen min-h-screen bg-ctp-base">
|
||||
<div className="flex flex-col min-h-screen bg-ctp-base">
|
||||
<Header theme={theme} />
|
||||
<main className="flex-1">{children}</main>
|
||||
<Footer />
|
||||
|
||||
Reference in New Issue
Block a user