spestexnika
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
.next
|
||||
/.pnp
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
|
||||
@import "tailwindcss";
|
||||
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #171717;
|
||||
--primary: #0c1239;
|
||||
--secondary: #f2a01c;
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
@@ -10,6 +13,8 @@
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--color-primary: var(--primary);
|
||||
--color-secondary: var(--secondary);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@@ -20,7 +25,10 @@
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
transition: 0.3s ease-in-out all;
|
||||
font-family: "Roboto", sans-serif;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import {dir} from "i18next";
|
||||
import { languages } from "../i18n/settings";
|
||||
import "./globals.css";
|
||||
|
||||
const geistSans = Geist({
|
||||
@@ -17,16 +19,17 @@ export const metadata: Metadata = {
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
params
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
params:{lang:string}
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
>
|
||||
<html lang={params.lang} dir={dir(params.lang)}>
|
||||
<body>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
101
app/page.tsx
@@ -1,103 +1,12 @@
|
||||
import Image from "next/image";
|
||||
import Header from "../components/nav_foot/header";
|
||||
import Navbar from "@/components/nav_foot/navbar";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="font-sans grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20">
|
||||
<main className="flex flex-col gap-[32px] row-start-2 items-center sm:items-start">
|
||||
<Image
|
||||
className="dark:invert"
|
||||
src="/next.svg"
|
||||
alt="Next.js logo"
|
||||
width={180}
|
||||
height={38}
|
||||
priority
|
||||
/>
|
||||
<ol className="font-mono list-inside list-decimal text-sm/6 text-center sm:text-left">
|
||||
<li className="mb-2 tracking-[-.01em]">
|
||||
Get started by editing{" "}
|
||||
<code className="bg-black/[.05] dark:bg-white/[.06] font-mono font-semibold px-1 py-0.5 rounded">
|
||||
app/page.tsx
|
||||
</code>
|
||||
.
|
||||
</li>
|
||||
<li className="tracking-[-.01em]">
|
||||
Save and see your changes instantly.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<div className="flex gap-4 items-center flex-col sm:flex-row">
|
||||
<a
|
||||
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:w-auto"
|
||||
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<Image
|
||||
className="dark:invert"
|
||||
src="/vercel.svg"
|
||||
alt="Vercel logomark"
|
||||
width={20}
|
||||
height={20}
|
||||
/>
|
||||
Deploy now
|
||||
</a>
|
||||
<a
|
||||
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 w-full sm:w-auto md:w-[158px]"
|
||||
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Read our docs
|
||||
</a>
|
||||
</div>
|
||||
</main>
|
||||
<footer className="row-start-3 flex gap-[24px] flex-wrap items-center justify-center">
|
||||
<a
|
||||
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
||||
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<Image
|
||||
aria-hidden
|
||||
src="/file.svg"
|
||||
alt="File icon"
|
||||
width={16}
|
||||
height={16}
|
||||
/>
|
||||
Learn
|
||||
</a>
|
||||
<a
|
||||
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
||||
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<Image
|
||||
aria-hidden
|
||||
src="/window.svg"
|
||||
alt="Window icon"
|
||||
width={16}
|
||||
height={16}
|
||||
/>
|
||||
Examples
|
||||
</a>
|
||||
<a
|
||||
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
||||
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<Image
|
||||
aria-hidden
|
||||
src="/globe.svg"
|
||||
alt="Globe icon"
|
||||
width={16}
|
||||
height={16}
|
||||
/>
|
||||
Go to nextjs.org →
|
||||
</a>
|
||||
</footer>
|
||||
<div >
|
||||
<Header/>
|
||||
<Navbar/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
1
assets/404.svg
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
assets/brands/gehl.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
BIN
assets/brands/hyundai.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
assets/brands/jcb.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
assets/brands/lonking.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
BIN
assets/brands/mitsubishi.png
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
assets/brands/xcmg.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
assets/changeImg/1.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/changeImg/2.jpg
Normal file
|
After Width: | Height: | Size: 230 KiB |
BIN
assets/changeImg/3.webp
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
assets/changeImg/4.jpg
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
assets/changeImg/jcb.avif
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
assets/cranes/avtocrane.png
Normal file
|
After Width: | Height: | Size: 299 KiB |
BIN
assets/cranes/avtokran.png
Normal file
|
After Width: | Height: | Size: 267 KiB |
BIN
assets/cranes/crane.png
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
assets/cranes/dizel.png
Normal file
|
After Width: | Height: | Size: 131 KiB |
BIN
assets/cranes/zoomlion.png
Normal file
|
After Width: | Height: | Size: 148 KiB |
BIN
assets/details/cranes/1-1.png
Normal file
|
After Width: | Height: | Size: 625 KiB |
BIN
assets/details/cranes/1-2.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/details/cranes/1-3.png
Normal file
|
After Width: | Height: | Size: 911 KiB |
BIN
assets/details/cranes/1-4.png
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
assets/details/cranes/2-1.png
Normal file
|
After Width: | Height: | Size: 1022 KiB |
BIN
assets/details/cranes/2-2.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/details/cranes/2-3.webp
Normal file
|
After Width: | Height: | Size: 207 KiB |
BIN
assets/details/cranes/2-4.webp
Normal file
|
After Width: | Height: | Size: 164 KiB |
BIN
assets/details/cranes/3-1.png
Normal file
|
After Width: | Height: | Size: 708 KiB |
BIN
assets/details/cranes/3-2.png
Normal file
|
After Width: | Height: | Size: 800 KiB |
BIN
assets/details/cranes/3-3.png
Normal file
|
After Width: | Height: | Size: 1011 KiB |
BIN
assets/details/cranes/4-1.png
Normal file
|
After Width: | Height: | Size: 966 KiB |
BIN
assets/details/cranes/4-3.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
assets/details/cranes/4-5.jpg
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
assets/details/cranes/4-6.jpg
Normal file
|
After Width: | Height: | Size: 201 KiB |
BIN
assets/details/cranes/4-7.jfif
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
assets/details/cranes/4-8.jfif
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
assets/details/cranes/5-1.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/details/cranes/5-2.jpg
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
assets/details/cranes/5-3.jfif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/details/cranes/5-4.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
assets/details/excavators/1-1.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
assets/details/excavators/1-2.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
assets/details/excavators/1-3.jfif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/details/excavators/1-4.jfif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/details/excavators/1-5.jfif
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/details/excavators/2-1.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
assets/details/excavators/2-2.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/details/excavators/3-1.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/details/excavators/3-2.png
Normal file
|
After Width: | Height: | Size: 854 KiB |
BIN
assets/details/excavators/3-3.jfif
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
assets/details/excavators/3-4.jfif
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
assets/details/excavators/4-1.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
assets/details/excavators/4-2.png
Normal file
|
After Width: | Height: | Size: 733 KiB |
BIN
assets/details/excavators/4-3.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
assets/details/excavators/4-4.jfif
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/details/loaders/1-1.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/details/loaders/1-2.png
Normal file
|
After Width: | Height: | Size: 701 KiB |
BIN
assets/details/loaders/1-3.jpg
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
assets/details/loaders/1-4.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
assets/details/loaders/1-5.webp
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
assets/details/loaders/1-6.webp
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
assets/details/loaders/1-7.webp
Normal file
|
After Width: | Height: | Size: 97 KiB |
BIN
assets/details/loaders/2-1.png
Normal file
|
After Width: | Height: | Size: 638 KiB |
BIN
assets/details/loaders/2-2.jpg
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
assets/details/loaders/2-4.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/details/loaders/2-5.jpg
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
assets/details/loaders/3-1.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/details/loaders/3-2.jpeg
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
assets/details/loaders/3-3.webp
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
assets/details/loaders/3-4.jpg
Normal file
|
After Width: | Height: | Size: 166 KiB |
BIN
assets/details/loaders/3-5.jpg
Normal file
|
After Width: | Height: | Size: 118 KiB |
BIN
assets/details/loaders/3-6.jpg
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
assets/details/loaders/3-7.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/details/loaders/3-8.jpg
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
assets/details/loaders/3-9.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/details/roaders/1-1.png
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/details/roaders/1-2.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
assets/details/roaders/1-3.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/details/roaders/2-1.png
Normal file
|
After Width: | Height: | Size: 772 KiB |
BIN
assets/details/roaders/2-2.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/details/roaders/2-3.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
assets/details/roaders/2-4.jfif
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/details/roaders/3-1.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/details/roaders/3-2.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/details/roaders/3-3.jfif
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
assets/details/roaders/3-4.jfif
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
assets/details/roaders/4-1.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
assets/details/roaders/4-2.jfif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
assets/details/roaders/4-3.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/details/roaders/4-4.jfif
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
assets/details/roaders/4-5.png
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/details/roaders/4-6.jfif
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
assets/details/trucks/1-1.png
Normal file
|
After Width: | Height: | Size: 714 KiB |
BIN
assets/details/trucks/1-2.webp
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
assets/details/trucks/1-3.webp
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
assets/details/trucks/1-4.webp
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
assets/details/trucks/1-5.webp
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
assets/details/trucks/1-6.webp
Normal file
|
After Width: | Height: | Size: 111 KiB |