This commit is contained in:
@kirill.komarov
2026-05-12 21:37:39 +05:00
parent 33e387d05c
commit 57fa4adf08
7 changed files with 120 additions and 13 deletions
+1 -5
View File
@@ -37,11 +37,7 @@ import { BearLogo } from '@/shared/ui/BearLogo'
type NavItem = { label: string; to: string }
const navItems: NavItem[] = [
{ label: 'Каталог', to: '/' },
{ label: 'О нас', to: '/about' },
{ label: 'О покупке', to: '/info' },
]
const navItems: NavItem[] = [{ label: 'Каталог', to: '/' }]
function ThemeControlsDesktop(props: {
scheme: string
+7 -4
View File
@@ -54,12 +54,15 @@ export function MainLayout({ children }: PropsWithChildren) {
Покупателям
</Typography>
<Stack spacing={1}>
<Link component={RouterLink} to="/about" color="inherit" underline="hover" variant="body2">
О нас и самовывоз
</Link>
<Link component={RouterLink} to="/me" color="inherit" underline="hover" variant="body2">
Личный кабинет
</Link>
<Link component={RouterLink} to="/info" color="inherit" underline="hover" variant="body2">
О покупке
</Link>
<Link component={RouterLink} to="/about" color="inherit" underline="hover" variant="body2">
О нас
</Link>
<Typography variant="body2" color="text.secondary">
Доставка и самовывоз: уточняются при оформлении заказа; по вопросам контакты ниже.
</Typography>
@@ -94,7 +97,7 @@ export function MainLayout({ children }: PropsWithChildren) {
color="text.secondary"
sx={{ display: 'block', textAlign: { xs: 'left', sm: 'center' } }}
>
© {year} {STORE_NAME}. Сделано для демонстрации возможностей витрины.
© {year} {STORE_NAME}
</Typography>
</Container>
</Box>
@@ -17,6 +17,7 @@ import { orderStatusLabelRu } from '@/shared/lib/order-status-labels'
import { ChatMessageBubble } from '@/shared/ui/ChatMessageBubble'
import { OrderMessageBody } from '@/shared/ui/OrderMessageBody'
import { RichTextMessageEditor } from '@/shared/ui/RichTextMessageEditor'
import { RichTextMessageContent } from '@/shared/ui/RichTextMessageContent'
export function MessagesPage() {
const qc = useQueryClient()
@@ -126,7 +127,7 @@ export function MessagesPage() {
},
},
}}
secondary={c.preview}
secondary={<RichTextMessageContent value={c.preview} tone="chat" />}
/>
</ListItemButton>
</ListItem>
+1 -1
View File
@@ -1,7 +1,7 @@
/** Публичный URL API. В dev можно не задавать — запросы идут на тот же origin + прокси Vite (/api → бэкенд). */
export const apiBaseURL = import.meta.env.VITE_API_URL ?? '/api'
export const STORE_NAME = 'Рукодельная лавка'
export const STORE_NAME = 'Любимый Креатив'
/** Демо-контакты для футера; при необходимости задайте через VITE_* в `.env`. */
export const STORE_EMAIL = import.meta.env.VITE_STORE_EMAIL ?? 'hello@example.com'
@@ -86,7 +86,8 @@ function CatalogSliderInner({ slides }: { slides: CatalogSliderSlide[] }) {
zIndex: 4,
pt: 4,
pb: slides.length > 1 ? 2 : 2,
// background: 'linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 50%, transparent 100%)',
WebkitTextStroke: '0.5px white',
// background: 'linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 50%, transparent 100%)',
}}
>
<Typography