Skip to content

Commit 09bbcc3

Browse files
2 parents 00f800a + 2ed185f commit 09bbcc3

File tree

80 files changed

+1297
-1144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1297
-1144
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: npm install
3232
- name: Run Prettier Check
33-
run: npx prettier --check .
33+
run: npx prettier --check ./src
3434
typescript-run-push:
3535
name: Setup TypeScript on Main Push
3636
runs-on: ubuntu-latest

package-lock.json

Lines changed: 231 additions & 300 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/about/about.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.aboutPage {
32
width: 100%;
43
overflow-x: hidden;

src/app/api/people/route.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,31 +67,35 @@ function generateFakeData(): Speaker[] {
6767
fullName: 'Danny Thompson',
6868
xUrl: 'https://x.com/DThompsonDev',
6969
linkedInUrl: 'https://www.linkedin.com/in/dthompsondev/',
70-
imageUrl: 'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Danny_Thompson.png',
70+
imageUrl:
71+
'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Danny_Thompson.png',
7172
},
7273
{
7374
documentId: '2',
7475
isAdmin: true,
7576
fullName: 'Dennis Garcia',
7677
xUrl: 'https://x.com/dgarcia_appdev',
7778
linkedInUrl: 'https://www.linkedin.com/in/dgarcia-appdev/',
78-
imageUrl: 'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Dennis_Garcia.jpg',
79+
imageUrl:
80+
'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Dennis_Garcia.jpg',
7981
},
8082
{
8183
documentId: '3',
8284
isAdmin: true,
8385
fullName: 'Clint Myers',
8486
xUrl: null,
8587
linkedInUrl: 'https://www.linkedin.com/in/clintmyers/',
86-
imageUrl: 'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Clint_Myers.jpg',
88+
imageUrl:
89+
'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Clint_Myers.jpg',
8790
},
8891
{
8992
documentId: '4',
9093
isAdmin: true,
9194
fullName: 'Erik Andersen',
9295
xUrl: null,
9396
linkedInUrl: 'https://www.linkedin.com/in/ebandersen/',
94-
imageUrl: 'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Erik_Andersen.jpg',
97+
imageUrl:
98+
'https://vpgsxqtnqt8tekgb.public.blob.vercel-storage.com/dsd-assets/people/Erik_Andersen.jpg',
9599
},
96100
...fakeData,
97101
];

src/app/cohorts/cohorts.module.css

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@
12491249
.timelineMarker {
12501250
position: absolute;
12511251
left: -var(--spacing-12);
1252-
top: -20px;
1252+
top: -20px;
12531253
width: 80px;
12541254
height: 40px;
12551255
background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
@@ -1562,11 +1562,7 @@
15621562
font-weight: var(--font-weight-bold);
15631563
color: hsl(var(--primary));
15641564
margin-bottom: var(--spacing-2);
1565-
background: linear-gradient(
1566-
135deg,
1567-
hsl(var(--primary)),
1568-
hsl(var(--accent))
1569-
);
1565+
background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
15701566
-webkit-background-clip: text;
15711567
-webkit-text-fill-color: transparent;
15721568
background-clip: text;
@@ -1669,12 +1665,12 @@
16691665
scroll-snap-type: x mandatory;
16701666
gap: var(--spacing-8);
16711667
padding: var(--spacing-4) var(--spacing-2);
1672-
-ms-overflow-style: none;
1673-
scrollbar-width: none;
1668+
-ms-overflow-style: none;
1669+
scrollbar-width: none;
16741670
}
16751671

16761672
.testimonialsCarousel::-webkit-scrollbar {
1677-
display: none;
1673+
display: none;
16781674
}
16791675

16801676
.testimonialCard {
@@ -2459,7 +2455,6 @@
24592455
}
24602456

24612457
@media (max-width: 480px) {
2462-
24632458
.container {
24642459
padding-left: var(--spacing-4) !important;
24652460
padding-right: var(--spacing-4) !important;
@@ -2832,4 +2827,3 @@
28322827
font-size: 0.85rem;
28332828
}
28342829
}
2835-

src/app/cohorts/components/CohortsApplication.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.applySectionContainer {
32
width: 100%;
43
padding: var(--spacing-24) 0 0 0;
@@ -212,7 +211,8 @@
212211
}
213212

214213
@keyframes pulse {
215-
0%, 100% {
214+
0%,
215+
100% {
216216
transform: scale(1);
217217
opacity: 1;
218218
}

src/app/cohorts/components/CohortsApplication.tsx

Lines changed: 64 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const CohortsApplication: React.FC<CohortsApplicationProps> = ({
3636

3737
return (
3838
<section
39-
id="apply-section"
39+
id='apply-section'
4040
ref={sectionRef}
4141
className={`${styles.applySectionContainer} ${styles.darkBackground} ${
4242
isVisible ? styles.sectionVisible : ''
@@ -56,13 +56,13 @@ const CohortsApplication: React.FC<CohortsApplicationProps> = ({
5656
<div className={styles.statusCard}>
5757
<div className={styles.statusIcon}>
5858
<svg
59-
xmlns="http://www.w3.org/2000/svg"
60-
width="48"
61-
height="48"
62-
viewBox="0 0 24 24"
63-
fill="currentColor"
59+
xmlns='http://www.w3.org/2000/svg'
60+
width='48'
61+
height='48'
62+
viewBox='0 0 24 24'
63+
fill='currentColor'
6464
>
65-
<path d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-.001 5.75c.69 0 1.251.56 1.251 1.25s-.561 1.25-1.251 1.25-1.249-.56-1.249-1.25.559-1.25 1.249-1.25zm2.001 12.25h-4v-1c.484-.179 1-.201 1-.735v-4.467c0-.534-.516-.618-1-.797v-1h3v6.265c0 .535.517.558 1 .735v.999z" />
65+
<path d='M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-.001 5.75c.69 0 1.251.56 1.251 1.25s-.561 1.25-1.251 1.25-1.249-.56-1.249-1.25.559-1.25 1.249-1.25zm2.001 12.25h-4v-1c.484-.179 1-.201 1-.735v-4.467c0-.534-.516-.618-1-.797v-1h3v6.265c0 .535.517.558 1 .735v.999z' />
6666
</svg>
6767
</div>
6868
<div className={styles.statusMessage}>
@@ -75,53 +75,89 @@ const CohortsApplication: React.FC<CohortsApplicationProps> = ({
7575
<ol className={styles.stepsList}>
7676
<li>
7777
<span className={styles.stepNumber}>
78-
{LABELS.cohorts.apply.applicationProcess.steps.submit.number}
78+
{
79+
LABELS.cohorts.apply.applicationProcess.steps.submit
80+
.number
81+
}
7982
</span>
8083
<div className={styles.stepContent}>
8184
<h4>
82-
{LABELS.cohorts.apply.applicationProcess.steps.submit.title}
85+
{
86+
LABELS.cohorts.apply.applicationProcess.steps.submit
87+
.title
88+
}
8389
</h4>
8490
<p>
85-
{LABELS.cohorts.apply.applicationProcess.steps.submit.description}
91+
{
92+
LABELS.cohorts.apply.applicationProcess.steps.submit
93+
.description
94+
}
8695
</p>
8796
</div>
8897
</li>
8998
<li>
9099
<span className={styles.stepNumber}>
91-
{LABELS.cohorts.apply.applicationProcess.steps.assessment.number}
100+
{
101+
LABELS.cohorts.apply.applicationProcess.steps.assessment
102+
.number
103+
}
92104
</span>
93105
<div className={styles.stepContent}>
94106
<h4>
95-
{LABELS.cohorts.apply.applicationProcess.steps.assessment.title}
107+
{
108+
LABELS.cohorts.apply.applicationProcess.steps
109+
.assessment.title
110+
}
96111
</h4>
97112
<p>
98-
{LABELS.cohorts.apply.applicationProcess.steps.assessment.description}
113+
{
114+
LABELS.cohorts.apply.applicationProcess.steps
115+
.assessment.description
116+
}
99117
</p>
100118
</div>
101119
</li>
102120
<li>
103121
<span className={styles.stepNumber}>
104-
{LABELS.cohorts.apply.applicationProcess.steps.interview.number}
122+
{
123+
LABELS.cohorts.apply.applicationProcess.steps.interview
124+
.number
125+
}
105126
</span>
106127
<div className={styles.stepContent}>
107128
<h4>
108-
{LABELS.cohorts.apply.applicationProcess.steps.interview.title}
129+
{
130+
LABELS.cohorts.apply.applicationProcess.steps
131+
.interview.title
132+
}
109133
</h4>
110134
<p>
111-
{LABELS.cohorts.apply.applicationProcess.steps.interview.description}
135+
{
136+
LABELS.cohorts.apply.applicationProcess.steps
137+
.interview.description
138+
}
112139
</p>
113140
</div>
114141
</li>
115142
<li>
116143
<span className={styles.stepNumber}>
117-
{LABELS.cohorts.apply.applicationProcess.steps.placement.number}
144+
{
145+
LABELS.cohorts.apply.applicationProcess.steps.placement
146+
.number
147+
}
118148
</span>
119149
<div className={styles.stepContent}>
120150
<h4>
121-
{LABELS.cohorts.apply.applicationProcess.steps.placement.title}
151+
{
152+
LABELS.cohorts.apply.applicationProcess.steps
153+
.placement.title
154+
}
122155
</h4>
123156
<p>
124-
{LABELS.cohorts.apply.applicationProcess.steps.placement.description}
157+
{
158+
LABELS.cohorts.apply.applicationProcess.steps
159+
.placement.description
160+
}
125161
</p>
126162
</div>
127163
</li>
@@ -143,20 +179,20 @@ const CohortsApplication: React.FC<CohortsApplicationProps> = ({
143179
<div className={styles.joinDiscord}>
144180
<p>{LABELS.cohorts.apply.notification.discordPrompt}</p>
145181
<a
146-
href="https://discord.gg/pWGt6JMV9t"
147-
target="_blank"
148-
rel="noopener noreferrer"
182+
href='https://discord.gg/pWGt6JMV9t'
183+
target='_blank'
184+
rel='noopener noreferrer'
149185
className={styles.discordButton}
150186
>
151187
<span className={styles.discordIcon}>
152188
<svg
153-
xmlns="http://www.w3.org/2000/svg"
154-
width="24"
155-
height="24"
156-
viewBox="0 0 24 24"
157-
fill="currentColor"
189+
xmlns='http://www.w3.org/2000/svg'
190+
width='24'
191+
height='24'
192+
viewBox='0 0 24 24'
193+
fill='currentColor'
158194
>
159-
<path d="M19.54 0c1.356 0 2.46 1.104 2.46 2.472v21.528l-2.58-2.28-1.452-1.344-1.536-1.428.636 2.22h-13.608c-1.356 0-2.46-1.104-2.46-2.472v-16.224c0-1.368 1.104-2.472 2.46-2.472h16.08zm-4.632 15.672c2.652-.084 3.672-1.824 3.672-1.824 0-3.864-1.728-6.996-1.728-6.996-1.728-1.296-3.372-1.26-3.372-1.26l-.168.192c2.04.624 2.988 1.524 2.988 1.524-1.248-.684-2.472-1.02-3.612-1.152-.864-.096-1.692-.072-2.424.024l-.204.024c-.42.036-1.44.192-2.724.756-.444.204-.708.348-.708.348s.996-.948 3.156-1.572l-.12-.144s-1.644-.036-3.372 1.26c0 0-1.728 3.132-1.728 6.996 0 0 1.008 1.74 3.66 1.824 0 0 .444-.54.804-.996-1.524-.456-2.1-1.416-2.1-1.416l.336.204.048.036.047.027.014.006.047.027c.3.168.6.3.876.408.492.192 1.08.384 1.764.516.9.168 1.956.228 3.108.012.564-.096 1.14-.264 1.74-.516.42-.156.888-.384 1.38-.708 0 0-.6.984-2.172 1.428.36.456.792.972.792.972zm-5.58-5.604c-.684 0-1.224.6-1.224 1.332 0 .732.552 1.332 1.224 1.332.684 0 1.224-.6 1.224-1.332.012-.732-.54-1.332-1.224-1.332zm4.38 0c-.684 0-1.224.6-1.224 1.332 0 .732.552 1.332 1.224 1.332.684 0 1.224-.6 1.224-1.332 0-.732-.54-1.332-1.224-1.332z" />
195+
<path d='M19.54 0c1.356 0 2.46 1.104 2.46 2.472v21.528l-2.58-2.28-1.452-1.344-1.536-1.428.636 2.22h-13.608c-1.356 0-2.46-1.104-2.46-2.472v-16.224c0-1.368 1.104-2.472 2.46-2.472h16.08zm-4.632 15.672c2.652-.084 3.672-1.824 3.672-1.824 0-3.864-1.728-6.996-1.728-6.996-1.728-1.296-3.372-1.26-3.372-1.26l-.168.192c2.04.624 2.988 1.524 2.988 1.524-1.248-.684-2.472-1.02-3.612-1.152-.864-.096-1.692-.072-2.424.024l-.204.024c-.42.036-1.44.192-2.724.756-.444.204-.708.348-.708.348s.996-.948 3.156-1.572l-.12-.144s-1.644-.036-3.372 1.26c0 0-1.728 3.132-1.728 6.996 0 0 1.008 1.74 3.66 1.824 0 0 .444-.54.804-.996-1.524-.456-2.1-1.416-2.1-1.416l.336.204.048.036.047.027.014.006.047.027c.3.168.6.3.876.408.492.192 1.08.384 1.764.516.9.168 1.956.228 3.108.012.564-.096 1.14-.264 1.74-.516.42-.156.888-.384 1.38-.708 0 0-.6.984-2.172 1.428.36.456.792.972.792.972zm-5.58-5.604c-.684 0-1.224.6-1.224 1.332 0 .732.552 1.332 1.224 1.332.684 0 1.224-.6 1.224-1.332.012-.732-.54-1.332-1.224-1.332zm4.38 0c-.684 0-1.224.6-1.224 1.332 0 .732.552 1.332 1.224 1.332.684 0 1.224-.6 1.224-1.332 0-.732-.54-1.332-1.224-1.332z' />
160196
</svg>
161197
</span>
162198
<span>{LABELS.cohorts.apply.notification.joinDiscord}</span>

src/app/cohorts/notificationForm.tsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ const localEnv =
2020
process.env.NEXT_PUBLIC_APPWRITE_HASKEY === 'false';
2121

2222
const siteKey = process.env.NEXT_PUBLIC_RECAPTCHA_SITEKEY || '';
23-
const hasValidSiteKey = siteKey && siteKey !== 'RECAPTCHA_SITEKEY' && siteKey !== '';
23+
const hasValidSiteKey =
24+
siteKey && siteKey !== 'RECAPTCHA_SITEKEY' && siteKey !== '';
2425

2526
export default function NotificationForm() {
2627
const [formData, setFormData] = useState(
@@ -37,8 +38,12 @@ export default function NotificationForm() {
3738

3839
const handleSubmit = async (event: any) => {
3940
event.preventDefault();
40-
const token = localEnv ? 'localEnv' : (hasValidSiteKey ? captchaRef.current?.getValue() : 'no-recaptcha');
41-
41+
const token = localEnv
42+
? 'localEnv'
43+
: hasValidSiteKey
44+
? captchaRef.current?.getValue()
45+
: 'no-recaptcha';
46+
4247
if (!localEnv && hasValidSiteKey && !token) {
4348
setMessage({
4449
message: 'Are you a robot? Please complete the reCAPTCHA',
@@ -111,8 +116,11 @@ export default function NotificationForm() {
111116
)}
112117
{!localEnv && !hasValidSiteKey && (
113118
<div className={styles.recaptchaPlaceholder}>
114-
<p style={{ color: '#666', fontSize: '14px', textAlign: 'center' }}>
115-
reCAPTCHA verification is temporarily unavailable. Please try again later.
119+
<p
120+
style={{ color: '#666', fontSize: '14px', textAlign: 'center' }}
121+
>
122+
reCAPTCHA verification is temporarily unavailable. Please try
123+
again later.
116124
</p>
117125
</div>
118126
)}

0 commit comments

Comments
 (0)