Skip to content

Commit

Permalink
[Aksel.nav.no] Added Hello bar under header (#3561)
Browse files Browse the repository at this point in the history
* ✨ Added hello-bar

* 📝 Updated texts

* 🔥 Removed demo-versions

* 💄 Added x-axis padding
  • Loading branch information
KenAJoh authored Feb 6, 2025
1 parent 1b20ad5 commit 0c22de8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions aksel.nav.no/website/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { SanityImageSource } from "@sanity/image-url/lib/types/types";
import cl from "clsx";
import { groq } from "next-sanity";
import Link from "next/link";
import { GetStaticProps } from "next/types";
import { useState } from "react";
import Snowfall from "react-snowfall";
Expand Down Expand Up @@ -198,6 +199,15 @@ const Forside = ({ page, tema, blocks }: PageProps["props"]) => {
/>
<Header />
<main tabIndex={-1} id="hovedinnhold" className="focus:outline-none">
<div className="bg-violet-600 p-4 text-center text-xl text-white">
<Link
href="/darkside"
target="_blank"
className="rounded p-1 underline hover:decoration-2 focus:shadow-focus-inverted focus:outline-none"
>
Vi trenger testere fra team i Nav for darkmode og theming!
</Link>
</div>
{!pause && (
<div aria-hidden>
<Snowfall
Expand Down

0 comments on commit 0c22de8

Please sign in to comment.