-
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.
- Loading branch information
0 parents
commit f6d4d8f
Showing
30 changed files
with
4,290 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,37 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env*.local | ||
.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://github.com/vercel/next.js/tree/canary/packages/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/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
|
||
## 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/deployment) 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 @@ | ||
|
||
export default function AuthLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<div className="w-full h-screen flex items-center justify-center text-white"> | ||
{children} | ||
</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,5 @@ | ||
import { SignIn } from '@clerk/nextjs' | ||
|
||
export default function Page() { | ||
return <SignIn /> | ||
} |
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,5 @@ | ||
import { SignUp } from '@clerk/nextjs' | ||
|
||
export default function Page() { | ||
return <SignUp /> | ||
} |
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,9 @@ | ||
import React from 'react' | ||
|
||
const AnalyticsPage = () => { | ||
return ( | ||
<div>AnalyticsPage</div> | ||
) | ||
} | ||
|
||
export default AnalyticsPage |
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,9 @@ | ||
import React from 'react' | ||
|
||
const CustomerPage = () => { | ||
return ( | ||
<div>CustomerPage</div> | ||
) | ||
} | ||
|
||
export default CustomerPage |
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/shared/navbar" | ||
|
||
const RootLayout = ({children}:{children:React.ReactNode}) => { | ||
return ( | ||
<div className=" container mx-auto px-4"> | ||
<Navbar /> | ||
<main>{children}</main> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default RootLayout |
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,9 @@ | ||
import React from 'react' | ||
|
||
const MissionPage = () => { | ||
return ( | ||
<div>MissionPage</div> | ||
) | ||
} | ||
|
||
export default MissionPage |
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 Hero from "@/components/shared/hero" | ||
|
||
export default function Home() { | ||
return ( | ||
<Hero/> | ||
) | ||
} |
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,87 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
:root { | ||
--foreground-rgb: 0, 0, 0; | ||
--background-start-rgb: 214, 219, 220; | ||
--background-end-rgb: 255, 255, 255; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--foreground-rgb: 255, 255, 255; | ||
--background-start-rgb: 0, 0, 0; | ||
--background-end-rgb: 0, 0, 0; | ||
} | ||
} | ||
|
||
@layer base { | ||
:root { | ||
--background: 240 5% 6%; | ||
--foreground: 60 5% 90%; | ||
--primary: 240 0% 90%; | ||
--primary-foreground: 60 0% 0%; | ||
--secondary: 240 4% 15%; | ||
--secondary-foreground: 60 5% 85%; | ||
--accent: 240 0% 13%; | ||
--accent-foreground: 60 0% 100%; | ||
--destructive: 0 60% 50%; | ||
--destructive-foreground: 0 0% 98%; | ||
--muted: 240 5% 25%; | ||
--muted-foreground: 60 5% 85%; | ||
--card: 240 4% 10%; | ||
--card-foreground: 60 5% 90%; | ||
--popover: 240 5% 15%; | ||
--popover-foreground: 60 5% 85%; | ||
--border: 240 6% 20%; | ||
--input: 240 6% 20%; | ||
--ring: 240 5% 90%; | ||
--chart-1: 359 2% 90%; | ||
--chart-2: 240 1% 74%; | ||
--chart-3: 240 1% 58%; | ||
--chart-4: 240 1% 42%; | ||
--chart-5: 240 2% 26%; | ||
} | ||
|
||
.dark { | ||
--background: 240 5% 6%; | ||
--foreground: 60 5% 90%; | ||
--primary: 240 0% 90%; | ||
--primary-foreground: 60 0% 0%; | ||
--secondary: 240 4% 15%; | ||
--secondary-foreground: 60 5% 85%; | ||
--accent: 240 0% 13%; | ||
--accent-foreground: 60 0% 100%; | ||
--destructive: 0 60% 50%; | ||
--destructive-foreground: 0 0% 98%; | ||
--muted: 240 5% 25%; | ||
--muted-foreground: 60 5% 85%; | ||
--card: 240 4% 10%; | ||
--card-foreground: 60 5% 90%; | ||
--popover: 240 5% 15%; | ||
--popover-foreground: 60 5% 85%; | ||
--border: 240 6% 20%; | ||
--input: 240 6% 20%; | ||
--ring: 240 5% 90%; | ||
--chart-1: 359 2% 90%; | ||
--chart-2: 240 1% 74%; | ||
--chart-3: 240 1% 58%; | ||
--chart-4: 240 1% 42%; | ||
--chart-5: 240 2% 26%; | ||
} | ||
} | ||
|
||
@layer base { | ||
* { | ||
@apply border-border; | ||
} | ||
body { | ||
@apply bg-background text-foreground; | ||
} | ||
@layer utilities { | ||
.custom-shadow { | ||
box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.25); /* Sadece alta gölge */ | ||
} | ||
} | ||
} |
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,30 @@ | ||
import type { Metadata } from 'next' | ||
import { Inter } from 'next/font/google' | ||
import './globals.css' | ||
|
||
const inter = Inter({ subsets: ['latin'] }) | ||
|
||
export const metadata: Metadata = { | ||
title: 'Süslü Crm', | ||
description: 'Generated by create next app', | ||
} | ||
import { ClerkProvider } from '@clerk/nextjs' | ||
import { Providers } from '@/components/provider/provider' | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<ClerkProvider> | ||
<html lang="en" suppressHydrationWarning> | ||
<body className={`${inter.className} `}> | ||
<Providers> | ||
{children} | ||
</Providers> | ||
</body> | ||
</html> | ||
</ClerkProvider> | ||
) | ||
} |
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,20 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.ts", | ||
"css": "app/globals.css", | ||
"baseColor": "slate", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} |
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,17 @@ | ||
"use client" | ||
|
||
import { FC, ReactNode} from "react" | ||
|
||
|
||
interface ProvidersProps { | ||
children: ReactNode | ||
} | ||
|
||
export const Providers: FC<ProvidersProps> = ({ children }) => { | ||
return ( | ||
<div className=""> | ||
|
||
{children} | ||
</div> | ||
) | ||
} |
Oops, something went wrong.