Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon addition to Om oss nav item #108

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions apps/blifrivillig/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://blifrivillig.no</loc><changefreq>weekly</changefreq><priority>1</priority><lastmod>2022-09-14T16:40:28.683Z</lastmod></url>
<url><loc>https://blifrivillig.no/en</loc><changefreq>weekly</changefreq><priority>1</priority><lastmod>2022-09-14T16:40:28.684Z</lastmod></url>
<url><loc>https://blifrivillig.no/404</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-09-14T16:40:28.684Z</lastmod></url>
<url><loc>https://blifrivillig.no/en/404</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-09-14T16:40:28.684Z</lastmod></url>
<url><loc>https://blifrivillig.no</loc><changefreq>weekly</changefreq><priority>1</priority><lastmod>2024-02-21T16:31:17.458Z</lastmod></url>
</urlset>
57 changes: 3 additions & 54 deletions apps/kvarteret/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,57 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://kvarteret.no/</loc><changefreq>daily</changefreq><priority>1</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/events/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/infoskjerm/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/en/infoskjerm/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/en/events/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/404/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/en/404/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/en/</loc><changefreq>daily</changefreq><priority>1</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/events/mikromandag/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/events/humlesaften/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/studinekoret-sirenene/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/organisasjonskart/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/aktive-studenters-forening/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/maos/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/faste-konsepter/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/tivoli/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/test/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/studentkoret-blandede-akademikere/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/produksjon/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/teknisk-rider/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/personalgruppen/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/stillhet/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/bergen-realistforening/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/sponsorer-og-samarbeidspartnere/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/kraft/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/arrangere/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/avbestillingsvilkar/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/vare-barer/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/skibas/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/sporsmal-booking/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/speilsalen/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/rettsvesenet/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/pr/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/skjenkegruppen/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/stoy/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/romvesenet/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/marked/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/mannskoret-arme-riddere/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/vaktetaten/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/halvtimen/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/meny/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/refusjon/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/studentersamfunnet/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/stjernesalen/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/grondahls/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.478Z</lastmod></url>
<url><loc>https://kvarteret.no/storelogen/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/booking/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/kontakt/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/vergeordningen/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/om-kvarteret/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/kvarterstyret/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/immaturus/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/teglverket/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no/bergen-filmklubb/</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2022-05-08T14:26:20.479Z</lastmod></url>
<url><loc>https://kvarteret.no</loc><changefreq>daily</changefreq><priority>1</priority><lastmod>2024-02-21T16:31:17.458Z</lastmod></url>
<url><loc>https://kvarteret.no/events</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2024-02-21T16:31:17.458Z</lastmod></url>
<url><loc>https://kvarteret.no/infoskjerm</loc><changefreq>weekly</changefreq><priority>0.7</priority><lastmod>2024-02-21T16:31:17.458Z</lastmod></url>
</urlset>
17 changes: 16 additions & 1 deletion packages/dak-components/lib/components/layout/Navigation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useState } from "react";
import { Link } from "../Link";
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";

const NavigationItem = ({ navItem, removeOpenMenus }) => {
if (!navItem.title) return <></>;
Expand Down Expand Up @@ -49,7 +50,21 @@ const NavigationItem = ({ navItem, removeOpenMenus }) => {
onClick={mouseClick}
onMouseLeave={mouseLeave}
>
{navItem.title}
{navItem.title === "Om oss" || navItem.title === "About us" ? (
<p className="nav-item" style={{ position: "relative" }}>
{navItem.title}{" "}
<ExpandMoreIcon
style={{
position: "absolute",
top: "50%",
right: "100%",
transform: "translateY(-40%)",
}}
/>
</p>
) : (
navItem.title
)}
</div>
</a>
</Link>
Expand Down
Loading