From 1e443c6b4396f7beee8570796ddf4793ab6d88c5 Mon Sep 17 00:00:00 2001 From: aleksa Date: Thu, 17 Apr 2025 03:33:29 +0200 Subject: [PATCH] feat(homepage): add git button and split css styles --- src/app/page.tsx | 11 +++++++---- src/styles/globals.css | 15 +-------------- src/styles/homepage.css | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 18 deletions(-) create mode 100644 src/styles/homepage.css diff --git a/src/app/page.tsx b/src/app/page.tsx index 570b2eb..c13373c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,12 +1,15 @@ 'use client'; //mark as client app +import '../styles/homepage.css'; + export default function Home() { return (
-
-

aleksa.sh

-

coming soon

-
+

aleksa.sh

+

coming soon.

+ + > my git +
); diff --git a/src/styles/globals.css b/src/styles/globals.css index 5a81ca2..06cf1dc 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -24,18 +24,5 @@ body { .container { display: flex; flex-direction: column; -} - -.title { - font-size: 2rem; - margin: 0; - padding-bottom: 0.5rem; - font-family: 'Courier New', Courier, monospace; -} - -.subTitle { - font-size: 1.3rem; - margin: 0; - color: gray; - font-family: 'Courier New', Courier, monospace; + gap: 1.1rem; } diff --git a/src/styles/homepage.css b/src/styles/homepage.css new file mode 100644 index 0000000..a0f9c01 --- /dev/null +++ b/src/styles/homepage.css @@ -0,0 +1,34 @@ +h1, +p { + margin: 0; +} + +.consoleFont { + font-family: 'Courier New', Courier, monospace; +} + +.title { + font-size: 2rem; +} + +.subTitle { + font-size: 1.3rem; + color: gray; +} + +.gitButton { + font-size: 1.2rem; + padding: 0.75rem 1.5rem; + border: 2px solid var(--foreground); + background-color: transparent; + color: var(--foreground); + text-decoration: none; + transition: all 0.1s ease; + border-radius: 8px; + cursor: pointer; +} + +.gitButton:hover { + background-color: var(--foreground); + color: var(--background); +}