feat(WEB-39): add wifi page and files
This commit is contained in:
@@ -1,25 +1,37 @@
|
|||||||
import type { LanguageSwitcherProps } from "@/types/components/current/languageSwitcher";
|
import type { LanguageSwitcherProps } from "@/types/components/current/languageSwitcher";
|
||||||
|
|
||||||
export default function Desktop({ currentLanguage, links }: LanguageSwitcherProps) {
|
export default function Desktop({
|
||||||
|
currentLanguage,
|
||||||
|
links,
|
||||||
|
}: LanguageSwitcherProps) {
|
||||||
return (
|
return (
|
||||||
<div className="dropdown-container navbar-language-selector ">
|
<div className="dropdown-container navbar-language-selector ">
|
||||||
<button className="navbar-language-selector__toggler" data-js="dropdown-toggler" aria-pressed="false">
|
<button
|
||||||
<svg focusable="false" className="icon icon--xs icon--white" viewBox="0 0 32 32">
|
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>
|
<use xlinkHref="/Static/img/icons/sprites.svg#icon-globe"></use>
|
||||||
</svg>
|
</svg>
|
||||||
{currentLanguage} <span className="hidden--accessible">Choose language</span>
|
{currentLanguage}
|
||||||
|
<span className="hidden--accessible">Choose language</span>
|
||||||
<span className="caret"></span>
|
<span className="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul className="dropdown-menu">
|
<ul className="dropdown-menu">
|
||||||
{links.map(link => (
|
{links.map((link) => (
|
||||||
<li
|
<li
|
||||||
className={currentLanguage === link.title ? "active" : undefined}
|
className={currentLanguage === link.title ? "active" : undefined}
|
||||||
key={link.href}
|
key={link.href}
|
||||||
>
|
>
|
||||||
<a href="https://www.scandichotels.com/sponsoring">{link.title}</a>
|
<a href={link.href}>{link.title}</a>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</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 |
Reference in New Issue
Block a user