build
This commit is contained in:
parent
f1e4b7ebb5
commit
205008d035
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -66,10 +66,10 @@
|
|||
})(window, document, "script", "dataLayer", "GTM-NK394LVK");
|
||||
</script>
|
||||
<title>Turkmen Textile</title>
|
||||
<script type="module" crossorigin src="/assets/index-DNPeJrzc.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-CMEFCn_o.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/react-vendor-CE_Ks92h.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-Kiotq6MA.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Cw8L3ftj.css">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-_5RJ9fWZ.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DszKizJh.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
"embla-carousel-autoplay": "^8.5.2",
|
||||
"embla-carousel-react": "^8.5.2",
|
||||
"i18next": "^24.2.2",
|
||||
"lenis": "^1.3.4",
|
||||
"locomotive-scroll": "^4.1.4",
|
||||
"lucide-react": "^0.473.0",
|
||||
"motion": "^12.0.1",
|
||||
|
|
|
|||
|
|
@ -50,6 +50,9 @@ importers:
|
|||
i18next:
|
||||
specifier: ^24.2.2
|
||||
version: 24.2.2(typescript@5.6.3)
|
||||
lenis:
|
||||
specifier: ^1.3.4
|
||||
version: 1.3.4(react@18.3.1)
|
||||
locomotive-scroll:
|
||||
specifier: ^4.1.4
|
||||
version: 4.1.4
|
||||
|
|
@ -1592,6 +1595,20 @@ packages:
|
|||
keyv@4.5.4:
|
||||
resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
|
||||
|
||||
lenis@1.3.4:
|
||||
resolution: {integrity: sha512-WIGk8wiV2ABm/T7M+NC+tAV8fjzNJD1J4z11aZ3mTtx7WAZX/4QdCNhBO0g/TqXISA+/3hTbzrPC4FW1nhoNMQ==}
|
||||
peerDependencies:
|
||||
'@nuxt/kit': '>=3.0.0'
|
||||
react: '>=17.0.0'
|
||||
vue: '>=3.0.0'
|
||||
peerDependenciesMeta:
|
||||
'@nuxt/kit':
|
||||
optional: true
|
||||
react:
|
||||
optional: true
|
||||
vue:
|
||||
optional: true
|
||||
|
||||
lethargy@1.0.9:
|
||||
resolution: {integrity: sha512-nFM8blpCF9rqIL5mRAaTGc78W8oQixVtsD86jbEPvcI13+lDUYJf3R7DZQQL7tCiBpbGpGKMX2gwJFO9hiaOkg==}
|
||||
|
||||
|
|
@ -3466,6 +3483,10 @@ snapshots:
|
|||
dependencies:
|
||||
json-buffer: 3.0.1
|
||||
|
||||
lenis@1.3.4(react@18.3.1):
|
||||
optionalDependencies:
|
||||
react: 18.3.1
|
||||
|
||||
lethargy@1.0.9: {}
|
||||
|
||||
levn@0.4.1:
|
||||
|
|
|
|||
14
src/App.tsx
14
src/App.tsx
|
|
@ -1,17 +1,27 @@
|
|||
import { Outlet } from "react-router-dom";
|
||||
import { Footer, Header } from "./components/layout";
|
||||
import LanguageSync from "./lang-sync";
|
||||
import ReactLenis from "lenis/react";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<ReactLenis
|
||||
root
|
||||
options={{
|
||||
lerp: 0.07,
|
||||
}}
|
||||
>
|
||||
<Header />
|
||||
|
||||
<main className="flex flex-col min-h-screen">
|
||||
<LanguageSync />
|
||||
<Header />
|
||||
<div className="flex-auto">
|
||||
<Outlet />
|
||||
</div>
|
||||
<Footer />
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
</ReactLenis>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import { FC } from "react";
|
||||
import { useMediaQuery } from "usehooks-ts";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { HomeTimer } from "./";
|
||||
import useEmblaCarousel from "embla-carousel-react";
|
||||
import Autoplay from "embla-carousel-autoplay";
|
||||
import { Link } from "react-router-dom";
|
||||
|
|
@ -38,7 +37,7 @@ export const HomeHero: FC = () => {
|
|||
const banners = getBanners();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="mb-6">
|
||||
<section className="flex flex-col gap-5">
|
||||
<div ref={emblaRef} className="embla overflow-hidden">
|
||||
<div className="embla__container flex">
|
||||
|
|
@ -66,9 +65,9 @@ export const HomeHero: FC = () => {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div className="relative">
|
||||
{/* <div className="relative">
|
||||
<HomeTimer className="absolute sm:bottom-12 bottom-28 2xl:right-[10%] xl:right-[13%] lg:right-[15%] right-10" />
|
||||
</div>
|
||||
</div> */}
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ export const Menu: FC<PropsWithChildren<Props>> = ({
|
|||
)}
|
||||
</PopoverTrigger>
|
||||
|
||||
<PopoverContent className="w-fit px-0 bg-surface_container">
|
||||
<PopoverContent className="w-fit relative z-[200] px-0 bg-surface_container">
|
||||
{dropDownContent &&
|
||||
dropDownContent.map((item, i) =>
|
||||
item.hover ? (
|
||||
|
|
|
|||
Loading…
Reference in New Issue