feat(homepage): add git button and split css styles
This commit is contained in:
parent
a9b8e7bc9e
commit
1e443c6b43
3 changed files with 42 additions and 18 deletions
|
|
@ -1,12 +1,15 @@
|
||||||
'use client'; //mark as client app
|
'use client'; //mark as client app
|
||||||
|
|
||||||
|
import '../styles/homepage.css';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<main>
|
<h1 className="title consoleFont">aleksa.sh</h1>
|
||||||
<h1 className="title">aleksa.sh</h1>
|
<p className="subTitle consoleFont">coming soon.</p>
|
||||||
<p className="subTitle">coming soon</p>
|
<a className="gitButton consoleFont" href="https://git.aleksa.sh">
|
||||||
</main>
|
> my git
|
||||||
|
</a>
|
||||||
<footer></footer>
|
<footer></footer>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -24,18 +24,5 @@ body {
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
gap: 1.1rem;
|
||||||
|
|
||||||
.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;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
34
src/styles/homepage.css
Normal file
34
src/styles/homepage.css
Normal file
|
|
@ -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);
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue