From: Ben Beltran Date: Sun, 2 Feb 2020 12:12:13 +0000 (+0100) Subject: Add a router X-Git-Url: https://git.r.bdr.sh/rbdr/forum/commitdiff_plain/24be7b5399ae4162702ad9a1f17b5711922a2da4?hp=8d2ed7debf232843c1facf53fd1efdab9b36d85c Add a router --- diff --git a/app/components/author/author.svelte b/app/components/author/author.svelte new file mode 100644 index 0000000..e69de29 diff --git a/app/components/home/home.svelte b/app/components/home/home.svelte new file mode 100644 index 0000000..280bb5d --- /dev/null +++ b/app/components/home/home.svelte @@ -0,0 +1,3 @@ +

Welcome.

+

You are now in a forum. Select a category from the left or input a + valid URL.

diff --git a/app/components/invalid_route/invalid_route.svelte b/app/components/invalid_route/invalid_route.svelte new file mode 100644 index 0000000..32225f1 --- /dev/null +++ b/app/components/invalid_route/invalid_route.svelte @@ -0,0 +1,2 @@ +

This is not right.

+

This URL is not valid. Try again.

diff --git a/app/components/post/post.svelte b/app/components/post/post.svelte new file mode 100644 index 0000000..429dfd6 --- /dev/null +++ b/app/components/post/post.svelte @@ -0,0 +1,29 @@ + + + +
+

It's just how it is...

+
+
+ + diff --git a/app/components/topic/topic.svelte b/app/components/topic/topic.svelte index 3816bbc..c2462fd 100644 --- a/app/components/topic/topic.svelte +++ b/app/components/topic/topic.svelte @@ -11,10 +11,10 @@