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
|
||||
|
||||
import '../styles/homepage.css';
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="container">
|
||||
<main>
|
||||
<h1 className="title">aleksa.sh</h1>
|
||||
<p className="subTitle">coming soon</p>
|
||||
</main>
|
||||
<h1 className="title consoleFont">aleksa.sh</h1>
|
||||
<p className="subTitle consoleFont">coming soon.</p>
|
||||
<a className="gitButton consoleFont" href="https://git.aleksa.sh">
|
||||
> my git
|
||||
</a>
|
||||
<footer></footer>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
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