Skip to content

Commit d51bf30

Browse files
committed
deps: bump next, fix npm audit issues
1 parent 0f7e197 commit d51bf30

File tree

5 files changed

+769
-180
lines changed

5 files changed

+769
-180
lines changed

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["prettier-plugin-tailwindcss"]
3+
}

app/page.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ function Home() {
4646
const navShake = [useState(false), useState(false), useState(false)];
4747

4848
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">
5151
{/* Branding */}
5252
<h1
5353
// justify-self-center for centering the top horizontal NEPLOX text to the width of the logo,
5454
// 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"
5656
>
5757
NEPLOX
5858
</h1>
5959
<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"
6161
style={{
6262
writingMode: "vertical-lr",
6363
WebkitTextStrokeWidth: "0.025em",
@@ -67,37 +67,37 @@ function Home() {
6767
</h1>
6868
<Image
6969
// 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"
7171
src="/icons/neplox.svg"
7272
alt="Neplox Logo"
7373
width={4122}
7474
height={3501}
7575
/>
7676

7777
{/* 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">
8181
EST. 2024 BY CYBER&shy;SECURITY RESEARCHERS
8282
</span>
8383
</h3>
8484
</div>
8585

8686
{/* 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">
8989
{nav.map((text, index) => (
9090
<button
9191
key={text}
9292
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`}
9595
// Avoid conflicting with the hover animation
9696
onClick={() => !canHover && navShake[index][1](true)}
9797
onAnimationEnd={() => navShake[index][1](false)}
9898
>
9999
<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" />
101101
{text.toUpperCase()}
102102
<span className="font-light">{" ]"}</span>
103103
</button>
@@ -106,8 +106,8 @@ function Home() {
106106
</div>
107107

108108
{/* 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">
111111
Formed by like-minded, top-tier{" "}
112112
<b className="theme-highlight">
113113
&thinsp;security researchers&thinsp;
@@ -119,7 +119,7 @@ function Home() {
119119
<b className="theme-highlight">&thinsp;secure&thinsp;</b> modern
120120
systems.
121121
</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">
123123
From international CTF winners to hardened reverse engineers and bug
124124
bounty hunters, our unique skillsets come together to offer a{" "}
125125
<b className="theme-highlight">&thinsp;fresh perspective&thinsp;</b>{" "}
@@ -129,13 +129,13 @@ function Home() {
129129
</div>
130130

131131
{/* 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">
133133
{socials.map((social) => (
134134
<a
135135
key={social.href}
136136
href={social.href}
137137
// 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"
139139
>
140140
<Image
141141
src={social.src}

0 commit comments

Comments
 (0)