Merged in chore/fix-partner-sas-todos (pull request #2823)

chore: Fix partner-sas todos

* Add onError to TrpcProvider

* Add AdobeSDKScript

* Add GTMScript

* Add adobeDataLayer script

* Add ReactQueryDevtools

* Move components to correct folder


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-09-18 07:28:14 +00:00
parent b0f3e4afbd
commit 65e4623b52
13 changed files with 110 additions and 5 deletions

View File

@@ -0,0 +1,25 @@
import Image from "@scandic-hotels/design-system/Image"
import { PoweredByScandic } from "../PoweredByScandic/PoweredByScandic"
import styles from "./header.module.css"
export function Header() {
return (
<>
<header className={styles.header}>
<Image
alt="SAS logotype"
className={styles.logo}
src="/_static/img/sas-logotype-white.svg"
height={32}
width={90}
sizes="100vw"
/>
</header>
<div className={styles.poweredBy}>
<PoweredByScandic />
</div>
</>
)
}

View File

@@ -0,0 +1,25 @@
.header {
background-color: var(--TEMP-sas-default);
color: white;
display: flex;
align-items: center;
padding: 16px;
@media screen and (min-width: 768px) {
padding: 20px 40px;
}
}
.logo {
height: auto;
width: 90px;
}
.poweredBy {
padding: 6px 16px;
background-color: var(--Base-Surface-Primary-light-Normal);
@media screen and (min-width: 768px) {
padding: 8px 40px;
}
}