From 8b49ab9297da617a9b96780bffec42f2d74531d6 Mon Sep 17 00:00:00 2001 From: Abdenasser Date: Mon, 11 Nov 2024 16:27:01 +0100 Subject: [PATCH] new loading screen --- src/lib/components/TitleBar.svelte | 11 +- src/routes/+page.svelte | 210 ++--------------------------- static/128x128.png | Bin 0 -> 4841 bytes static/32x32.png | Bin 0 -> 1177 bytes 4 files changed, 24 insertions(+), 197 deletions(-) create mode 100644 static/128x128.png create mode 100644 static/32x32.png diff --git a/src/lib/components/TitleBar.svelte b/src/lib/components/TitleBar.svelte index 85cfcec..d9293c4 100644 --- a/src/lib/components/TitleBar.svelte +++ b/src/lib/components/TitleBar.svelte @@ -17,6 +17,7 @@
+ NeoHtop
NeoHtop
@@ -45,7 +46,7 @@ .neon { font-family: "Courier New", monospace; - font-size: 16px; + font-size: 14px; font-weight: bold; color: var(--text); text-shadow: @@ -109,4 +110,12 @@ transform: translateY(2px); } } + + .app-icon { + width: 16px; + height: 16px; + margin-right: 8px; + display: flex; + align-items: center; + } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index e3676e5..8e0fcf0 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -284,12 +284,7 @@ {#if isLoading}
-
-
NeoHtop
-
-
-
- System Initialization... +
{:else} @@ -416,206 +411,29 @@ .loading-content { display: flex; - flex-direction: column; align-items: center; - gap: 16px; + justify-content: center; z-index: 2; } - @keyframes glitch { - 0%, - 100% { - transform: translate(0); - } - 20% { - transform: translate(-2px, 2px); - } - 40% { - transform: translate(-2px, -2px); - } - 60% { - transform: translate(2px, 2px); - } - 80% { - transform: translate(2px, -2px); - } - } - - @keyframes glitch-2 { - 0%, - 100% { - transform: translate(0); - } - 25% { - transform: translate(1px, 1px); - } - 75% { - transform: translate(-1px, -1px); - } - } - - @keyframes glitch-3 { - 0%, - 100% { - transform: translate(0); - } - 25% { - transform: translate(-1px, -1px); - } - 75% { - transform: translate(1px, 1px); - } - } - - @keyframes scanlines { - from { - transform: translateY(0); - } - to { - transform: translateY(4px); - } - } - - .loading-text { - color: var(--subtext0); - font-size: 14px; - font-weight: 500; - letter-spacing: 0.5px; - animation: pulse 2s ease-in-out infinite; - text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); - } - - @keyframes spin { - to { - transform: rotate(360deg); - } - } - - @keyframes pulse { - 0%, - 100% { - opacity: 0.6; - } - 50% { - opacity: 1; - } - } - - .app-container { - height: 100vh; - display: flex; - flex-direction: column; - } - - .title-wrapper { - position: relative; - margin-bottom: 2rem; + .logo { + width: 128px; + height: 128px; + filter: drop-shadow(0 0 5px var(--text)) drop-shadow(0 0 10px var(--text)) + drop-shadow(0 0 20px var(--blue)) drop-shadow(0 0 40px var(--blue)); + animation: neonPulse 2s ease-in-out infinite; } - .neon-title { - font-family: "Courier New", monospace; - font-size: 64px; - font-weight: bold; - color: var(--text); - text-shadow: - 0 0 5px var(--text), - 0 0 10px var(--text), - 0 0 20px var(--blue), - 0 0 40px var(--blue), - 0 0 80px var(--blue); - animation: pulse 4s ease-in-out infinite; - } - - .neon-flare { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: linear-gradient( - 45deg, - transparent 45%, - var(--blue) 48%, - var(--text) 50%, - var(--blue) 52%, - transparent 55% - ); - background-size: 200% 200%; - animation: flare 4s ease-in-out infinite; - opacity: 0.1; - filter: blur(3px); - } - - .cyber-spinner { - width: 50px; - height: 50px; - margin: 20px; - background: transparent; - border: 3px solid var(--surface0); - border-top: 3px solid var(--blue); - border-right: 3px solid var(--blue); - border-radius: 50%; - position: relative; - animation: spin 1s linear infinite; - } - - .cyber-spinner::before { - content: ""; - position: absolute; - top: -3px; - left: -3px; - right: -3px; - bottom: -3px; - border-radius: 50%; - border: 3px solid transparent; - border-top-color: var(--blue); - animation: spin 2s linear infinite; - } - - .loading-text { - color: var(--text); - font-size: 16px; - font-family: "Courier New", monospace; - letter-spacing: 2px; - animation: glow 2s ease-in-out infinite alternate; - } - - @keyframes pulse { + @keyframes neonPulse { 0%, 100% { - text-shadow: - 0 0 5px var(--text), - 0 0 10px var(--text), - 0 0 20px var(--blue), - 0 0 40px var(--blue), - 0 0 80px var(--blue); + filter: drop-shadow(0 0 5px var(--text)) drop-shadow(0 0 10px var(--text)) + drop-shadow(0 0 20px var(--blue)) drop-shadow(0 0 40px var(--blue)); } 50% { - text-shadow: - 0 0 10px var(--text), - 0 0 20px var(--text), - 0 0 40px var(--blue), - 0 0 80px var(--blue), - 0 0 120px var(--blue); - } - } - - @keyframes flare { - 0%, - 100% { - background-position: 200% 200%; - } - 50% { - background-position: 0% 0%; - } - } - - @keyframes glow { - from { - text-shadow: - 0 0 2px var(--text), - 0 0 4px var(--text), - 0 0 6px var(--blue); + filter: drop-shadow(0 0 10px var(--text)) + drop-shadow(0 0 20px var(--text)) drop-shadow(0 0 40px var(--blue)) + drop-shadow(0 0 80px var(--blue)); } } diff --git a/static/128x128.png b/static/128x128.png new file mode 100644 index 0000000000000000000000000000000000000000..200c63b602c16139d9fed1b42c425d46d6515f22 GIT binary patch literal 4841 zcmZvgRan%4(#HS0bc1w#zr*uh4=dueD(n=$-bV>?Jmw+@%ch}MlBJgo8 zzvrBbnYoy|cV^z__smBv4JABmDr^7%@KluL-#k^=e*zQzDfdWP4gtWk8WnjNUBCH5 zGyh7`DauE?Z64<{X=%du)!3m?acY$gRyB^3#e#iQa4F*p0_*j&NbibihkQk1yvbSl zuT$R?iR1c`mA@$$bvbnwMW-l8D-ha#GV^P_J{rEb3+7)5KCklq5_r5Zvgq4xv)tmF z>NzU0a%?h|<@wUaK})C43l4%Yq5yK}Km;y;O9@cC1RU6n)+|fkpY;^1P)s`2_4MEn z$c-cspOtR~J2m|H#31D18f9yw^qz%wvce@+vGldJ3hzmpMEkMZ&X}3t-zH0^a4bO1 z#f6YRsLtA?qmet1EF{OuNFZKwXF%)uBpPrd`SmQw?c@IK$m0%K3PuKt2&# zP!0FKJ!OB>LgUw=%CoOXA+hOVn-u68{)PD1TSNCH42hLTNb9B+@jQYO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lWUBpKk3SQ{l;AS(^-c zRiDas8t>8p=UtOB{o)tZ4}x}gF3Ae^fs&gVFwul53@t7?=yEECdYoBRK}fSt(6K;4 z8)z}v`Nlt_%S^#rSxWo<^@r!5)sBM-e4mvMkL9_4)sLy3t-;E3;A*r?in?IzAd2W(l8a{DFz&@O+1Ov>=@+wXmC-z zBZnX1{(MRPb$pxQ)Fp|EG$P7DsV*ZP`Xc;4)~gLyHf1kJ*#_j^?yzehA+&q2Swk*3xs8b#ZZ&=K$v#RK0$W-A-v*QyM>u!D-kl-5rbh@5#`$7j-BIL(@(2Ou#Ze19)*yXLyLAC zjtX+L3JfT#%>9i}Tazm;jRMWBhzdMtmKKLsjU&Bh)%EPe!$mhx-46NnV%YBL>AVi$uX8!Plo37NDY_AzvkH G5&C~7LL<8X literal 0 HcmV?d00001 diff --git a/static/32x32.png b/static/32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..c26f5802d65324c6efc3dba89942eca2edcf891a GIT binary patch literal 1177 zcmV;K1ZMk*P)ccoHbG?Jitvy|6M>CrLR}ez#D)zdHmND>EQ!WdHKcV> z7qYS;l*G0WAcRc~h=f3#nI_o8rUGF=$Ij!vJm;T#uXl!d(E(3#bGiTj&-uRdJv32R0I;D(*9_!F?N*aceW#g1bmOqpvspcqAP16kNhVcXa`L~;dl*VoTMucMQ{9vN0uBd`^}5ykRK?o}@?48&pYx$K$cBgRU2hoI#I| zj{ccYRrYR_)hHGdjor?cn<;Q#USL^9BAG-ik#yEimY)zr48zDrA}LF#q~Cu);ke1z ziX8@5%;kLGNdjeCs{)mHucH$(k$LnejQjT=h%;qgMV!kaat4<0KvAW}O4+)=*(&t( zT*9Z9FQdA;+S#9&n84`hD1Ke}1-hmcottvewL|evs2aZf>T7&){kj0x2uM{`vER|r zfyKo|RG&MCcv5xpqmW&4vEb2XF$@e0pu78hC-HdQ>-DB3;O*Prh5GH8nZP+5Jo|5C~vsXh^KZ zVlgLK^M<%^r4mb#&8e&(A0HRx$5z__6%`ejnVCsjx8Eh_fX%}0ZtP}OZns=sx2@!L zu9(A!g69whbSIZhE_40Z2;}PZQZa>JDuKgVctknypJj!7VBFPLV0YjmX z=mEJxU}t}^o+|2;M*aTx$B#uPoSK>veSd#{U+lRFac8s}Q8XGYih#!=VG!fDJ+kx` zQlpb>yPoq(({$9=*9)b+y}j7p+Cts=^Vr+l!{=A8;*Td!P*YQb$;n9!U%Q6aFI>R< z{5)1ySK%d(xWZzPI+E(;3Nf2`gZC1cSdJvKxWdBMXbZxp4zNpASBT z1{E4W78Vx78CLe)t(#D(A)P4m6-r7`xJ-hF(oaa)x7mhLdnVvkZ1;cuX5D2L$O|W5 z#9#Y+DVHO?L%JkMfWD-re@sK^Eym6q%R}^W23f{(cel&-&4Y=O9`6IrL~1O5N@MwJ zu*UMti^-eT#pDbQE0SeL9*@(-