From 134e048849392bc366e781f4265ac466c4e40ed5 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 9 Apr 2026 09:58:33 +0000 Subject: [PATCH 1/4] Add src/app/book/[id]/page.tsx --- src/app/book/[id]/page.tsx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/app/book/[id]/page.tsx diff --git a/src/app/book/[id]/page.tsx b/src/app/book/[id]/page.tsx new file mode 100644 index 0000000..edb3f02 --- /dev/null +++ b/src/app/book/[id]/page.tsx @@ -0,0 +1,28 @@ +"use client"; + +import { useParams } from 'next/navigation'; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import TextBox from '@/components/Textbox'; + +export default function BookDetailPage() { + const params = useParams(); + const bookId = params.id; + + return ( + + + +
+ +
+
+
+ ); +} \ No newline at end of file -- 2.49.1 From 6c5c74dd8c9b776a6970dbd7e4b9daee18893177 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 9 Apr 2026 09:58:34 +0000 Subject: [PATCH 2/4] Add src/app/catalog/page.tsx --- src/app/catalog/page.tsx | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/app/catalog/page.tsx diff --git a/src/app/catalog/page.tsx b/src/app/catalog/page.tsx new file mode 100644 index 0000000..003e194 --- /dev/null +++ b/src/app/catalog/page.tsx @@ -0,0 +1,32 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import ProductCardOne from '@/components/sections/product/ProductCardOne'; +import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; + +export default function CatalogPage() { + return ( + + + +
+ window.location.href = '/book/p1' }, + { id: "p2", name: "Сквозь тернии", price: "1200 ₽", imageSrc: "http://img.b2bpic.net/free-photo/coffee-stack-books_23-2147711705.jpg", onProductClick: () => window.location.href = '/book/p2' }, + { id: "p3", name: "Бизнес с душой", price: "1500 ₽", imageSrc: "http://img.b2bpic.net/free-vector/collection-poster-flyer-brochure-annual-report-cover-layout-design-template_206725-321.jpg", onProductClick: () => window.location.href = '/book/p3' } + ]} + /> +
+ +
+
+ ); +} \ No newline at end of file -- 2.49.1 From a5f0ed9e13fc5915316594d7afff394d3365982a Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 9 Apr 2026 09:58:34 +0000 Subject: [PATCH 3/4] Update src/app/page.tsx --- src/app/page.tsx | 164 ++++++----------------------------------------- 1 file changed, 18 insertions(+), 146 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index cc4eced..d28b631 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -30,21 +30,13 @@ export default function LandingPage() { @@ -53,41 +45,26 @@ export default function LandingPage() {
@@ -99,48 +76,9 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" useInvertedBackground={false} products={[ - { - id: "p1", - name: "Путь к вершине", - price: "990 ₽", - imageSrc: "http://img.b2bpic.net/free-photo/cheerful-woman-with-book-sitting-forest_23-2147883262.jpg", - imageAlt: "Book cover minimal elegant", - }, - { - id: "p2", - name: "Сквозь тернии", - price: "1200 ₽", - imageSrc: "http://img.b2bpic.net/free-photo/coffee-stack-books_23-2147711705.jpg", - imageAlt: "Minimal book cover design", - }, - { - id: "p3", - name: "Бизнес с душой", - price: "1500 ₽", - imageSrc: "http://img.b2bpic.net/free-vector/collection-poster-flyer-brochure-annual-report-cover-layout-design-template_206725-321.jpg", - imageAlt: "Book cover creative layout", - }, - { - id: "p4", - name: "Жизнь в моменте", - price: "850 ₽", - imageSrc: "http://img.b2bpic.net/free-vector/new-year-2021-party-poster-template_52683-52506.jpg", - imageAlt: "Book cover modern typography", - }, - { - id: "p5", - name: "Тень и свет", - price: "1100 ₽", - imageSrc: "http://img.b2bpic.net/free-photo/creative-arrangement-with-different-books_23-2148851028.jpg", - imageAlt: "Book cover artistic concept", - }, - { - id: "p6", - name: "Секреты успеха", - price: "1350 ₽", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=d1swx0", - imageAlt: "Book cover unique design", - }, + { id: "p1", name: "Путь к вершине", price: "990 ₽", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-woman-with-book-sitting-forest_23-2147883262.jpg", onProductClick: () => window.location.href = '/book/p1' }, + { id: "p2", name: "Сквозь тернии", price: "1200 ₽", imageSrc: "http://img.b2bpic.net/free-photo/coffee-stack-books_23-2147711705.jpg", onProductClick: () => window.location.href = '/book/p2' }, + { id: "p3", name: "Бизнес с душой", price: "1500 ₽", imageSrc: "http://img.b2bpic.net/free-vector/collection-poster-flyer-brochure-annual-report-cover-layout-design-template_206725-321.jpg", onProductClick: () => window.location.href = '/book/p3' }, ]} title="Каталог книг" description="Откройте для себя судьбы, которые вдохновляют." @@ -168,26 +106,7 @@ export default function LandingPage() { rating={5} author="Марина В., предприниматель" avatars={[ - { - src: "http://img.b2bpic.net/free-photo/young-beautiful-girl-reading-sitting-cafe_176420-5902.jpg", - alt: "Happy reader portrait natural", - }, - { - src: "http://img.b2bpic.net/free-photo/high-angle-beautiful-woman-reading-outside_23-2148396355.jpg", - alt: "Young reader smiling candid", - }, - { - src: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-posing-indoors_23-2149745617.jpg", - alt: "Person reading book side profile", - }, - { - src: "http://img.b2bpic.net/free-photo/young-attractive-woman-reading-book-concept-learning-selfdevelopment_169016-65952.jpg", - alt: "Reader smiling holding book", - }, - { - src: "http://img.b2bpic.net/free-photo/interested-teenage-girl-reading-book-emotion-concept_169016-65399.jpg", - alt: "Reading enthusiast portrait bright", - }, + { src: "http://img.b2bpic.net/free-photo/young-beautiful-girl-reading-sitting-cafe_176420-5902.jpg", alt: "Happy reader portrait natural" }, ]} ratingAnimation="slide-up" avatarsAnimation="slide-up" @@ -198,21 +117,7 @@ export default function LandingPage() { -- 2.49.1 From 6e000602495f7f81fe04862f96b9e1e52619c1c3 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 9 Apr 2026 09:58:35 +0000 Subject: [PATCH 4/4] Update src/app/styles/variables.css --- src/app/styles/variables.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index b7afc67..20bbe76 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -10,14 +10,14 @@ --accent: #ffffff; --background-accent: #ffffff; */ - --background: #f5f4ef; - --card: #dad6cd; - --foreground: #2a2928; - --primary-cta: #2a2928; + --background: #fbf8f5; + --card: #f3eee9; + --foreground: #4a3f36; + --primary-cta: #a67c52; --primary-cta-text: #f5f4ef; - --secondary-cta: #ecebea; + --secondary-cta: #e8e1da; --secondary-cta-text: #2a2928; - --accent: #ffffff; + --accent: #d4c5b9; --background-accent: #c6b180; /* text sizing - set by ThemeProvider */ -- 2.49.1