-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#asosiy sahifaning birinchi qismi va navbar tugallandi
- Loading branch information
0 parents
commit 1238c0c
Showing
51 changed files
with
8,083 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": ["next/core-web-vitals", "next/typescript"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.* | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/versions | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# env files (can opt-in for committing if needed) | ||
.env* | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Navbar from '@/components/Navbar' | ||
import React from 'react' | ||
|
||
export default function page() { | ||
return ( | ||
<div> | ||
<section> | ||
{/* Navbar Componenti */} | ||
<Navbar /> | ||
</section> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Navbar from '@/components/Navbar' | ||
import React from 'react' | ||
|
||
export default function page() { | ||
return ( | ||
<div> | ||
<section> | ||
{/* Navbar Componenti */} | ||
<Navbar /> | ||
</section> | ||
</div> | ||
) | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
* { | ||
@apply scroll-smooth; | ||
} | ||
|
||
body { | ||
@apply bg-white min-h-screen; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 6px; | ||
height: 3px; | ||
border-radius: 50px; | ||
} | ||
::-webkit-scrollbar-track { | ||
background: transparent; | ||
} | ||
::-webkit-scrollbar-thumb { | ||
background: #e5e7eb; | ||
border-radius: 50px; | ||
} | ||
::-webkit-scrollbar-thumb:hover { | ||
background: #363A3D; | ||
} | ||
|
||
.gradient { | ||
background: linear-gradient(to bottom, #7db9e8 0%, #ff6d6d 0%, #ff4495 100%); | ||
} | ||
|
||
|
||
.main { | ||
width: 100vw; | ||
min-height: 100vh; | ||
position: fixed; | ||
display: flex; | ||
justify-content: center; | ||
padding: 120px 24px 160px 24px; | ||
pointer-events: none; | ||
} | ||
|
||
.main:before { | ||
background: radial-gradient(circle, rgba(2, 0, 36, 0) 0, #fafafa 100%); | ||
position: absolute; | ||
content: ""; | ||
z-index: 2; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
} | ||
|
||
.main:after { | ||
content: ""; | ||
background-image: url("/images/grid.svg"); | ||
z-index: 1; | ||
position: absolute; | ||
width: 100%; | ||
height: 100%; | ||
top: 0; | ||
opacity: 0.4; | ||
filter: invert(1); | ||
} | ||
|
||
.main_gradient { | ||
height: fit-content; | ||
z-index: 3; | ||
width: 100%; | ||
max-width: 640px; | ||
background-image: radial-gradient( | ||
at 27% 37%, | ||
hsla(215, 98%, 61%, 1) 0px, | ||
transparent 0% | ||
), | ||
radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 1) 0px, transparent 50%), | ||
radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 1) 0px, transparent 50%), | ||
radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 1) 0px, transparent 50%), | ||
radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 1) 0px, transparent 50%), | ||
radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 1) 0px, transparent 50%), | ||
radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%); | ||
position: absolute; | ||
content: ""; | ||
width: 100%; | ||
height: 100%; | ||
filter: blur(100px) saturate(150%); | ||
top: 80px; | ||
opacity: 0.15; | ||
} | ||
|
||
@layer base { | ||
:root { | ||
--background: 0 0% 100%; | ||
--foreground: 0 0% 3.9%; | ||
--card: 0 0% 100%; | ||
--card-foreground: 0 0% 3.9%; | ||
--popover: 0 0% 100%; | ||
--popover-foreground: 0 0% 3.9%; | ||
--primary: 0 0% 9%; | ||
--primary-foreground: 0 0% 98%; | ||
--secondary: 0 0% 96.1%; | ||
--secondary-foreground: 0 0% 9%; | ||
--muted: 0 0% 96.1%; | ||
--muted-foreground: 0 0% 45.1%; | ||
--accent: 0 0% 96.1%; | ||
--accent-foreground: 0 0% 9%; | ||
--destructive: 0 84.2% 60.2%; | ||
--destructive-foreground: 0 0% 98%; | ||
--border: 0 0% 89.8%; | ||
--input: 0 0% 89.8%; | ||
--ring: 0 0% 3.9%; | ||
--chart-1: 12 76% 61%; | ||
--chart-2: 173 58% 39%; | ||
--chart-3: 197 37% 24%; | ||
--chart-4: 43 74% 66%; | ||
--chart-5: 27 87% 67%; | ||
--radius: 0.5rem; | ||
} | ||
.dark { | ||
--background: 0 0% 3.9%; | ||
--foreground: 0 0% 98%; | ||
--card: 0 0% 3.9%; | ||
--card-foreground: 0 0% 98%; | ||
--popover: 0 0% 3.9%; | ||
--popover-foreground: 0 0% 98%; | ||
--primary: 0 0% 98%; | ||
--primary-foreground: 0 0% 9%; | ||
--secondary: 0 0% 14.9%; | ||
--secondary-foreground: 0 0% 98%; | ||
--muted: 0 0% 14.9%; | ||
--muted-foreground: 0 0% 63.9%; | ||
--accent: 0 0% 14.9%; | ||
--accent-foreground: 0 0% 98%; | ||
--destructive: 0 62.8% 30.6%; | ||
--destructive-foreground: 0 0% 98%; | ||
--border: 0 0% 14.9%; | ||
--input: 0 0% 14.9%; | ||
--ring: 0 0% 83.1%; | ||
--chart-1: 220 70% 50%; | ||
--chart-2: 160 60% 45%; | ||
--chart-3: 30 80% 55%; | ||
--chart-4: 280 65% 60%; | ||
--chart-5: 340 75% 55%; | ||
} | ||
} | ||
|
||
@layer base { | ||
* { | ||
@apply border-border; | ||
} | ||
body { | ||
@apply bg-background text-foreground; | ||
} | ||
} | ||
|
||
nav a { | ||
@apply relative transition-all duration-300; | ||
} | ||
|
||
nav a:hover { | ||
@apply text-pink; | ||
} | ||
|
||
nav a::after { | ||
content: ""; | ||
@apply absolute bottom-0 left-0 w-0 transition-all duration-500; | ||
} | ||
|
||
nav a:hover::after { | ||
@apply w-full h-0.5 bg-pink; | ||
} | ||
|
||
nav a.active { | ||
@apply text-pink; | ||
} | ||
|
||
nav a.active::after { | ||
@apply w-full h-0.5 bg-pink; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import type { Metadata } from "next"; | ||
import { Nunito } from "next/font/google"; | ||
import { getLocale, getMessages } from "next-intl/server"; | ||
import { NextIntlClientProvider } from "next-intl"; | ||
import "./globals.css"; | ||
|
||
const nunito = Nunito({ | ||
subsets: ["latin"], | ||
weight: ["200", "300", "400", "500", "600", "700", "800", "900"], | ||
variable: "--font-nunito", | ||
}); | ||
|
||
export const metadata: Metadata = { | ||
title: "Company Name", | ||
description: "Company Description", | ||
}; | ||
|
||
export default async function LocaleLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
const locale = await getLocale(); | ||
const messages = await getMessages(); | ||
|
||
return ( | ||
<html lang={locale}> | ||
<body className={`${nunito.variable} font-nunito antialiased`}> | ||
<NextIntlClientProvider messages={messages}> | ||
<div className="main"> | ||
<div className="main_gradient" /> | ||
</div> | ||
{children} | ||
</NextIntlClientProvider> | ||
</body> | ||
</html> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from 'react' | ||
|
||
export default function NotFound() { | ||
return ( | ||
<div>not-found</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import HomeLeftSide from "@/components/HomeLeftSide"; | ||
import HomeRightSide from "@/components/HomeRightSide"; | ||
import Navbar from "@/components/Navbar"; | ||
|
||
export default function Home() { | ||
return ( | ||
<div> | ||
<section className="h-screen relative overflow-hidden"> | ||
{/* Navbar Componenti */} | ||
<Navbar /> | ||
|
||
<main className="flex justify-between pb-52"> | ||
{/* Bosh sahifaning chap qismi */} | ||
<HomeLeftSide /> | ||
|
||
{/* Bosh sahifaning o'ng qismi */} | ||
<HomeRightSide /> | ||
</main> | ||
</section> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Navbar from '@/components/Navbar' | ||
import React from 'react' | ||
|
||
export default function page() { | ||
return ( | ||
<div> | ||
<section> | ||
{/* Navbar Componenti */} | ||
<Navbar /> | ||
</section> | ||
</div> | ||
) | ||
} |
Oops, something went wrong.