Skip to content

Commit b96cd25

Browse files
committed
Remove redundant info on home page
1 parent efe4593 commit b96cd25

File tree

7 files changed

+7
-245
lines changed

7 files changed

+7
-245
lines changed

app/(home)/Header.tsx

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import Timer from '@/app/(home)/Timer';
21
import { BsChevronCompactDown } from 'react-icons/bs';
32
import { getConfig } from '@/util/config';
43

@@ -10,24 +9,16 @@ export default async function Header() {
109
<header className="container flex flex-col items-center justify-center h-screen">
1110
<img
1211
src="/assets/logo-uwu.png"
13-
className="-mb-7 max-h-96"
14-
/>
15-
<Timer
16-
startTime={config.data.startTime}
17-
endTime={config.data.endTime}
12+
className="max-h-96"
1813
/>
1914
<p className="mb-2 max-w-3xl text-center text-pretty">
20-
b01lers CTF is the public competitive CTF hosted by the b01lers CTF team at Purdue University.
21-
Join our discord at <a href="https://discord.gg/tBMqujE" target="_blank" rel="noopener noreferrer" className="text-theme-bright hover:underline">discord.gg/tBMqujE</a>{' '}
22-
and look out for further info soon!
15+
Welcome to b01lers internal CTF! B01lers internal CTF is both a training camp to sharpen your CTF
16+
skills, and a look at past b01lers CTF challenges. Check out the{' '}
17+
<a href="https://discord.gg/tBMqujE" target="_blank" rel="noopener noreferrer" className="text-theme-bright hover:underline">Discord</a>{' '}
18+
and enjoy!
2319
</p>
24-
<div className="flex divide-x divide-primary text-sm">
25-
<a href="#rules" className="px-4 py-2 uppercase hover:underline">Rules</a>
26-
<a href="#prizes" className="px-4 py-2 uppercase hover:underline">Prizes</a>
27-
<a href="#sponsors" className="px-4 py-2 uppercase hover:underline">Sponsors</a>
28-
</div>
2920

30-
<a href="#rules" className="text-inherit text-4xl mt-6 sm:mt-12 sm:mb-8 text-primary">
21+
<a href="#rules" className="text-inherit text-4xl mt-6 sm:mb-8 text-primary">
3122
<BsChevronCompactDown className="animate-bounce" />
3223
<span className="sr-only">Jump to Rules</span>
3324
</a>

app/(home)/Prizes.tsx

Lines changed: 0 additions & 62 deletions
This file was deleted.

app/(home)/Rules.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,11 @@ export default function Rules() {
77
<SectionHeader id="rules">
88
Rules
99
</SectionHeader>
10-
<ol className="list-decimal list-outside pl-6 space-y-2 mb-16">
10+
<ol className="list-decimal list-outside pl-6 space-y-2">
1111
<li>
1212
During the competition, each person may only be a part of one team total, and only members of a
1313
given team may assist in solving a challenge for that team.
1414
</li>
15-
<li>
16-
Each team must have a valid email address that should serve as the point of contact.
17-
</li>
18-
<li>
19-
For the <strong>Open</strong> division: there is no limit on team size, and teams can be from
20-
anywhere.
21-
</li>
22-
<li>
23-
For the <strong>Purdue</strong> division: teams must be composed of current Purdue students to be
24-
eligible for prizes, and there is a maximum team size of 4. Sign up with a @purdue.edu email to
25-
gain access to the Purdue division.
26-
</li>
2715
<li>
2816
Flags are of the format{' '}
2917
<code className="bg-black/40 px-2 py-1 text-primary rounded">{'bctf{[ -~]+}'}</code>{' '}

app/(home)/Sponsor.tsx

Lines changed: 0 additions & 32 deletions
This file was deleted.

app/(home)/Sponsors.tsx

Lines changed: 0 additions & 54 deletions
This file was deleted.

app/(home)/Timer.tsx

Lines changed: 0 additions & 64 deletions
This file was deleted.

app/(home)/page.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import Header from '@/app/(home)/Header';
2-
import Sponsors from '@/app/(home)/Sponsors';
32
import Rules from '@/app/(home)/Rules';
4-
import Prizes from '@/app/(home)/Prizes';
53

64

75
export default async function Home() {
@@ -12,11 +10,8 @@ export default async function Home() {
1210
<div className="bg-black/40 py-16 mb-12 backdrop-blur-sm border-t border-tertiary">
1311
<div className="px-6 sm:container">
1412
<Rules />
15-
<Prizes />
1613
</div>
1714
</div>
18-
19-
<Sponsors />
2015
</main>
2116
)
2217
}

0 commit comments

Comments
 (0)