about summary refs log tree commit diff stats
path: root/src/App.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.svelte')
-rw-r--r--src/App.svelte17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/App.svelte b/src/App.svelte
new file mode 100644
index 0000000..7ce6b42
--- /dev/null
+++ b/src/App.svelte
@@ -0,0 +1,17 @@
+<script>
+  import Navbar from './Navbar.svelte'
+
+  import Home from './Home.svelte'
+  import DDA from './algorithms/line-drawing/DDA.svelte'
+
+  let page = Home
+</script>
+
+<h1 class="title">CG Algorithms</h1>
+<Navbar />
+<main>
+  <svelte:component this={page} />
+</main>
+
+<style>
+</style>