Skip to content

Commit 32218f2

Browse files
committed
(v0.5.0-alpha) Animations!
Added small micro-interactions and animations to the whole site! It feels alive (kinda) now-
1 parent e64a7b4 commit 32218f2

3 files changed

Lines changed: 42 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ A YSWS concept stressing on Cybersecurity & Cryptography!
33

44
**CIPHER**
55

6-
YS: A techy app/game focused on cryptography, security, puzzles, CTFs and other techy stuff that ill think later (Cybersecurity related)
6+
~~YS: A techy app/game focused on cryptography, security, puzzles, CTFs and other techy stuff that ill think later (Cybersecurity related)~~
7+
YS: An app, game or site with one specific vulnerability AND another version where you fixed it.
78
WS: yubikeys, hackduckys, Laptops, wifi modules, etc
89

10+
There'll be bounty's for finding the vulnerability.
11+
912
PS: There'll be some vulnerable sites (that ill make) and the first person to crack those gets bonus prizes

src/routes/landing.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ function Landing() {
8484
<div className={"body"}>
8585
<p>anon@hackclub ~ % ./start --journey</p>
8686
<p>OBJECTIVE: <span className={"accent"}>BUILD. BREAK. SECURE.</span><br/>
87-
REWARD SYSTEM: <span className={"info"}>BYTES ENABLED</span><br/>
88-
STATUS: <span className={"success"}>READY</span>
87+
REWARD SYSTEM: <span className={"info"}>BYTES</span><br/>
88+
STATUS: <span className={"success"}>BUILDING</span>
8989
<span className={"cursor"}><b>_</b></span>
9090
</p>
9191
</div>

src/styles/routes/landing.css

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
width: 100%;
66
height: 100vh;
77

8-
max-height: 45rem;
8+
max-height: 47rem;
99

1010
display: flex;
1111
flex-direction: column;
1212
}
1313

1414
.landing .hero {
1515
margin-top: 6rem;
16-
height: calc(100vh - 6rem);
16+
height: calc(100vh - 4rem);
1717
width: 100%;
1818

1919
flex: 1;
@@ -128,7 +128,12 @@
128128

129129
/*border: 2px solid color-mix(in srgb, var(--clr-primary-a30) 20%, transparent);*/
130130

131-
box-shadow: 0 0 2rem 0 var(--clr-surface-a0);
131+
box-shadow: 0 0 4rem 1rem var(--clr-surface-a0);
132+
transition: 0.3s all ease-in-out;
133+
}
134+
.landing .hero .terminal:hover {
135+
/*translate: 0 -1rem;*/
136+
margin-top: 2.5rem;
132137
}
133138

134139
.landing .hero .terminal .titlebar {
@@ -321,15 +326,29 @@
321326
border-radius: 1rem;
322327

323328
/*box-shadow: 0 0 6rem -3rem var(--clr-primary-a30);*/
329+
transition: all 0.3s ease-in-out;
324330
}
325331
.ysws .cards .card.ys {
326332
rotate: -5deg;
333+
/*margin-left: 2rem;*/
334+
/*box-shadow: 0 0 2rem 0 var(--clr-surface-a0);*/
335+
}
336+
.ysws .cards .card.ys:hover {
337+
rotate: -7deg;
327338
/*margin-right: 1rem;*/
339+
scale: 1.05;
328340
}
329341
.ysws .cards .card.ws {
330342
rotate: 5deg;
331343
margin-top: 5rem;
332-
/*margin-left: 1rem;*/
344+
/*margin-right: 2rem;*/
345+
346+
box-shadow: 0 0 1rem 0 var(--clr-surface-a0);
347+
}
348+
.ysws .cards .card.ws:hover {
349+
rotate: 7deg;
350+
scale: 1.05;
351+
/*margin-right: 1rem;*/
333352
}
334353

335354
.ysws .cards .card .header {
@@ -399,7 +418,11 @@
399418
height: 4rem;
400419
width: 9rem;
401420

402-
transform: scaleY(-1) rotate(-15deg);
421+
transform: scaleY(-1) rotate(-10deg);
422+
transition: transform 0.3s ease-in-out;
423+
}
424+
.arrow:hover {
425+
transform: scaleY(-1) rotate(-25deg);
403426
}
404427

405428

@@ -467,6 +490,14 @@
467490
border: 2px solid var(--clr-surface-a10);
468491

469492
/*box-shadow: 0 0 6rem -3rem var(--clr-primary-a30);*/
493+
box-shadow: 0 0 2rem 0 var(--clr-surface-a0);
494+
495+
transition: 0.3s all ease-in-out;
496+
}
497+
.community .container .terminal:hover {
498+
scale: 1.05;
499+
/*translate: 0 0 3deg;*/
500+
rotate: 3deg;
470501
}
471502

472503
.community .container .terminal .titlebar {

0 commit comments

Comments
 (0)