diff --git a/app/[locale]/about/baza/page.tsx b/app/[locale]/about/baza/page.tsx new file mode 100644 index 0000000..3170f01 --- /dev/null +++ b/app/[locale]/about/baza/page.tsx @@ -0,0 +1,9 @@ +import NormativBazaPage from "@/components/pages/about/aboutDetail/baza"; + +export default function Baza() { + return ( +
+ +
+ ); +} diff --git a/app/[locale]/about/layout.tsx b/app/[locale]/about/layout.tsx new file mode 100644 index 0000000..8a591cc --- /dev/null +++ b/app/[locale]/about/layout.tsx @@ -0,0 +1,15 @@ +import { AboutBanner } from "@/components/pages/about"; +import React from "react"; + +export default function AboutLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( +
+ + {children} +
+ ); +} diff --git a/app/[locale]/about/page.tsx b/app/[locale]/about/page.tsx index 3b7e4e4..c8bf8bb 100644 --- a/app/[locale]/about/page.tsx +++ b/app/[locale]/about/page.tsx @@ -1,10 +1,9 @@ -import { AboutBanner, Story, WhyChooseUs } from "@/components/pages/about"; +import { Story, WhyChooseUs } from "@/components/pages/about"; import { Statistics } from "@/components/pages/home"; export default function Page() { return (
- diff --git a/components/pages/about/aboutBanner.tsx b/components/pages/about/aboutBanner.tsx index dcc9529..083ebb0 100644 --- a/components/pages/about/aboutBanner.tsx +++ b/components/pages/about/aboutBanner.tsx @@ -1,10 +1,11 @@ import DotAnimatsiya from "@/components/dot/DotAnimatsiya"; import { useTranslations } from "next-intl"; +import { InnerNavbar } from "./innerNavbar"; export function AboutBanner() { const t = useTranslations(); return ( -
+
{/* Background Image */}
-
+
+ +
+
@@ -39,7 +43,7 @@ export function AboutBanner() { {t("about.banner.subtitle")}

-
+
{t("about.banner.description")}
diff --git a/components/pages/about/aboutDetail/baza.tsx b/components/pages/about/aboutDetail/baza.tsx new file mode 100644 index 0000000..8c1aa20 --- /dev/null +++ b/components/pages/about/aboutDetail/baza.tsx @@ -0,0 +1,65 @@ +"use client"; + +import { motion } from "framer-motion"; + +export default function NormativBazaPage() { + return ( +
+ {/* Hero Section */} +
+ + Normativ Baza + + + + Kompaniyamiz yong‘inga qarshi vositalar va tizimlarni o‘rnatish hamda + sotish faoliyatini amaldagi normativ-huquqiy hujjatlar asosida olib + boradi. Barcha ishlar davlat standartlari va xavfsizlik talablariga + muvofiq amalga oshiriladi. + +
+ + {/* Cards */} +
+ {[ + { + title: "Davlat Standartlari", + text: "Yong‘in xavfsizligi bo‘yicha milliy standartlarga to‘liq mos keluvchi uskunalar va montaj ishlari.", + }, + { + title: "Texnik Reglamentlar", + text: "Yong‘inga qarshi tizimlarni loyihalash va o‘rnatishda amaldagi texnik reglamentlarga rioya qilinadi.", + }, + { + title: "Xavfsizlik Talablari", + text: "Har bir loyiha individual tahlil qilinadi va obyektning xavfsizlik darajasi hisobga olinadi.", + }, + ].map((item, i) => ( + +

{item.title}

+

{item.text}

+
+ ))} +
+
+ ); +} diff --git a/components/pages/about/index.ts b/components/pages/about/index.ts index 1311891..76195b2 100644 --- a/components/pages/about/index.ts +++ b/components/pages/about/index.ts @@ -2,3 +2,4 @@ export { AboutBanner } from "./aboutBanner"; export { Story } from "./story"; export { AboutLine } from "./aboutLine"; export { WhyChooseUs } from "./whyChooseUs"; +export { InnerNavbar } from "./innerNavbar"; \ No newline at end of file diff --git a/components/pages/about/innerNavbar.tsx b/components/pages/about/innerNavbar.tsx new file mode 100644 index 0000000..0a3a795 --- /dev/null +++ b/components/pages/about/innerNavbar.tsx @@ -0,0 +1,50 @@ +"use client"; + +import { useLocale, useTranslations } from "next-intl"; +import Link from "next/link"; +import { usePathname } from "next/navigation"; + +export function InnerNavbar() { + const t = useTranslations(); + const locale = useLocale(); + const pathname = usePathname(); + + const tabs = [ + { name: t("about.subPages.baza"), value: "baza" }, + { name: t("about.subPages.certificate"), value: "certificate" }, + { name: t("about.subPages.notePP"), value: "notePP" }, + { name: t("about.subPages.noteTrailer"), value: "noteTrailer" }, + { name: t("about.subPages.noteFlans"), value: "noteFlans" }, + ]; + + return ( + + ); +} + +export default InnerNavbar; \ No newline at end of file diff --git a/components/pages/about/story.tsx b/components/pages/about/story.tsx index ad0db1f..1752ed3 100644 --- a/components/pages/about/story.tsx +++ b/components/pages/about/story.tsx @@ -6,7 +6,7 @@ export function Story() { return (
-
+
{/* Background Image */}