Skip to content

Commit

Permalink
Updating the back button
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Marques <[email protected]>
  • Loading branch information
Tylermarques committed Jun 10, 2024
1 parent d8f859e commit 713216f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/components/BackArrow.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<div class="backarrow absolute top-2, left-0">
<script lang="ts">
function goHome() {
window.location.href = '/';
}
</script>

<div on:mouseup={goHome} role="button" tabindex="0" class="backarrow absolute top-2, left-0">
<svg width="2em" height="2em" viewBox="0 0 200 200" preserveAspectRatio="xMidYMid slice">
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 24 24">
<g
Expand Down

0 comments on commit 713216f

Please sign in to comment.