Skip to content

Commit a0d0b08

Browse files
committed
(v0.1.4-alpha) Update Landing Page
Im like 40% sure where I'm heading with this 😭 Anyways I added a big ahh heading and a small heading below. Added a blinking cursor
1 parent fd36a16 commit a0d0b08

File tree

4 files changed

+25
-16
lines changed

4 files changed

+25
-16
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
## TODOS:
33

4-
- [ ] Fix logo and make it PERFECT
4+
- [ ] Fix logo and make it PERFECT.
5+
- [ ] When the user presses enter it may remove all the text (typewriter) and then do something.
56

67
## CHANGELOGS:

src/routes/landing.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
import "../styles/routes/landing.css";
22

33
function Landing() {
4+
45
return (
56
<>
67
<div className={"landing"}>
7-
<h1>$ C1PH<span className={"sigma-font"}>Σ</span>R_</h1>
8+
<h1>C1PH<span className={"sigma-font"}>Σ</span>R</h1>
9+
<h2>
10+
press ENTER to continue
11+
<span className={"cursor"}></span>
12+
</h2>
813
</div>
914
</>
1015
)

src/styles/fonts.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
2+
13
@font-face {
24
font-family: 'CookWidetype';
35
src: local('CookWidetype'),

src/styles/routes/landing.css

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,25 @@
66
display: flex;
77
align-items: center;
88
justify-content: center;
9-
}
10-
11-
.terminal {
12-
display: flex;
139
flex-direction: column;
10+
}
1411

15-
height: 60%;
16-
width: 60%;
12+
.landing h1 {
13+
font-size: 7rem;
14+
margin: -1.75rem;
15+
}
1716

18-
background-color: rgba(0, 0, 0, 0.5);
19-
border-radius: 0.5rem;
17+
.landing h2 {
18+
font-family: "Space Mono", monospace;
19+
font-size: 1.3rem;
20+
font-weight: 400;
2021
}
2122

22-
.terminal .titlebar {
23-
display: flex;
24-
height: 2.5rem;
25-
width: 100%;
23+
.landing .cursor {
24+
animation: blink 1.5s infinite;
25+
}
2626

27-
background-color: var(--clr-surface-a10);
28-
border-radius: 0.5rem 0.5rem 0 0;
27+
@keyframes blink {
28+
0%,50%,100% { opacity: 1; }
29+
25%,75% { opacity: 0; }
2930
}

0 commit comments

Comments
 (0)