Skip to content

Commit

Permalink
add highly sus feature
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed Aug 9, 2024
1 parent eae1c0a commit 838ef75
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/lib/components/global/BPLogo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
import {draw, fade} from 'svelte/transition';
import {quintOut} from 'svelte/easing';
import {onMount} from 'svelte';
import { goto } from '$app/navigation';
let condition = false;
let count = 0;
function incrementCount() {
count++
if(count === 5){
window.location = "https://shattereddisk.github.io/rickroll/rickroll.mp4"
}
}
onMount(() => {
condition = true;
});
Expand Down Expand Up @@ -32,7 +41,7 @@
</style>

<div class="svg-cont">
<svg class="logo" viewBox="0 0 1175 825" xmlns="http://www.w3.org/2000/svg">
<svg class="logo" viewBox="0 0 1175 825" xmlns="http://www.w3.org/2000/svg" on:click={incrementCount}>
{#if condition}
<g id="_0" serif:id="0" transform="matrix(1,0,0,1,214.015,494.108)">
<g transform="matrix(1,0,0,1,-214.015,-494.108)">
Expand Down

0 comments on commit 838ef75

Please sign in to comment.