fix: reroute static files and remove mockCms
This commit is contained in:
@@ -27,7 +27,7 @@ export default async function Footer({ lang }: LangParams) {
|
||||
<Image
|
||||
alt={footerData.logoConnection.edges[0].node.title}
|
||||
data-js="scandiclogoimg"
|
||||
data-nosvgsrc="/Static/img/scandic-logotype-white.png" // what here?
|
||||
data-nosvgsrc="/_static/img/scandic-logotype-white.png" // what here?
|
||||
height="22"
|
||||
src={footerData.logoConnection.edges[0].node.url}
|
||||
width="102"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
}
|
||||
|
||||
.arrow {
|
||||
background-image: url("/Static/img/icons/arrows/arrow-down-grey.png");
|
||||
background-image: url("/_static/img/icons/arrows/arrow-down-grey.png");
|
||||
background-position: 50%;
|
||||
background-repeat: no-repeat;
|
||||
display: inline-block;
|
||||
@@ -16,7 +16,7 @@
|
||||
}
|
||||
|
||||
.arrow.open {
|
||||
background-image: url("/Static/img/icons/arrows/arrow-up-grey.png");
|
||||
background-image: url("/_static/img/icons/arrows/arrow-up-grey.png");
|
||||
}
|
||||
|
||||
.link {
|
||||
@@ -28,4 +28,4 @@
|
||||
.link:hover {
|
||||
color: #7f7369;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ export default function MainMenu({
|
||||
const [isOpen, setIsOpen] = useState(false)
|
||||
|
||||
function toogleIsOpen() {
|
||||
setIsOpen(prevIsOpen => !prevIsOpen)
|
||||
setIsOpen((prevIsOpen) => !prevIsOpen)
|
||||
}
|
||||
|
||||
return (
|
||||
@@ -49,14 +49,12 @@ export default function MainMenu({
|
||||
id="scandic-logo"
|
||||
itemProp="url"
|
||||
>
|
||||
<span className={styles.hiddenAccessible}>
|
||||
{frontpageLinkText}
|
||||
</span>
|
||||
<span className={styles.hiddenAccessible}>{frontpageLinkText}</span>
|
||||
<Image
|
||||
alt="Scandic Hotels logo"
|
||||
className={styles.logo}
|
||||
data-js="scandiclogoimg"
|
||||
data-nosvgsrc="/Static/img/scandic-logotype.png"
|
||||
data-nosvgsrc="/_static/img/scandic-logotype.png"
|
||||
itemProp="logo"
|
||||
height={22}
|
||||
src={logo.url}
|
||||
@@ -70,15 +68,9 @@ export default function MainMenu({
|
||||
data-collapsable="main-menu"
|
||||
id="main-menu"
|
||||
>
|
||||
{links.map(link => (
|
||||
<li
|
||||
className={styles.li}
|
||||
key={link.href}
|
||||
>
|
||||
<a
|
||||
className={styles.link}
|
||||
href={link.href}
|
||||
>
|
||||
{links.map((link) => (
|
||||
<li className={styles.li} key={link.href}>
|
||||
<a className={styles.link} href={link.href}>
|
||||
{link.title}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user