Skip to content

Commit

Permalink
Merge pull request #95 from jotjern/main
Browse files Browse the repository at this point in the history
Improve splash css
  • Loading branch information
fredrir authored Nov 29, 2024
2 parents 1676d12 + 499b7f5 commit 9516015
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions components/home/Splash.tsx
Original file line number Diff line number Diff line change
@@ -14,14 +14,16 @@ const Splash = async () => {
}

return (
<div className="items-center justify-center w-full h-screen text-center p-20">
<h1 className="text-8xl font-bold">Onlinefondet</h1>
<h2 className="text-6xl text-center text-gray-200">
<IncrementingNumber target={performance?.value} duration={1000} />
</h2>
<p className="text-gray-500">
Markedsverdi pr. {formatDateNorwegian(performance.date)}
</p>
<div className="flex items-center justify-center w-full h-screen text-center">
<div className="pb-48">
<h1 className="text-6xl sm:text-8xl font-bold">Onlinefondet</h1>
<h2 className="text-5xl sm:text-6xl text-center text-gray-200">
<IncrementingNumber target={performance.value} duration={1000} />
</h2>
<p className="text-gray-500">
Markedsverdi pr. {formatDateNorwegian(performance.date)}
</p>
</div>
</div>
);
};

0 comments on commit 9516015

Please sign in to comment.