generated from wiz4apps/templates.OnlineShop
Favicon: mirror the source site's /favicon.ico — a 32×32 PNG payload under an `.ico` name — into public/favicon.ico. scripts/fetch-favicon.ts keeps it in place (`pnpm fetch:favicon`, or `pnpm fetch:brand` for wordmark + icon) and the dev server calls it at boot; the file handler sniffs the PNG signature for `.ico` and serves it as image/png, so the default /favicon.ico request — and the new <link rel="icon"> — resolve to the brand rose. Brand lockup: the tagline "Цветы подарки Минск" is now red, un-stretched text under the wordmark in the header and inside the footer's white plate (it used to be letter-spaced 8px caps, which read as squeezed). The wordmark itself is sized on one axis only (height, width:auto, object-fit:contain) — the artwork is tightly cropped, so a width and a height at once would stretch it. BRAND.tagline / favicon* record both facts in src/store/constants.ts.
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"name": "la-rose",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "La Rose — цветы и подарки: каталог, корзина, оформление и админ-панель (Next.js).",
|
|
"scripts": {
|
|
"migrate": "tsx scripts/migrate.ts",
|
|
"seed": "tsx scripts/seed.ts",
|
|
"db:setup": "pnpm migrate && pnpm seed",
|
|
"db:sql": "tsx scripts/generate-seed-sql.ts",
|
|
"db:verify": "tsx scripts/verify.ts",
|
|
"db:verify:images": "tsx scripts/verify-images.ts",
|
|
"fetch:logo": "tsx scripts/fetch-logo.ts",
|
|
"fetch:favicon": "tsx scripts/fetch-favicon.ts",
|
|
"fetch:brand": "pnpm fetch:logo && pnpm fetch:favicon",
|
|
"fetch:images": "tsx scripts/fetch-images.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "tsx scripts/verify.ts",
|
|
"ci": "tsc --noEmit && tsx scripts/verify.ts",
|
|
"dev": "tsx scripts/dev-server.ts"
|
|
},
|
|
"dependencies": {
|
|
"bcryptjs": "^2.4.3",
|
|
"dotenv": "^16.4.5",
|
|
"pg": "^8.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@electric-sql/pglite": "^0.2.0",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/node": "^22.10.1",
|
|
"@types/pg": "^8.11.10",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|