diff --git a/package.json b/package.json index 8f85bf4..e6a775e 100644 --- a/package.json +++ b/package.json @@ -1,38 +1,38 @@ { - "name": "silvester-24", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --plugin-search-dir . --check . && eslint .", - "format": "prettier --plugin-search-dir . --write ." - }, - "devDependencies": { - "@sveltejs/adapter-auto": "^2.0.0", - "@sveltejs/kit": "^1.20.4", - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", - "eslint": "^8.28.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-svelte": "^2.30.0", - "prettier": "^2.8.0", - "prettier-plugin-svelte": "^2.10.1", - "svelte": "^4.0.5", - "svelte-check": "^3.4.3", - "tslib": "^2.4.1", - "typescript": "^5.0.0", - "vite": "^4.4.2" - }, - "type": "module", - "dependencies": { - "@sveltejs/adapter-node": "^1.3.1", - "svelte-particles": "^2.12.0", - "tsparticles": "^2.12.0", - "tsparticles-confetti": "^2.12.0", - "tsparticles-slim": "^2.12.0" - } + "name": "silvester-24", + "version": "0.0.1", + "private": true, + "scripts": { + "dev": "vite dev --port 8080 --host", + "build": "vite build", + "preview": "vite preview", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "prettier --plugin-search-dir . --check . && eslint .", + "format": "prettier --plugin-search-dir . --write ." + }, + "devDependencies": { + "@sveltejs/adapter-auto": "^2.0.0", + "@sveltejs/kit": "^1.20.4", + "@typescript-eslint/eslint-plugin": "^6.0.0", + "@typescript-eslint/parser": "^6.0.0", + "eslint": "^8.28.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-svelte": "^2.30.0", + "prettier": "^2.8.0", + "prettier-plugin-svelte": "^2.10.1", + "svelte": "^4.0.5", + "svelte-check": "^3.4.3", + "tslib": "^2.4.1", + "typescript": "^5.0.0", + "vite": "^4.4.2" + }, + "type": "module", + "dependencies": { + "@sveltejs/adapter-node": "^1.3.1", + "svelte-particles": "^2.12.0", + "tsparticles": "^2.12.0", + "tsparticles-confetti": "^2.12.0", + "tsparticles-slim": "^2.12.0" + } } diff --git a/src/app.html b/src/app.html index 8b83556..671b2c0 100644 --- a/src/app.html +++ b/src/app.html @@ -5,7 +5,8 @@ %sveltekit.head% - + + diff --git a/src/lib/components/button.svelte b/src/lib/components/button.svelte index 5595dbe..732cc30 100644 --- a/src/lib/components/button.svelte +++ b/src/lib/components/button.svelte @@ -16,21 +16,33 @@ font-size: 2em; color: #ceba51; background: transparent; - filter: drop-shadow(0px 0px 30px #886d2c); - /*** Your CSS code ***/ - border-style: solid; border-width: 30px; border-image: url(/border.png); - border-color: transparent; border-image-repeat: stretch; + border-image-slice: 100%; border-image-slice: 24% 23%; - transition: border-image-slice 0.3s ease, filter 0.3s ease; + transition: border-image-slice 0.3s ease; will-change: contents; - transform: translateZ(1px); } button:hover { - filter: drop-shadow(0px 0px 20px #886d2c); border-image-slice: 24% 23%; } + + button::after { + content: ''; + position: absolute; + background: rgba(0, 0, 0, 0.7); + box-shadow: 0 0 70px #ffb11b88; + top: -15px; + left: -15px; + z-index: -1; + width: calc(100% + 30px); + height: calc(100% + 30px); + transition: box-shadow 0.3s ease; + } + + button:hover::after { + box-shadow: 0 0 30px #ffb11b88; + } diff --git a/src/lib/components/confetti.svelte b/src/lib/components/confetti.svelte index a7d32a3..69cab3b 100644 --- a/src/lib/components/confetti.svelte +++ b/src/lib/components/confetti.svelte @@ -1,36 +1,46 @@ diff --git a/src/lib/components/curtains.svelte b/src/lib/components/curtains.svelte new file mode 100644 index 0000000..53d0585 --- /dev/null +++ b/src/lib/components/curtains.svelte @@ -0,0 +1,98 @@ + + +
+
+ curtain left + curtain right +
+ + diff --git a/src/lib/components/mask.svelte b/src/lib/components/mask.svelte index 91c92d9..f5758c1 100644 --- a/src/lib/components/mask.svelte +++ b/src/lib/components/mask.svelte @@ -36,7 +36,7 @@ } .wrapper > div :global(path) { - animation-duration: 5s !important; + animation-duration: 8s !important; stroke: #d9c556; } diff --git a/src/lib/components/maskenball.svelte b/src/lib/components/maskenball.svelte index 6924f77..cda6b35 100644 --- a/src/lib/components/maskenball.svelte +++ b/src/lib/components/maskenball.svelte @@ -22,7 +22,7 @@ div :global(path) { animation-duration: 5s !important; - animation-delay: 2s !important; + animation-delay: 3s !important; animation-fill-mode: forwards !important; stroke: #d9c556; } diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 7430cb6..3b70c57 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -4,7 +4,10 @@ diff --git a/static/curtain.avif b/static/curtain.avif new file mode 100644 index 0000000..0492d95 Binary files /dev/null and b/static/curtain.avif differ diff --git a/static/curtain.webp b/static/curtain.webp new file mode 100644 index 0000000..5e37dbc Binary files /dev/null and b/static/curtain.webp differ diff --git a/static/drapery.avif b/static/drapery.avif new file mode 100644 index 0000000..a04f97a Binary files /dev/null and b/static/drapery.avif differ diff --git a/static/drapery.webp b/static/drapery.webp new file mode 100644 index 0000000..5040b59 Binary files /dev/null and b/static/drapery.webp differ