Restructure
This commit is contained in:
1 parent
3c052a8b43
commit
85d0d0be57
7 files changed
+22
-2
No files matched your search
Vendored
+3
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"compilets.autoStart": false
|
||||||
|
}
|
||||||
@@ -42,6 +42,11 @@ a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.screen-container {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.charged-button {
|
.charged-button {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|||||||
+3
-1
@@ -5,8 +5,9 @@ import Image from "next/image";
|
|||||||
import styles from "./page.module.css";
|
import styles from "./page.module.css";
|
||||||
import ChargedButton from "@/components/ChargedButton";
|
import ChargedButton from "@/components/ChargedButton";
|
||||||
import MapView from "@/components/MapView";
|
import MapView from "@/components/MapView";
|
||||||
|
import WelcomeScreen from "@/components/screens/WelcomeScreen";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Main() {
|
||||||
const [doTest, setDoTest] = useState(false);
|
const [doTest, setDoTest] = useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -22,6 +23,7 @@ export default function Home() {
|
|||||||
setDoTest(true);
|
setDoTest(true);
|
||||||
}}>test</button>
|
}}>test</button>
|
||||||
{doTest && <MapView></MapView>}
|
{doTest && <MapView></MapView>}
|
||||||
|
<WelcomeScreen />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import React, { useEffect, useRef, useState, useCallback } from 'react';
|
import React, { useEffect, useRef, useState, useCallback } from 'react';
|
||||||
import * as maplibregl from 'maplibre-gl';
|
import * as maplibregl from 'maplibre-gl';
|
||||||
import 'maplibre-gl/dist/maplibre-gl.css';
|
import 'maplibre-gl/dist/maplibre-gl.css';
|
||||||
import styles from './MapView.module.css';
|
import styles from '../css/MapView.module.css';
|
||||||
|
|
||||||
export interface PlaceMarker {
|
export interface PlaceMarker {
|
||||||
id: string;
|
id: string;
|
||||||
|
|||||||
@@ -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.
Whitespace-only changes.
Reference in new issue
Block a user