translation

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-01-27 20:44:21 +05:00
parent 21cb013cd8
commit ac7cd51600
24 changed files with 397 additions and 337 deletions

View File

@@ -1,6 +1,8 @@
import DotAnimatsiya from "@/components/dot/DotAnimatsiya";
import { useTranslations } from "next-intl";
export function AboutBanner() {
const t = useTranslations();
return (
<section className="relative w-full lg:h-[60vh] h-screen min-h-100 overflow-hidden pt-10">
{/* Background Image */}
@@ -24,17 +26,21 @@ export function AboutBanner() {
<div className="max-w-250 w-full mx-auto px-4">
<div className="relative z-20 h-full flex max-lg:flex-col items-start justify-between gap-5 pt-30">
<div className="spacw-y-4 ">
<DotAnimatsiya />
<div className="flex items-center gap-3">
<DotAnimatsiya />
<span className="text-sm text-white font-semibold tracking-wide">
{t("about.banner.title")}
</span>
</div>
<p
className=" bg-linear-to-br from-white via-white to-black
text-transparent bg-clip-text text-4xl sm:text-5xl lg:text-6xl font-bold leading-tight text-pretty"
>
Fire Fighter <br /> At The Ready
{t("about.banner.subtitle")}
</p>
</div>
<div className="lg:w-[40%] text-gray-300 mt-20">
It emphasizes that these firefighters are there not just as public
servants but as a vital part of the community.
{t("about.banner.description")}
</div>
</div>
</div>

View File

@@ -1,6 +1,8 @@
import { useTranslations } from "next-intl";
import Image from "next/image";
export function Story() {
const t = useTranslations();
return (
<div className="bg-[#1e1d1c] pb-0 relative z-10 max-[350px]:pb-30 ">
<div className="max-w-260 mx-auto px-4">
@@ -26,21 +28,11 @@ export function Story() {
{/* Content */}
<div className="relative z-20 p-8 lg:p-12 max-w-130">
<h2 className="text-white text-4xl lg:text-5xl font-bold mb-6">
OUR STORY
{t("about.story.title")}
</h2>
<p className="text-gray-300 mb-4">
Our story is one of unwavering dedication, selflessness, and a{" "}
<span className="text-white font-semibold">
deep commitment to the safety
</span>
and well-being of our communities.
</p>
<p className="text-gray-400 mb-6">
Aliquam lorem ante dapibus in viverra quis a tellus phasellus
viverra nulla ut metus varius laoreet quisque rutrum.
</p>
<p className="text-gray-300 mb-4">{t("about.story.description")}</p>
<button className="text-white flex items-center gap-2 hover:text-red-500 transition">
READ MORE
{t("about.story.readMore")}
<svg
className="w-4 h-4"
fill="none"
@@ -74,11 +66,10 @@ export function Story() {
/>
</span>
<div className="space-y-1 text-white">
<h2 className="text-xl font-semibold">FIREFORCE VISION</h2>
<p>
Phasellus viverra nulla ut metus varius leo imperdiet laoreet.
Quisque rutrum aenean augue vulputate eleifend.
</p>
<h2 className="text-xl font-semibold">
{t("about.story.vision.title")}
</h2>
<p>{t("about.story.vision.description")}</p>
</div>
</div>
<div className="flex sm:flex-row flex-col sm:items-center items-start md:rounded-t-xl max-md:rounded-xl max-w-md w-full sm:p-7 p-2 bg-black sm:gap-5 gap-2">
@@ -92,10 +83,11 @@ export function Story() {
/>
</span>
<div className="space-y-1 text-white">
<h2 className="text-xl font-semibold">FIREFORCE VISION</h2>
<h2 className="text-xl font-semibold">
{t("about.story.mission.title")}
</h2>
<p>
Phasellus viverra nulla ut metus varius leo imperdiet laoreet.
Quisque rutrum aenean augue vulputate eleifend.
{t("about.story.mission.description")}
</p>
</div>
</div>

View File

@@ -3,13 +3,15 @@
import Image from "next/image";
import { Check } from "lucide-react";
import DotAnimatsiya from "@/components/dot/DotAnimatsiya";
import { useTranslations } from "next-intl";
export function WhyChooseUs() {
const t = useTranslations();
const features = [
{ title: "Fast Response Team" },
{ title: "Experienced Firefighter" },
{ title: "Ready 24 Hours" },
{ title: "Fast Response Team" },
{ title: t("about.whyChoose.features.fastResponse") },
{ title: t("about.whyChoose.features.ready24") },
{ title: t("about.whyChoose.features.experienced") },
{ title: t("about.whyChoose.features.quality") },
];
return (
@@ -22,23 +24,20 @@ export function WhyChooseUs() {
<div className="mb-4 flex items-center gap-2">
<DotAnimatsiya />
<span className="text-sm font-semibold tracking-wider text-white">
WHY CHOOSE US
{t("about.whyChoose.title")}
</span>
</div>
<h2
className="bg-linear-to-br from-white via-white to-black
text-transparent bg-clip-text text-4xl font-bold sm:text-5xl lg:text-6xl"
>
WE ARE BEST
<br />
FIREFIGHTER
{t("about.whyChoose.subtitle")}
</h2>
</div>
{/* Description */}
<p className="text-base leading-relaxed text-gray-400 sm:text-lg">
Aliquam lorem ante dapibus in viverra quis a tellus phasellus
viverra nulla ut metus varius laoreet quisque rutrum.
{t("about.whyChoose.description")}
</p>
{/* Features Grid */}
@@ -58,7 +57,7 @@ export function WhyChooseUs() {
{/* CTA Button */}
<div>
<button className="shadow-[0px_0px_2px_8px_#ff01015c] rounded-full bg-red-600 px-6 py-3 font-bold text-white transition-all hover:bg-red-700 sm:px-8 sm:py-4">
CONTACT US
{t("about.whyChoose.contact")}
</button>
</div>
</div>
@@ -88,10 +87,7 @@ export function WhyChooseUs() {
/>
<div>
<p className="text-sm font-bold text-white sm:text-base">
BEST AWARD
</p>
<p className="text-xs text-gray-400 sm:text-sm">
FIREFIGHTER 2025
{t("about.whyChoose.award")}
</p>
</div>
</div>