Restructure

This commit is contained in:
LionTion committed 2026-09-09 17:27:39 +02:00
1 parent 3c052a8b43
commit 85d0d0be57
7 files changed
+22 -2

No files matched your search

+5
View File
@@ -42,6 +42,11 @@ a {
text-decoration: none;
}
.screen-container {
width: 100%;
height: 100%;
}
.charged-button {
position: relative;
display: inline-flex;
+3 -1
View File
@@ -5,8 +5,9 @@ import Image from "next/image";
import styles from "./page.module.css";
import ChargedButton from "@/components/ChargedButton";
import MapView from "@/components/MapView";
import WelcomeScreen from "@/components/screens/WelcomeScreen";
export default function Home() {
export default function Main() {
const [doTest, setDoTest] = useState(false);
return (
@@ -22,6 +23,7 @@ export default function Home() {
setDoTest(true);
}}>test</button>
{doTest && <MapView></MapView>}
<WelcomeScreen />
</main>
</div>
);
+1 -1
View File
@@ -3,7 +3,7 @@
import React, { useEffect, useRef, useState, useCallback } from 'react';
import * as maplibregl from 'maplibre-gl';
import 'maplibre-gl/dist/maplibre-gl.css';
import styles from './MapView.module.css';
import styles from '../css/MapView.module.css';
export interface PlaceMarker {
id: string;
+10
View File
@@ -0,0 +1,10 @@
import styles from "../../css/WelcomeScreen.module.css";
export default function WelcomeScreen() {
console.log(styles);
return(
<div className="screen-container">
</div>
)
}
File renamed without changes.
View File
Whitespace-only changes.