Kaynağa Gözat

🚧 draft someting

jmacura 3 yıl önce
ebeveyn
işleme
d5653aff02
4 değiştirilmiş dosya ile 12 ekleme ve 4 silme
  1. 1 1
      public/index.html
  2. 1 0
      src/AllInOneGraph.svelte
  3. 7 3
      src/App.svelte
  4. 3 0
      src/YearGraph.svelte

+ 1 - 1
public/index.html

@@ -4,7 +4,7 @@
 	<meta charset='utf-8'>
 	<meta name='viewport' content='width=device-width,initial-scale=1'>
 
-	<title>Svelte app</title>
+	<title>SDM Svelte app</title>
 
 	<link rel='icon' type='image/png' href='/favicon.png'>
 	<link rel='stylesheet' href='/global.css'>

+ 1 - 0
src/AllInOneGraph.svelte

@@ -0,0 +1 @@
+some very nice graph too

+ 7 - 3
src/App.svelte

@@ -1,10 +1,14 @@
 <script lang="ts">
-	export let name: string;
+	import AllInOneGraph from './AllInOneGraph.svelte';
+	import PilotsByYearGraph from './YearGraph.svelte';
+	//export let name: string;
 </script>
 
 <main>
-	<h1>Hello {name}!</h1>
-	<p>Visit the <a href="https://svelte.dev/tutorial">Svelte tutorial</a> to learn how to build Svelte apps.</p>
+	<h1>SDM visualisations</h1>
+	<!--p>Visit the <a href="https://svelte.dev/tutorial">Svelte tutorial</a> to learn how to build Svelte apps.</p-->
+	<PilotsByYearGraph></PilotsByYearGraph>
+	<AllInOneGraph></AllInOneGraph>
 </main>
 
 <style>

+ 3 - 0
src/YearGraph.svelte

@@ -0,0 +1,3 @@
+<script></script>
+
+a very nice graph