Upgrade vers Svelte 5 et reproduction de la page d'accueil
- Upgrade : Svelte 5.0.0, Vite 7.0.4, @sveltejs/vite-plugin-svelte 6.0.0 - Migration syntaxe Svelte 5 : $derived, $props(), onclick, mount() - Navbar identique au site source avec logo GIF et menu animé - Page Home avec vidéo plein écran et lignes verticales - CSS modulaire organisé en fichiers séparés (variables, fonts, layout, buttons, etc.) - Assets copiés : fonts Danzza, vidéos, icônes Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
cbe89acb21
commit
a12c2df8f9
28 changed files with 1062 additions and 576 deletions
|
|
@ -1,12 +1,11 @@
|
|||
import './style.css'
|
||||
import './styles/index.css'
|
||||
import App from './App.svelte'
|
||||
import { mount } from 'svelte'
|
||||
import { initRouter } from './lib/router'
|
||||
|
||||
// Initialize the router
|
||||
initRouter()
|
||||
|
||||
// Mount the app
|
||||
const app = new App({
|
||||
const app = mount(App, {
|
||||
target: document.getElementById('app')
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue