first commit

This commit is contained in:
Giuseppe Naponiello
2026-06-14 19:01:02 +02:00
commit 36bcc9a842
98 changed files with 26936 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import "@/styles/main.css"
type BootstrapOptions = {
activeLink?: string | null;
onReady?: () => void | Promise<void>;
};
export async function bootstrap(options: BootstrapOptions = {}): Promise<void> {
const {
activeLink = null,
onReady,
} = options;
if(activeLink !== null){setActiveLink(activeLink);}
await onReady?.();
}
function setActiveLink(activeLink:string): void{
const link = document.getElementById(activeLink);
link?.classList.add('active');
}

View File

View File

@@ -0,0 +1,9 @@
import { bootstrap } from "@/config/bootstrap"
bootstrap({
onReady:() => init()
})
export function init(){
console.log('index')
}

View File

@@ -0,0 +1,8 @@
@import "tailwindcss";
@plugin "daisyui"; /* NOSONAR */
:root{
--dc-primary: rgb(34, 69, 138);
--dc-dark-blue: rgb(0, 15, 46);
--dc-white: rgb(255, 255, 255);
}