feat: bootstrap Nuxt portfolio with Tailwind and daisyUI for now

This commit is contained in:
badblocks 2025-07-17 15:53:12 -07:00
commit 91b162fb44
No known key found for this signature in database
15 changed files with 3363 additions and 0 deletions

View file

@ -0,0 +1,19 @@
import ScrollReveal from 'scrollreveal';
export default defineNuxtPlugin((nuxtApp) => {
const defaultOptions = {
origin: 'bottom',
distance: '80px',
duration: 1000,
delay: 200,
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);
});