Skip to content

Commit d9c3f20

Browse files
author
“ danbaruka”
committed
refactor: reduce homepage contents for better UX
- Remove hero header section to create cleaner landing experience - Remove Resources section to streamline navigation - Remove Get Involved section to focus on key CTAs - Update Community section with GitHub-focused support - Add orange Join Intersect button with proper color (#f55521) - Add GitHub Repository button for community support - Change all buttons to 100% rounded style (border-radius: 50px) - Fix dark mode navbar to display plain white text - Simplify homepage from 4 sections to 2 focused sections
1 parent 1e83067 commit d9c3f20

3 files changed

Lines changed: 66 additions & 10 deletions

File tree

website/src/css/custom.css

Lines changed: 54 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
color: white !important;
207207
font-weight: 600;
208208
padding: 0.875rem 2rem;
209-
border-radius: 8px;
209+
border-radius: 50px !important;
210210
transition: all 0.2s ease;
211211
}
212212

@@ -224,7 +224,7 @@
224224
color: var(--ifm-color-primary) !important;
225225
font-weight: 600;
226226
padding: 0.875rem 2rem;
227-
border-radius: 8px;
227+
border-radius: 50px !important;
228228
transition: all 0.2s ease;
229229
}
230230

@@ -241,7 +241,7 @@
241241
color: var(--ifm-color-primary) !important;
242242
font-weight: 600;
243243
padding: 0.75rem 1.5rem;
244-
border-radius: 8px;
244+
border-radius: 50px !important;
245245
transition: all 0.2s ease;
246246
}
247247

@@ -252,6 +252,39 @@
252252
box-shadow: 0 4px 12px rgba(1, 40, 170, 0.2);
253253
}
254254

255+
/* Orange join button variant */
256+
.button--primary.button--orange {
257+
background: #f55521 !important;
258+
border: 2px solid #f55521 !important;
259+
color: white !important;
260+
font-weight: 600;
261+
padding: 0.875rem 2rem;
262+
border-radius: 50px !important;
263+
transition: all 0.2s ease;
264+
box-shadow: 0 2px 8px rgba(245, 85, 33, 0.2);
265+
}
266+
267+
.button--primary.button--orange:hover {
268+
background: #e0481a !important;
269+
border-color: #e0481a !important;
270+
color: white !important;
271+
transform: translateY(-1px);
272+
box-shadow: 0 4px 12px rgba(245, 85, 33, 0.3);
273+
}
274+
275+
/* Dark mode orange button */
276+
[data-theme='dark'] .button--primary.button--orange {
277+
background: #f55521 !important;
278+
border-color: #f55521 !important;
279+
color: white !important;
280+
}
281+
282+
[data-theme='dark'] .button--primary.button--orange:hover {
283+
background: #e0481a !important;
284+
border-color: #e0481a !important;
285+
color: white !important;
286+
}
287+
255288
/* Dark mode button fixes */
256289
[data-theme='dark'] .button--primary {
257290
background: var(--ifm-color-primary);
@@ -340,11 +373,11 @@
340373

341374
/* Dark mode sidebar fixes */
342375
[data-theme='dark'] .menu__link {
343-
color: var(--ifm-color-content) !important;
376+
color: white !important;
344377
}
345378

346379
[data-theme='dark'] .menu__link:hover {
347-
color: var(--ifm-color-content) !important;
380+
color: white !important;
348381
}
349382

350383
[data-theme='dark'] .menu__link--active {
@@ -377,6 +410,22 @@
377410
background: transparent !important;
378411
}
379412

413+
/* Dark mode navbar - ensure plain white text */
414+
[data-theme='dark'] .navbar__brand,
415+
[data-theme='dark'] .navbar__item,
416+
[data-theme='dark'] .navbar__link,
417+
[data-theme='dark'] .navbar__link--active,
418+
[data-theme='dark'] .navbar__toggle,
419+
[data-theme='dark'] .navbar-sidebar__brand,
420+
[data-theme='dark'] .navbar__item--show .navbar__link {
421+
color: white !important;
422+
}
423+
424+
[data-theme='dark'] .navbar__link:hover {
425+
color: white !important;
426+
opacity: 0.8;
427+
}
428+
380429
/* Responsive design improvements */
381430
@media (max-width: 996px) {
382431
.navbar__brand {

website/src/pages/index.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@
112112

113113
.communityActions {
114114
margin-top: 2rem;
115+
display: flex;
116+
gap: 1rem;
117+
flex-wrap: wrap;
115118
}
116119

117120
.statItem {
@@ -140,7 +143,7 @@
140143
}
141144

142145
.imagePlaceholder {
143-
background: linear-gradient(135deg, var(--ifm-color-primary) 0%, #000000 100%);
146+
background: var(--ifm-color-primary);
144147
color: white;
145148
padding: 3rem 2rem;
146149
border-radius: 16px;

website/src/pages/index.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,14 @@ function CommunitySection() {
7373
</div>
7474
<div className={styles.communityActions}>
7575
<Link
76-
className="button button--primary button--lg"
76+
className="button button--primary button--orange button--lg"
77+
href="https://members.intersectmbo.org/"
78+
target="_blank"
79+
rel="noopener noreferrer">
80+
Join Intersect
81+
</Link>
82+
<Link
83+
className="button button--secondary button--lg"
7784
href="https://github.com/IntersectMBO/developer-experience"
7885
target="_blank"
7986
rel="noopener noreferrer">
@@ -203,12 +210,9 @@ export default function Home(): ReactNode {
203210
<Layout
204211
title={`${siteConfig.title}`}
205212
description="Join the Developer Experience Working Group at Intersect MBO. Connect with developer advocates, access comprehensive Cardano resources, and participate in community-driven initiatives to enhance the developer ecosystem.">
206-
<HomepageHeader />
207213
<main>
208214
<HomepageFeatures />
209215
<CommunitySection />
210-
<ResourcesSection />
211-
<GettingInvolvedSection />
212216
</main>
213217
</Layout>
214218
);

0 commit comments

Comments
 (0)