Skip to content

Commit 1c53a2a

Browse files
committed
Move sponsor logos to front screen, replace codecrafters logo, add sponsor bar below menu
1 parent 181eea3 commit 1c53a2a

4 files changed

Lines changed: 68 additions & 2 deletions

File tree

assets/icons/codecrafters.png

-436 KB
Loading

css/menu.css

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
flex-direction: column;
1414
align-items: center;
1515
justify-content: flex-start;
16-
padding: 14px 12px;
16+
padding: 8px 12px 6px;
1717
font-family: 'Press Start 2P', monospace;
1818
overflow: hidden;
1919
background: transparent;
@@ -168,7 +168,7 @@
168168
flex: 1;
169169
min-height: 0;
170170
gap: 14px;
171-
margin-bottom: 8px;
171+
margin-bottom: 4px;
172172
z-index: 60;
173173
}
174174

@@ -1084,6 +1084,38 @@ body.modal-visible {
10841084
text-align: center;
10851085
pointer-events: none;
10861086
animation: promptBlink 1.5s step-end infinite;
1087+
margin-bottom: 6px;
1088+
}
1089+
1090+
/* ---- Sponsor Bar ---- */
1091+
.sponsor-bar {
1092+
display: flex;
1093+
justify-content: center;
1094+
align-items: center;
1095+
gap: 24px;
1096+
z-index: 60;
1097+
padding: 6px 0 2px;
1098+
flex-shrink: 0;
1099+
}
1100+
1101+
.sponsor-bar-item {
1102+
display: flex;
1103+
align-items: center;
1104+
justify-content: center;
1105+
transition: all 0.3s ease;
1106+
filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.15));
1107+
}
1108+
1109+
.sponsor-bar-item:hover {
1110+
filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
1111+
transform: translateY(-2px);
1112+
}
1113+
1114+
.sponsor-bar-item img {
1115+
width: 100px;
1116+
height: 100px;
1117+
object-fit: contain;
1118+
image-rendering: pixelated;
10871119
}
10881120

10891121
/* ============================================================

css/responsive.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,18 @@
356356
animation: none;
357357
}
358358

359+
/* ---- SPONSOR BAR ---- */
360+
.sponsor-bar {
361+
gap: 12px;
362+
padding: 4px 0 2px;
363+
flex-wrap: wrap;
364+
}
365+
366+
.sponsor-bar-item img {
367+
width: 64px;
368+
height: 64px;
369+
}
370+
359371
/* ---- SFX BUTTON ---- */
360372
.sfx-toggle {
361373
right: 10px;
@@ -647,6 +659,15 @@
647659
margin-bottom: 2px;
648660
}
649661

662+
.sponsor-bar {
663+
gap: 8px;
664+
}
665+
666+
.sponsor-bar-item img {
667+
width: 44px;
668+
height: 44px;
669+
}
670+
650671
.crt-screen {
651672
transform: perspective(900px) scale(1.01);
652673
}

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,19 @@
276276
<!-- select prompt -->
277277
<div class="menu-select-prompt">USE ARROWS ← → ↑ ↓ · ENTER TO SELECT</div>
278278

279+
<!-- sponsor logos bar -->
280+
<div class="sponsor-bar">
281+
<a class="sponsor-bar-item" href="https://fossunited.org" target="_blank">
282+
<img src="assets/icons/fossunited.png" alt="FOSS United">
283+
</a>
284+
<a class="sponsor-bar-item" href="https://codecrafters.io" target="_blank">
285+
<img src="assets/icons/codecrafters.png" alt="CodeCrafters">
286+
</a>
287+
<a class="sponsor-bar-item" href="https://gen.xyz" target="_blank">
288+
<img src="assets/icons/xyz_logo (1).svg" alt=".xyz">
289+
</a>
290+
</div>
291+
279292
<!-- retro OS-style modal system -->
280293
<div class="arcade-modal-overlay" id="arcadeModalOverlay">
281294
<div class="arcade-modal" id="arcadeModal">

0 commit comments

Comments
 (0)