Compare commits
4 Commits
bf72f5aafa
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6896a7582b | |||
| 2adf5a046b | |||
| 039f2d522a | |||
| a126ea8344 |
11
src/App.jsx
11
src/App.jsx
@@ -21,15 +21,6 @@ function isSnowfallSeason(date = DateTime.now()) {
|
||||
return date <= prevEnd;
|
||||
}
|
||||
|
||||
// Gibt alle 10 Sekunden einen anderen Boolean zurück, basierend auf der aktuellen Sekunde
|
||||
function isTenSecondInterval() {
|
||||
const seconds = DateTime.now().second;
|
||||
// true für 0-9, 20-29, 40-49; false sonst
|
||||
return (seconds >= 0 && seconds < 10) || (seconds >= 20 && seconds < 30) || (seconds >= 40 && seconds < 50);
|
||||
}
|
||||
|
||||
|
||||
|
||||
export default function LiquidDevelopment() {
|
||||
return (
|
||||
<div
|
||||
@@ -43,7 +34,7 @@ export default function LiquidDevelopment() {
|
||||
pointerEvents: 'none',
|
||||
zIndex: 9999,
|
||||
}}>
|
||||
{isTenSecondInterval() && <Snowfall snowflakeCount={80} />}
|
||||
{isSnowfallSeason() && <Snowfall snowflakeCount={80} />}
|
||||
</div>
|
||||
|
||||
<Navbar/>
|
||||
|
||||
@@ -27,9 +27,9 @@ export const Hero = () => {
|
||||
|
||||
<div className="relative z-10 text-center px-6 max-w-6xl mx-auto">
|
||||
<motion.div
|
||||
initial={{ scale: 0.8, opacity: 0 }}
|
||||
initial={{scale: 0.5, opacity: 0}}
|
||||
animate={{scale: 1, opacity: 1}}
|
||||
transition={{ duration: 0.8 }}
|
||||
transition={{duration: 0.5}}
|
||||
className="mx-auto mb-8 w-24 h-24 md:w-32 md:h-32 rounded-full bg-[#00A3FF]/5 flex items-center justify-center border border-[#00A3FF]/30 shadow-[0_0_60px_-10px_rgba(0,163,255,0.4)]"
|
||||
>
|
||||
<BrandLogo className="w-14 h-14 md:w-20 md:h-20 text-[#00A3FF]"/>
|
||||
@@ -41,15 +41,11 @@ export const Hero = () => {
|
||||
transition={{delay: 0.2}}
|
||||
>
|
||||
<h1 className="text-4xl md:text-7xl font-extrabold tracking-tighter mb-6">
|
||||
<ObfuscatedMail
|
||||
email={rawEmail}
|
||||
className="cursor-pointer hover:opacity-80 transition-opacity duration-300 bg-transparent border-none p-0 font-extrabold tracking-tighter text-4xl md:text-7xl text-white"
|
||||
>
|
||||
LIQUID
|
||||
<span className="ml-3 text-transparent bg-clip-text bg-gradient-to-r from-[#00A3FF] to-cyan-200">
|
||||
<span
|
||||
className="ml-3 text-transparent bg-clip-text bg-gradient-to-r from-[#00A3FF] to-cyan-200">
|
||||
DEVELOPMENT
|
||||
</span>
|
||||
</ObfuscatedMail>
|
||||
</h1>
|
||||
</motion.div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user