Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ademsuslu committed Oct 25, 2024
0 parents commit f6d4d8f
Show file tree
Hide file tree
Showing 30 changed files with 4,290 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .gitignore
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
36 changes: 36 additions & 0 deletions README.md
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.
13 changes: 13 additions & 0 deletions app/(auth)/layout.tsx
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>

)
}
5 changes: 5 additions & 0 deletions app/(auth)/sign-in/[[...sign-in]]/page.tsx
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 />
}
5 changes: 5 additions & 0 deletions app/(auth)/sign-up/[[...sign-up]]/page.tsx
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 />
}
9 changes: 9 additions & 0 deletions app/(root)/analytics/page.tsx
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
9 changes: 9 additions & 0 deletions app/(root)/customer/page.tsx
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
13 changes: 13 additions & 0 deletions app/(root)/layout.tsx
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
9 changes: 9 additions & 0 deletions app/(root)/mission/page.tsx
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
7 changes: 7 additions & 0 deletions app/(root)/page.tsx
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 added app/favicon.ico
Binary file not shown.
87 changes: 87 additions & 0 deletions app/globals.css
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 */
}
}
}
30 changes: 30 additions & 0 deletions app/layout.tsx
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>
)
}
20 changes: 20 additions & 0 deletions components.json
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"
}
}
17 changes: 17 additions & 0 deletions components/provider/provider.tsx
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>
)
}
Loading

0 comments on commit f6d4d8f

Please sign in to comment.