diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2025-01-01 13:07:38 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2025-01-01 13:07:38 +0000 |
commit | 95c147b237ffd8a4195c1998ecc693e71ad655f9 (patch) | |
tree | bf9621ca277b06f4a981220a9473b5b548faff6b /src/routes/RubySquareYear.svelte | |
parent | d5b1de62bce8fbdce8ff1d0ced8006e330ab0f5d (diff) | |
download | is-the-year-a-perfect-square-95c147b237ffd8a4195c1998ecc693e71ad655f9.tar is-the-year-a-perfect-square-95c147b237ffd8a4195c1998ecc693e71ad655f9.tar.gz is-the-year-a-perfect-square-95c147b237ffd8a4195c1998ecc693e71ad655f9.zip |
Refactor, add link to source, add license
Diffstat (limited to 'src/routes/RubySquareYear.svelte')
-rw-r--r-- | src/routes/RubySquareYear.svelte | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/routes/RubySquareYear.svelte b/src/routes/RubySquareYear.svelte new file mode 100644 index 0000000..53500bf --- /dev/null +++ b/src/routes/RubySquareYear.svelte @@ -0,0 +1,7 @@ +<script lang="ts"> + import Square from "./Square.svelte"; + + let { sqrt }: { sqrt: number } = $props(); +</script> + +<ruby>{sqrt ** 2}<rp> (</rp><rt>{sqrt}<Square /></rt><rp>)</rp></ruby> |