aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/LandingHero.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-27 23:09:19 -0800
committerAdam Soltys <[email protected]>2026-02-27 23:09:19 -0800
commit23a783c13302fbe6b29cb21e226f25b81cd88de6 (patch)
tree3caa3f380328bca802c3d7fa95555cb8499e5d73 /src/components/LandingHero.svelte
parent6efa1762d7d7583a5cf191474e80252deff0df85 (diff)
downloadcoinos-ui-23a783c13302fbe6b29cb21e226f25b81cd88de6.tar.gz
coinos-ui-23a783c13302fbe6b29cb21e226f25b81cd88de6.zip
splash page update
Diffstat (limited to 'src/components/LandingHero.svelte')
-rw-r--r--src/components/LandingHero.svelte18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte
index 18e60efe..7eae2e91 100644
--- a/src/components/LandingHero.svelte
+++ b/src/components/LandingHero.svelte
@@ -8,15 +8,15 @@
<div class="pt-16 md:mt-0">
<div class="space-y-5">
<h1
- class="text-4xl md:text-6xl lg:text-7xl font-medium text-center w-full md:w-3/4 lg:w-1/2 max-w-7xl mx-auto leading-tight"
+ class="text-4xl md:text-6xl lg:text-7xl font-medium text-center w-full md:w-3/4 lg:w-1/2 max-w-7xl mx-auto"
>
{$t("landing.header_before_icon")}
- <span class="relative">
+ <span class="relative inline-block">
{$t("landing.header_with_icon")}
<iconify-icon
noobserver
icon="coinos:rays"
- class="absolute -top-10 md:-top-16 left-5 md:left-8 lg:left-14 2xl:left-24"
+ class="absolute -top-10 md:-top-16 left-1/2 -translate-x-1/2"
></iconify-icon>
</span>
{$t("landing.header_after_icon")}
@@ -31,7 +31,7 @@
<a href="/register">
<button
use:focus
- class="btn !rounded-full bg-primary text-primary-content hover:bg-primary/80 !w-auto px-12 text-2xl"
+ class="btn !rounded-full bg-primary text-primary-content hover:bg-primary/80 !w-auto px-12 text-xl start-btn"
>
{$t("nav.startInSeconds")}
</button>
@@ -41,3 +41,13 @@
<Image image="hero-image" style="w-full md:w-2/3 max-w-5xl mx-auto mt-20" />
</div>
+
+<style>
+ :global([data-theme="black"]) .start-btn {
+ background: white;
+ color: black;
+ }
+ :global([data-theme="black"]) .start-btn:hover {
+ background: rgba(255, 255, 255, 0.85);
+ }
+</style>