Исправление ссылок навбара #11
5 changed files with 928 additions and 1442 deletions
1
.npmrc
1
.npmrc
|
|
@ -1 +1,2 @@
|
||||||
engine-strict=true
|
engine-strict=true
|
||||||
|
min-release-age=7
|
||||||
2310
package-lock.json
generated
2310
package-lock.json
generated
File diff suppressed because it is too large
Load diff
42
package.json
42
package.json
|
|
@ -5,48 +5,48 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"postbuild": "npx svelte-sitemap --domain https://teasanctuary.ru",
|
"postbuild": "npx svelte-sitemap",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify/css-svelte": "^1.0.0",
|
"@iconify/css-svelte": "^1.0.1",
|
||||||
"@iconify/json": "^2.2.439",
|
"@iconify/json": "^2.2.461",
|
||||||
"@react2svelte/swipeable": "^0.1.4",
|
"@react2svelte/swipeable": "^0.1.4",
|
||||||
"@svelte-put/dragscroll": "^4.0.0",
|
"@svelte-put/dragscroll": "^4.0.0",
|
||||||
"@sveltejs/adapter-auto": "^7.0.0",
|
"@sveltejs/adapter-auto": "^7.0.1",
|
||||||
"@sveltejs/adapter-static": "^3.0.10",
|
"@sveltejs/adapter-static": "^3.0.10",
|
||||||
"@sveltejs/kit": "^2.50.2",
|
"@sveltejs/kit": "^2.57.1",
|
||||||
"@tailwindcss/typography": "^0.5.19",
|
"@tailwindcss/typography": "^0.5.19",
|
||||||
"@tailwindcss/vite": "^4.1.18",
|
"@tailwindcss/vite": "^4.2.2",
|
||||||
"@types/node": "^25.2.3",
|
"@types/node": "^25.6.0",
|
||||||
"@vitejs/plugin-legacy": "^7.2.1",
|
"@vitejs/plugin-legacy": "^8.0.1",
|
||||||
"autoprefixer": "^10.4.24",
|
"autoprefixer": "^10.4.27",
|
||||||
"baseline-browser-mapping": "^2.9.19",
|
"baseline-browser-mapping": "^2.10.18",
|
||||||
"eslint": "^9.39.2",
|
"eslint": "^9.39.4",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-svelte": "^3.15.0",
|
"eslint-plugin-svelte": "^3.17.0",
|
||||||
"mdsvex": "^0.12.6",
|
"mdsvex": "^0.12.7",
|
||||||
"mdsvex-relative-images": "^2.0.0",
|
"mdsvex-relative-images": "^2.0.0",
|
||||||
"postcss": "^8.5.6",
|
"postcss": "^8.5.9",
|
||||||
"prettier": "^3.8.1",
|
"prettier": "^3.8.2",
|
||||||
"prettier-plugin-svelte": "^3.4.1",
|
"prettier-plugin-svelte": "^3.5.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.7.2",
|
"prettier-plugin-tailwindcss": "^0.7.2",
|
||||||
"svelte": "^5.50.2",
|
"svelte": "^5.55.3",
|
||||||
"svelte-check": "^4.3.6",
|
"svelte-check": "^4.4.6",
|
||||||
"svelte-disable-preload": "^0.0.3",
|
"svelte-disable-preload": "^0.0.3",
|
||||||
"svelte-resize-observer-action": "^0.0.4",
|
"svelte-resize-observer-action": "^0.0.4",
|
||||||
"svelte-sitemap": "^2.7.1",
|
"svelte-sitemap": "^3.0.1",
|
||||||
"sveltekit-autoimport": "^1.8.2",
|
"sveltekit-autoimport": "^1.8.2",
|
||||||
"tailwindcss": "^4.0.9",
|
"tailwindcss": "^4.0.9",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"unplugin-icons": "^23.0.1",
|
"unplugin-icons": "^23.0.1",
|
||||||
"vite": "^7.3.1"
|
"vite": "^8.0.8"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@formatjs/intl-durationformat": "^0.10.1"
|
"@formatjs/intl-durationformat": "^0.10.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,11 @@
|
||||||
class="flex shrink-0 flex-row gap-2 bg-slate-100 not-landscape:justify-around not-landscape:overflow-x-auto not-landscape:sm:px-2 landscape:flex-col landscape:overflow-y-auto landscape:sm:py-2"
|
class="flex shrink-0 flex-row gap-2 bg-slate-100 not-landscape:justify-around not-landscape:overflow-x-auto not-landscape:sm:px-2 landscape:flex-col landscape:overflow-y-auto landscape:sm:py-2"
|
||||||
>
|
>
|
||||||
{#each routes as route (route.href)}
|
{#each routes as route (route.href)}
|
||||||
<a class="nav-button {isActive(route.href) ? 'active' : ''}" href={route.href}>
|
<a
|
||||||
|
class="nav-button {isActive(route.href) ? 'active' : ''}"
|
||||||
|
href={route.href}
|
||||||
|
target="_self"
|
||||||
|
>
|
||||||
<div class="p-1">
|
<div class="p-1">
|
||||||
<HoverIcon
|
<HoverIcon
|
||||||
src={route.icon}
|
src={route.icon}
|
||||||
|
|
|
||||||
9
svelte-sitemap.config.ts
Normal file
9
svelte-sitemap.config.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
// svelte-sitemap.config.ts
|
||||||
|
import type { OptionsSvelteSitemap } from 'svelte-sitemap';
|
||||||
|
|
||||||
|
const config: OptionsSvelteSitemap = {
|
||||||
|
domain: 'https://teasanctuary.ru',
|
||||||
|
trailingSlashes: true,
|
||||||
|
};
|
||||||
|
|
||||||
|
export default config;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue