Remove links to external aq-jaiyq.kz site (not user-owned)
This commit is contained in:
parent
3008f436be
commit
8434ca977f
File diff suppressed because one or more lines are too long
24
src/App.tsx
24
src/App.tsx
@ -10,7 +10,6 @@ import {
|
||||
ADDRESS,
|
||||
HOURS_CAFE,
|
||||
HOURS_MARKET,
|
||||
FULL_MENU_URL,
|
||||
type Product,
|
||||
} from "./products";
|
||||
|
||||
@ -32,10 +31,9 @@ export default function App() {
|
||||
<Section
|
||||
id="cafe"
|
||||
title="Кафе"
|
||||
subtitle="Популярные позиции. Полное меню — на отдельной странице."
|
||||
subtitle="Популярные позиции."
|
||||
items={popularCafe}
|
||||
onAdd={cart.add}
|
||||
fullMenuUrl={FULL_MENU_URL}
|
||||
/>
|
||||
<Section
|
||||
id="market"
|
||||
@ -127,14 +125,12 @@ function Section({
|
||||
subtitle,
|
||||
items,
|
||||
onAdd,
|
||||
fullMenuUrl,
|
||||
}: {
|
||||
id: string;
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
items: Product[];
|
||||
onAdd: (p: Product) => void;
|
||||
fullMenuUrl?: string;
|
||||
}) {
|
||||
return (
|
||||
<section id={id} className="px-4 py-10 sm:py-14 border-t border-charcoal-100">
|
||||
@ -144,16 +140,6 @@ function Section({
|
||||
<h2 className="font-display text-3xl sm:text-4xl font-bold text-charcoal-700">{title}</h2>
|
||||
{subtitle && <p className="text-charcoal-500 mt-1 text-sm sm:text-base">{subtitle}</p>}
|
||||
</div>
|
||||
{fullMenuUrl && (
|
||||
<a
|
||||
href={fullMenuUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-gold-500 hover:text-gold-600 text-sm whitespace-nowrap"
|
||||
>
|
||||
Все позиции →
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||
{items.map((p) => (
|
||||
@ -415,14 +401,6 @@ function Footer() {
|
||||
<div>
|
||||
<h3 className="font-display text-xl font-bold mb-2">АҚ ЖАЙЫҚ</h3>
|
||||
<p className="text-charcoal-200 text-sm">{ADDRESS}</p>
|
||||
<a
|
||||
href={FULL_MENU_URL}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-block mt-3 text-gold-300 hover:text-gold-200 text-sm"
|
||||
>
|
||||
Полное меню кафе →
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<h4 className="font-semibold mb-2">Часы работы</h4>
|
||||
|
||||
@ -48,4 +48,3 @@ export const PHONE_MARKET = "+7 776 031 96 66";
|
||||
export const ADDRESS = "ул. Ардагерлер 40, поселок Нура, Карагандинская область";
|
||||
export const HOURS_CAFE = "10:00 – 23:00";
|
||||
export const HOURS_MARKET = "Круглосуточно";
|
||||
export const FULL_MENU_URL = "https://aq-jaiyq.kz/cafe";
|
||||
|
||||
Reference in New Issue
Block a user