@@ -46,18 +46,18 @@ function Home() {
46
46
const navShake = [ useState ( false ) , useState ( false ) , useState ( false ) ] ;
47
47
48
48
return (
49
- < div className = "md:w -screen md:h -screen px-[4%] 2xl:px-[8%] py-8 " >
50
- < header className = "grid header-grid gap-x-8 gap-y-6" >
49
+ < div className = "px-[4%] py-8 md:h -screen md:w -screen 2xl:px-[8%]" >
50
+ < header className = "header-grid grid gap-x-8 gap-y-6" >
51
51
{ /* Branding */ }
52
52
< h1
53
53
// justify-self-center for centering the top horizontal NEPLOX text to the width of the logo,
54
54
// which is bigger horizontally than it is vertically
55
- className = "row-start-1 col-start-2 text-theme text-brand font-horizon justify-self-center leading-none"
55
+ className = "text-brand col-start-2 row-start-1 justify-self-center font-horizon leading-none text-theme "
56
56
>
57
57
NEPLOX
58
58
</ h1 >
59
59
< h1
60
- className = "row-start-2 col-start-1 text-theme text-brand font-horizon-outlined tracking-tighter leading-none "
60
+ className = "text-brand col-start-1 row-start-2 font-horizon-outlined leading-none tracking-tighter text-theme "
61
61
style = { {
62
62
writingMode : "vertical-lr" ,
63
63
WebkitTextStrokeWidth : "0.025em" ,
@@ -67,37 +67,37 @@ function Home() {
67
67
</ h1 >
68
68
< Image
69
69
// Extend vertically to the height of the sideways NEPLOX text, and automatically scale horizontally with the aspect ratio
70
- className = "row -start-2 col -start-2 lg:h-full max-w-60 md:max-w-full w-auto mx-auto select-none "
70
+ className = "col -start-2 row -start-2 mx-auto w-auto max-w-60 select-none md:max-w-full lg:h-full "
71
71
src = "/icons/neplox.svg"
72
72
alt = "Neplox Logo"
73
73
width = { 4122 }
74
74
height = { 3501 }
75
75
/>
76
76
77
77
{ /* Signature */ }
78
- < div className = "row-start-3 col-start-1 -col-end-1 md:col-start-2 md:col-end-auto" >
79
- < h3 className = "font-sans font-light text-center lg:text-lg h-full w-0 min-w-full max-w-0" >
80
- < span className = "align-baseline hyphens-manual" >
78
+ < div className = "col-start-1 -col-end-1 row-start-3 md:col-start-2 md:col-end-auto" >
79
+ < h3 className = "h-full w-0 min-w-full max-w-0 text-center font-sans font-light lg:text-lg " >
80
+ < span className = "hyphens-manual align-baseline " >
81
81
EST. 2024 BY CYBER­SECURITY RESEARCHERS
82
82
</ span >
83
83
</ h3 >
84
84
</ div >
85
85
86
86
{ /* Nav */ }
87
- < div className = "row-start-4 col-start-1 -col-end-1 md: row-start-1 md:col-start-3 md:col-end-auto my-3 md:my-0" >
88
- < nav className = "max-w-lg h-full flex gap-x-4 justify-between mx-auto " >
87
+ < div className = "col-start-1 -col-end-1 row-start-4 my-3 md:col-start-3 md:col-end-auto md:row-start-1 md:my-0" >
88
+ < nav className = "mx-auto flex h-full max-w-lg justify-between gap-x-4 " >
89
89
{ nav . map ( ( text , index ) => (
90
90
< button
91
91
key = { text }
92
92
className = { `${ canHover ? "hover:animate-shake" : "" } ${
93
- navShake [ index ] [ 0 ] ? "animate-shake text-shadow" : ""
94
- } font-sans font-normal text-xl text-nav lg:text-xl xl:text-2xl whitespace-nowrap cursor-not-allowed `}
93
+ navShake [ index ] [ 0 ] ? "text-shadow animate-shake " : ""
94
+ } text-nav cursor-not-allowed whitespace-nowrap font-sans text-xl font-normal lg:text-xl xl:text-2xl`}
95
95
// Avoid conflicting with the hover animation
96
96
onClick = { ( ) => ! canHover && navShake [ index ] [ 1 ] ( true ) }
97
97
onAnimationEnd = { ( ) => navShake [ index ] [ 1 ] ( false ) }
98
98
>
99
99
< span className = "font-light" > { "[" } </ span >
100
- < BiSolidLock className = "inline align-baseline mr-1 pt-1" />
100
+ < BiSolidLock className = "mr-1 inline pt-1 align-baseline " />
101
101
{ text . toUpperCase ( ) }
102
102
< span className = "font-light" > { " ]" } </ span >
103
103
</ button >
@@ -106,8 +106,8 @@ function Home() {
106
106
</ div >
107
107
108
108
{ /* About */ }
109
- < div className = "row-start-5 col-start-1 -col-end-1 md: row-start-2 md:col-start-3 md:-col-end-1 min-h-0 flex flex -col justify-evenly gap-y-6 items-center " >
110
- < p className = "font-normal font-serif lg:text-lg xl:text-xl text-justify leading-relaxed max-w-lg " >
109
+ < div className = "col-start-1 -col-end-1 row-start-5 flex min-h-0 flex-col items-center justify-evenly gap-y-6 md:col-start-3 md:-col-end-1 md:row-start-2 " >
110
+ < p className = "max-w-lg text-justify font-serif font-normal leading-relaxed lg:text-lg xl:text-xl" >
111
111
Formed by like-minded, top-tier{ " " }
112
112
< b className = "theme-highlight" >
113
113
 security researchers 
@@ -119,7 +119,7 @@ function Home() {
119
119
< b className = "theme-highlight" >  secure </ b > modern
120
120
systems.
121
121
</ p >
122
- < p className = "font-normal font-serif lg:text-lg xl:text-xl text-justify leading-relaxed max-w-lg " >
122
+ < p className = "max-w-lg text-justify font-serif font-normal leading-relaxed lg:text-lg xl:text-xl" >
123
123
From international CTF winners to hardened reverse engineers and bug
124
124
bounty hunters, our unique skillsets come together to offer a{ " " }
125
125
< b className = "theme-highlight" >  fresh perspective </ b > { " " }
@@ -129,13 +129,13 @@ function Home() {
129
129
</ div >
130
130
131
131
{ /* Socials */ }
132
- < div className = "row-start-2 col-start-3 md: row-start-3 md:col-start-3 md:col-end-auto lg :row-start-2 lg:col-start-4 flex flex-col md:flex- row lg:flex-col justify-evenly lg:justify-around items-center " >
132
+ < div className = "col-start-3 row-start-2 flex flex-col items-center justify-evenly md:col-start-3 md:col-end-auto md :row-start-3 md:flex-row lg:col-start-4 lg: row-start-2 lg:flex-col lg:justify-around" >
133
133
{ socials . map ( ( social ) => (
134
134
< a
135
135
key = { social . href }
136
136
href = { social . href }
137
137
// w-8 here is important, it is equal to 2rem, which is also set as the font-size of the sideways NEPLOX text
138
- className = "inline-block w-8 xl:w-12 h-auto hover:scale-125 transition-transform duration-300 "
138
+ className = "inline-block h-auto w-8 transition-transform duration-300 hover:scale-125 xl:w-12 "
139
139
>
140
140
< Image
141
141
src = { social . src }
0 commit comments