mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-07-28 17:14:07 +00:00
Compare commits
6 commits
0675604d1a
...
3cc2944365
Author | SHA1 | Date | |
---|---|---|---|
|
3cc2944365 | ||
|
3e52214f28 | ||
|
a7c50ee337 | ||
|
2da982b534 | ||
|
dda029221f | ||
816d9dba30 |
6 changed files with 75 additions and 15 deletions
2
app.vue
2
app.vue
|
@ -1,9 +1,11 @@
|
||||||
<script>
|
<script>
|
||||||
import Backdrop from "./components/Backdrop.vue";
|
import Backdrop from "./components/Backdrop.vue";
|
||||||
|
import Footer from "./components/Footer.vue";
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<Backdrop />
|
<Backdrop />
|
||||||
<router-view />
|
<router-view />
|
||||||
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -130,6 +130,31 @@ const handleResize = () => {
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
init();
|
init();
|
||||||
animate();
|
animate();
|
||||||
|
// if im holding down shift how can i make it go faster? code it
|
||||||
|
window.addEventListener("keydown", (e) => {
|
||||||
|
if (e.key === "Shift") {
|
||||||
|
chars.forEach((char) => {
|
||||||
|
char.speed *= 10; // Double the speed when Shift is pressed
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (e.ctrlKey) {
|
||||||
|
chars.forEach((char) => {
|
||||||
|
char.speed *= 1.1; // Halve the speed when Ctrl is pressed
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (e.altKey) {
|
||||||
|
chars.forEach((char) => {
|
||||||
|
char.speed *= 0.9; // Halve the speed when Alt is pressed
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
window.addEventListener("keyup", (e) => {
|
||||||
|
if (e.key === "Shift") {
|
||||||
|
chars.forEach((char) => {
|
||||||
|
char.speed /= 10; // Reset the speed when Shift is released
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
window.addEventListener("mousemove", handleMouseMove);
|
window.addEventListener("mousemove", handleMouseMove);
|
||||||
window.addEventListener("resize", handleResize);
|
window.addEventListener("resize", handleResize);
|
||||||
});
|
});
|
||||||
|
|
44
components/Footer.vue
Normal file
44
components/Footer.vue
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<template>
|
||||||
|
<footer
|
||||||
|
class="footer sm:footer-horizontal bg-[#1e1e2e] text-neutral-content p-5 shadow-lg rounded-lg absolute bottom-5 left-1/2 transform -translate-x-1/2 w-1/3 max-w-screen-lg"
|
||||||
|
>
|
||||||
|
<aside>
|
||||||
|
<p class="font-mono font-small">
|
||||||
|
Made by Neon - Copyright {{ new Date().getFullYear() }}.
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
Freedom of speech is a fundamental human right.
|
||||||
|
</p>
|
||||||
|
</aside>
|
||||||
|
<nav>
|
||||||
|
<div class="grid grid-flow-col gap-2">
|
||||||
|
<!-- Social icons go here -->
|
||||||
|
<!-- TODO: make sure the bento icon is here, pgp, and canary and source link -->
|
||||||
|
<a
|
||||||
|
href="https://github.com/saahild.com"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
<Icon
|
||||||
|
name="mdi:github"
|
||||||
|
class="text-2xl hover:scale-110 transition-transform duration-300"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
<a href="https://saahild.com/creds/public.pgp.txt">
|
||||||
|
<Icon
|
||||||
|
name="mdi:key"
|
||||||
|
class="text-2xl hover:scale-110 transition-transform duration-300"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
<!-- <Icon name="catppuccin:folder-queue" class="text-2xl" /> -->
|
||||||
|
<a>
|
||||||
|
<!-- <img
|
||||||
|
src="/bento.svg"
|
||||||
|
alt="Bento Icon"
|
||||||
|
class="w-8 h-8 hover:scale-110 transition-transform duration-300"
|
||||||
|
/> -->
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</footer>
|
||||||
|
</template>
|
|
@ -23,5 +23,8 @@
|
||||||
"tailwindcss": "^4.1.10",
|
"tailwindcss": "^4.1.10",
|
||||||
"vue": "^3.5.16",
|
"vue": "^3.5.16",
|
||||||
"vue-router": "^4.5.1"
|
"vue-router": "^4.5.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@iconify-json/catppuccin": "^1.2.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1 @@
|
||||||
<template>
|
<template>meow</template>
|
||||||
<div class="hero min-h-screen">
|
|
||||||
<div class="hero-content text-center">
|
|
||||||
<div class="max-w-md">
|
|
||||||
<h1 class="text-5xl font-bold">Hello there</h1>
|
|
||||||
<p class="py-6">
|
|
||||||
Provident cupiditate voluptatem et in. Quaerat fugiat ut assumenda
|
|
||||||
excepturi exercitationem quasi. In deleniti eaque aut repudiandae et a
|
|
||||||
id nisi.
|
|
||||||
</p>
|
|
||||||
<button class="btn btn-primary">Get Started</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue