-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #231 from omsimos/partners
Release: Umamin Partnership Program
- Loading branch information
Showing
17 changed files
with
813 additions
and
4 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" | ||
} |
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 @@ | ||
# 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 | ||
|
||
# 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,17 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
transpilePackages: ["@umamin/ui", "@umamin/db", "@umamin/gql"], | ||
compiler: { | ||
removeConsole: process.env.NODE_ENV === "production", | ||
}, | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: "https", | ||
hostname: "lh3.googleusercontent.com", | ||
}, | ||
], | ||
}, | ||
}; | ||
|
||
export default nextConfig; |
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,58 @@ | ||
{ | ||
"name": "partners", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint" | ||
}, | ||
"dependencies": { | ||
"@graphql-yoga/plugin-csrf-prevention": "^3.6.2", | ||
"@graphql-yoga/plugin-disable-introspection": "^2.6.2", | ||
"@graphql-yoga/plugin-persisted-operations": "^3.6.2", | ||
"@graphql-yoga/plugin-response-cache": "^3.8.2", | ||
"@lucia-auth/adapter-drizzle": "^1.0.7", | ||
"@urql/core": "^5.0.5", | ||
"@urql/exchange-graphcache": "^7.1.1", | ||
"@urql/exchange-persisted": "^4.3.0", | ||
"@urql/next": "^1.1.1", | ||
"date-fns": "^3.6.0", | ||
"geist": "^1.3.1", | ||
"arctic": "^1.9.2", | ||
"gql.tada": "^1.8.5", | ||
"graphql": "^16.9.0", | ||
"graphql-yoga": "^5.6.2", | ||
"lucia": "^3.2.0", | ||
"lucide-react": "^0.407.0", | ||
"modern-screenshot": "^4.4.39", | ||
"react-intersection-observer": "^9.10.2", | ||
"urql": "^4.1.0", | ||
"zod": "^3.22.4", | ||
"sonner": "^1.5.0", | ||
"nanoid": "^5.0.7", | ||
"nextjs-toploader": "^1.6.12", | ||
"@whatwg-node/server": "^0.9.46", | ||
"@umamin/db": "workspace:*", | ||
"@umamin/gql": "workspace:*", | ||
"@umamin/ui": "workspace:*", | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"next": "14.2.5" | ||
}, | ||
"devDependencies": { | ||
"@0no-co/graphqlsp": "^1.12.12", | ||
"@umamin/eslint-config": "workspace:*", | ||
"@umamin/tsconfig": "workspace:*", | ||
"typescript": "^5", | ||
"@types/node": "^20", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18", | ||
"autoprefixer": "^10.0.1", | ||
"postcss": "^8", | ||
"tailwindcss": "^3.4.1", | ||
"eslint": "^8", | ||
"eslint-config-next": "14.2.5" | ||
} | ||
} |
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 @@ | ||
module.exports = require("@umamin/ui/postcss.config"); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,59 @@ | ||
"use client"; | ||
|
||
import { cn } from "@umamin/ui/lib/utils"; | ||
import { useId } from "react"; | ||
|
||
interface GridPatternProps { | ||
width?: any; | ||
height?: any; | ||
x?: any; | ||
y?: any; | ||
squares?: Array<[x: number, y: number]>; | ||
strokeDasharray?: any; | ||
className?: string; | ||
[key: string]: any; | ||
} | ||
|
||
export function GridPattern({ | ||
width = 40, | ||
height = 40, | ||
x = -1, | ||
y = -1, | ||
strokeDasharray = 0, | ||
squares, | ||
className, | ||
...props | ||
}: GridPatternProps) { | ||
const id = useId(); | ||
|
||
return ( | ||
<svg | ||
aria-hidden="true" | ||
className={cn( | ||
"pointer-events-auto absolute inset-0 h-full w-full fill-gray-400/20 stroke-gray-400/5", | ||
className | ||
)} | ||
{...props} | ||
> | ||
<defs> | ||
<pattern | ||
id={id} | ||
width={width} | ||
height={height} | ||
patternUnits="userSpaceOnUse" | ||
x={x} | ||
y={y} | ||
> | ||
<path | ||
d={`M.5 ${height}V.5H${width}`} | ||
fill="none" | ||
strokeDasharray={strokeDasharray} | ||
/> | ||
</pattern> | ||
</defs> | ||
<rect width="100%" height="100%" strokeWidth={0} fill={`url(#${id})`} /> | ||
</svg> | ||
); | ||
} | ||
|
||
export default GridPattern; |
Oops, something went wrong.