mirror of
https://github.com/System-End/daydream-phoenix.git
synced 2026-04-19 16:28:17 +00:00
Add macintosh art
This commit is contained in:
parent
7bc87c1295
commit
9187c5d9e9
5 changed files with 51 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ GAME TYPE: ${randomElements.gameType}
|
|||
THEME: ${randomElements.theme}
|
||||
SETTING: ${randomElements.setting}
|
||||
|
||||
Turn these three elements into a single sentence game idea. Start with "A [game type] where you..." and keep it simple and clear. Use normal words, no fancy language.`;
|
||||
Turn these three elements into a single sentence game idea. Start with "A [game type] where you..." or "An [game type] where you..." and keep it simple and clear. Use normal words, no fancy language.`;
|
||||
|
||||
const response = await fetch('https://ai.hackclub.com/chat/completions', {
|
||||
method: 'POST',
|
||||
|
|
|
|||
|
|
@ -1255,8 +1255,56 @@ Mumbai`.split("\n")
|
|||
<div class="absolute top-0 left-0 w-full h-full bg-[url('brushstroking.png')] bg-size-[100vw_100vh] bg-repeat mix-blend-overlay opacity-60 pointer-events-none"></div>
|
||||
|
||||
<!-- Macintosh Section -->
|
||||
<div class="w-full flex justify-center py-16 px-8 mt-24">
|
||||
<div class="bg-[#061E2D] text-[#D1E3EE] rounded-3xl p-8 md:p-12 relative overflow-hidden max-w-4xl">
|
||||
<div class="w-full flex justify-center py-16 px-8 mt-24 pb-[clamp(232px,29vw,464px)]">
|
||||
<div class="bg-[#061E2D] text-[#D1E3EE] rounded-3xl p-8 md:p-12 relative overflow-visible max-w-4xl" style="
|
||||
border-image: url('/macintosh.png') 128 91 464 91;
|
||||
border-image-slice: 128 91 464 91;
|
||||
border-image-width: clamp(64px, 8vw, 128px) clamp(45px, 6vw, 91px) clamp(232px, 29vw, 464px) clamp(45px, 6vw, 91px);
|
||||
border-image-outset: clamp(64px, 8vw, 128px) clamp(45px, 6vw, 91px) clamp(232px, 29vw, 464px) clamp(45px, 6vw, 91px);
|
||||
border-image-repeat: stretch;
|
||||
border-style: solid;
|
||||
">
|
||||
<!-- Hack Club logo on border -->
|
||||
<img
|
||||
src="/macintosh-hc-logo.png"
|
||||
alt="Hack Club logo"
|
||||
class="absolute w-12 h-12 pointer-events-none z-20"
|
||||
style="
|
||||
bottom: calc(-1 * clamp(232px, 29vw, 464px) + 8rem);
|
||||
left: 5%;
|
||||
"
|
||||
>
|
||||
|
||||
<!-- Brushstroke overlay on border -->
|
||||
<div
|
||||
class="absolute pointer-events-none z-25"
|
||||
style="
|
||||
top: calc(-1 * clamp(64px, 8vw, 128px));
|
||||
left: calc(-1 * clamp(45px, 6vw, 91px));
|
||||
right: calc(-1 * clamp(45px, 6vw, 91px));
|
||||
bottom: calc(-1 * clamp(232px, 29vw, 464px));
|
||||
background-image: url('/brushstroking.png');
|
||||
background-size: 100vw 100vh;
|
||||
background-repeat: repeat;
|
||||
mix-blend-mode: overlay;
|
||||
opacity: 0.6;
|
||||
"
|
||||
></div>
|
||||
|
||||
<!-- Keyboard image -->
|
||||
<img
|
||||
src="/macintosh-keyboard.png"
|
||||
alt="Macintosh keyboard"
|
||||
class="absolute pointer-events-none z-30"
|
||||
style="
|
||||
bottom: calc(-1 * clamp(232px, 29vw, 464px) - 10px - clamp(0px, 14vw, 180px));
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 175%;
|
||||
max-width: none;
|
||||
"
|
||||
>
|
||||
|
||||
<!-- Scanlines effect -->
|
||||
<div class="absolute inset-0 bg-gradient-to-b from-transparent via-white/10 to-transparent bg-[length:100%_6px] bg-repeat-y pointer-events-none opacity-30"></div>
|
||||
|
||||
|
|
|
|||
BIN
static/macintosh-hc-logo.png
Normal file
BIN
static/macintosh-hc-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
static/macintosh-keyboard.png
Normal file
BIN
static/macintosh-keyboard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 606 KiB |
BIN
static/macintosh.png
Normal file
BIN
static/macintosh.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
Loading…
Add table
Reference in a new issue