Design Start
This commit is contained in:
1 parent
b5a088cf9c
commit
dfe4ab50f3
57 files changed
+478
-141
No files matched your search
+8
-5
@@ -16,10 +16,6 @@
|
||||
font-family: 'Lancelot';
|
||||
}
|
||||
|
||||
.test {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.lancelot-italic {
|
||||
font-family: 'Lancelot';
|
||||
font-style: oblique 15deg;
|
||||
@@ -37,6 +33,12 @@
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #171717;
|
||||
|
||||
--blue: #294a97;
|
||||
--dark-brown: #38241b;
|
||||
--light-blue: #3f8fca;
|
||||
--light-brown: #bfb2a1;
|
||||
--green: #008539;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@@ -66,7 +68,8 @@ body {
|
||||
min-height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: var(--foreground);
|
||||
/*color: var(--foreground);*/
|
||||
color: var(--dark-brown);
|
||||
background: var(--background);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
||||
+3
-12
@@ -1,17 +1,7 @@
|
||||
import { SerwistProvider } from "@serwist/turbopack/react";
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
import clsx from "clsx";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Excalibur Outdoor Tour",
|
||||
@@ -20,8 +10,9 @@ export const metadata: Metadata = {
|
||||
|
||||
export default function RootLayout({ children }: LayoutProps<"/">) {
|
||||
return (
|
||||
<html lang="en" dir="ltr" className={`${geistSans.variable} ${geistMono.variable}`}>
|
||||
<html lang="en" dir="ltr" className={clsx("eisenkraft-regular")}>
|
||||
<meta name="apple-mobile-web-app-title" content="Excalibur Outdoor Tour" />
|
||||
<meta httpEquiv="ScreenOrientation" content="autoRotate:disabled" />
|
||||
<body>
|
||||
<SerwistProvider swUrl="/serwist/sw.js">{children}</SerwistProvider>
|
||||
</body>
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ export default function manifest(): MetadataRoute.Manifest {
|
||||
background_color: '#000000',
|
||||
theme_color: '#ffffff',
|
||||
icons: [
|
||||
{
|
||||
/*{
|
||||
src: '/icons/icon-192x192.png',
|
||||
sizes: '192x192',
|
||||
type: 'image/png',
|
||||
@@ -22,7 +22,7 @@ export default function manifest(): MetadataRoute.Manifest {
|
||||
src: '/icons/icon-512x512.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
},
|
||||
},*/
|
||||
],
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,6 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: var(--font-geist-sans);
|
||||
background-color: var(--background);
|
||||
|
||||
&.pad {
|
||||
|
||||
+1
-11
@@ -27,24 +27,14 @@ export default function Main() {
|
||||
console.log("TourCode", tourCode);
|
||||
|
||||
const content = [
|
||||
(<StyledContainer key={-1}><p>Test!</p></StyledContainer>),
|
||||
(<WelcomeScreen key={0}/>),
|
||||
(<Intro key={1} />),
|
||||
(<Tour key={2} />)
|
||||
];
|
||||
|
||||
return (
|
||||
<div className={clsx(styles.page, (step < 2 && false) && styles["pad"])}>
|
||||
<div className={clsx(styles.page, "lancelot-regular")}>
|
||||
<main className={styles.main}>
|
||||
<img src={"/Startseite_Hintergrund.webp"} style={{
|
||||
position: "absolute",
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
objectFit: "scale-down",
|
||||
zIndex: 7
|
||||
}} />
|
||||
{content[step]}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user