diff options
author | Andinus <andinus@nand.sh> | 2021-10-12 15:00:56 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-10-12 15:00:56 +0530 |
commit | 89299f7508cc5ce1f88c1629f6c7ab6d4e5b4a77 (patch) | |
tree | 6ece01a2e6f3c386c0dff3611cb3503dd3b093fe | |
parent | 5a3346900ef7d54859740caf57678e79f1d6ce7c (diff) | |
download | dorado-89299f7508cc5ce1f88c1629f6c7ab6d4e5b4a77.tar.gz |
Add Translation to navbar
-rw-r--r-- | src/Home.svelte | 6 | ||||
-rw-r--r-- | src/Navbar.svelte | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/Home.svelte b/src/Home.svelte index 552e7ee..1a81465 100644 --- a/src/Home.svelte +++ b/src/Home.svelte @@ -7,3 +7,9 @@ Checkout my other <a href="https://andinus.unfla.me/projects">projects</a>. </p> +<p> + Inspired by Karishma's work: + <a href="https://karishmarajput.github.io/cg-algo"> + karishmarajput.github.io/cg-algo + </a>. +</p> diff --git a/src/Navbar.svelte b/src/Navbar.svelte index 04b63dd..4b0bba1 100644 --- a/src/Navbar.svelte +++ b/src/Navbar.svelte @@ -5,6 +5,7 @@ import DDA from './algorithms/line-drawing/DDA.svelte'; import Bresenham from './algorithms/line-drawing/Bresenham.svelte'; import Scaling from './algorithms/2d-transformations/Scaling.svelte'; + import Translation from './algorithms/2d-transformations/Translation.svelte'; const dispatch = createEventDispatcher(); const changePage = (p) => dispatch('message', { page: p }); @@ -31,7 +32,7 @@ <button on:click={() => changePage(Scaling)}> Scaling </button> - <button on:click={() => alert("Not Implemented.")}> + <button on:click={() => changePage(Translation)}> Translation </button> </div> |