feat: enhance contact form security and add animated hero

This commit is contained in:
badblocks 2025-07-19 22:59:05 -07:00
parent ea18dcdb8e
commit 8497cd819d
No known key found for this signature in database
19 changed files with 320 additions and 112 deletions

View file

@ -1,19 +1,16 @@
import ScrollReveal from 'scrollreveal';
import ScrollReveal from "scrollreveal";
export default defineNuxtPlugin((nuxtApp) => {
const defaultOptions = {
origin: 'bottom',
distance: '80px',
origin: "bottom",
distance: "80px",
duration: 1000,
delay: 200,
easing: 'cubic-bezier(0.5, 0, 0, 1)',
easing: "cubic-bezier(0.5, 0, 0, 1)",
reset: true,
};
const sr = ScrollReveal(defaultOptions);
// You can make it available to the rest of your Nuxt application
// by returning it in the `provide` object.
// This makes it accessible as `$sr` in your components.
nuxtApp.provide('sr', sr);
nuxtApp.provide("sr", sr);
});