feat(WEB-39): add wifi page and files

This commit is contained in:
Christel Westerberg
2024-01-16 10:33:14 +01:00
parent bb90e2bf50
commit 75ec048577
7 changed files with 21 additions and 8 deletions

View File

@@ -1,25 +1,37 @@
import type { LanguageSwitcherProps } from "@/types/components/current/languageSwitcher";
export default function Desktop({ currentLanguage, links }: LanguageSwitcherProps) {
export default function Desktop({
currentLanguage,
links,
}: LanguageSwitcherProps) {
return (
<div className="dropdown-container navbar-language-selector ">
<button className="navbar-language-selector__toggler" data-js="dropdown-toggler" aria-pressed="false">
<svg focusable="false" className="icon icon--xs icon--white" viewBox="0 0 32 32">
<button
className="navbar-language-selector__toggler"
data-js="dropdown-toggler"
aria-pressed="false"
>
<svg
focusable="false"
className="icon icon--xs icon--white"
viewBox="0 0 32 32"
>
<use xlinkHref="/Static/img/icons/sprites.svg#icon-globe"></use>
</svg>
{currentLanguage} <span className="hidden--accessible">Choose language</span>
{currentLanguage}
<span className="hidden--accessible">Choose language</span>
<span className="caret"></span>
</button>
<ul className="dropdown-menu">
{links.map(link => (
{links.map((link) => (
<li
className={currentLanguage === link.title ? "active" : undefined}
key={link.href}
>
<a href="https://www.scandichotels.com/sponsoring">{link.title}</a>
<a href={link.href}>{link.title}</a>
</li>
))}
</ul>
</div>
)
);
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB