diff --git a/src/components/WaveBackground.astro b/src/components/WaveBackground.astro index d503dbb..d343e09 100644 --- a/src/components/WaveBackground.astro +++ b/src/components/WaveBackground.astro @@ -2,15 +2,19 @@ // src/components/WaveBackground.astro const { opacity = "opacity-30", theme = "cyan" } = Astro.props; -// Definiera färger baserat på tema -// Cyan = Originalet (Startsidan bas) -// Purple = Contact-sidan (Matchar boxen) -const mainColor = theme === 'purple' ? '#c026d3' : '#4fd1c5'; // Purple-600 vs Teal-400 -const secondaryColor = theme === 'purple' ? '#db2777' : '#22d3ee'; // Pink-600 vs Cyan-400 +const mainColor = theme === 'purple' ? '#c026d3' : '#4fd1c5'; +const secondaryColor = theme === 'purple' ? '#db2777' : '#22d3ee'; +const pulseMain = theme === 'purple' ? '#e879f9' : '#67e8f9'; +const pulseSec = theme === 'purple' ? '#f472b6' : '#a5f3fc'; --- -
- +
+ @@ -23,48 +27,193 @@ const secondaryColor = theme === 'purple' ? '#db2777' : '#22d3ee'; // Pink-600 v - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file + #pulse-blob { + transition: opacity 0.05s linear; + mix-blend-mode: screen; + } + diff --git a/src/pages/contact.astro b/src/pages/contact.astro index 296d063..4b76433 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -61,7 +61,7 @@ import WaveBackground from '../components/WaveBackground.astro';
-
+

Waiting to hear from you

Feel free to reach out for inquiries or just a chat.

diff --git a/src/pages/index.astro b/src/pages/index.astro index 5d301e3..7d3f08c 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -51,7 +51,7 @@ import WaveBackground from '../components/WaveBackground.astro';