Skip to content

Commit 4e88346

Browse files
authored
Merge pull request uideck#5 from Coderamrin/main
update
2 parents 30afc3a + 38076a9 commit 4e88346

File tree

54 files changed

+2795
-1442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2795
-1442
lines changed

package-lock.json

Lines changed: 1212 additions & 653 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@auth/prisma-adapter": "^1.0.11",
13-
"@prisma/client": "^5.7.0",
12+
"@auth/prisma-adapter": "^1.5.0",
13+
"@prisma/client": "^5.11.0",
1414
"axios": "^1.6.2",
1515
"bcrypt": "^5.0.1",
16-
"date-fns": "^2.30.0",
16+
"date-fns": "^3.4.0",
1717
"gray-matter": "^4.0.3",
18-
"next": "^13.5.6",
18+
"next": "^14.1.3",
1919
"next-auth": "^4.24.5",
20-
"next-themes": "^0.2.1",
20+
"next-themes": "^0.3.0",
21+
"nodemailer": "^6.9.12",
2122
"prettier": "^3.1.0",
2223
"prettier-plugin-tailwindcss": "^0.5.7",
2324
"prisma": "^5.7.0",
@@ -32,13 +33,14 @@
3233
},
3334
"devDependencies": {
3435
"@types/bcrypt": "^5.0.2",
35-
"@types/node": "^20.10.2",
36+
"@types/node": "^20.11.27",
37+
"@types/nodemailer": "^6.4.14",
3638
"@types/prismjs": "^1.26.3",
37-
"@types/react": "^18",
39+
"@types/react": "^18.2.66",
3840
"@types/react-dom": "^18",
3941
"autoprefixer": "^10.0.1",
4042
"eslint": "^8",
41-
"eslint-config-next": "14.0.3",
43+
"eslint-config-next": "^14.1.3",
4244
"postcss": "^8",
4345
"tailwindcss": "^3.3.0",
4446
"typescript": "^5"

prisma/schema.prisma

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ model Session {
3939
}
4040

4141
model User {
42-
id String @id @default(cuid())
43-
name String?
44-
email String? @unique
45-
emailVerified DateTime?
46-
image String?
47-
password String?
48-
accounts Account[]
49-
sessions Session[]
42+
id String @id @default(cuid())
43+
name String?
44+
email String? @unique
45+
emailVerified DateTime?
46+
image String?
47+
password String?
48+
passwordResetToken String? @unique
49+
passwordResetTokenExp DateTime?
50+
accounts Account[]
51+
sessions Session[]
5052
}
5153

5254
model VerificationToken {
@@ -55,4 +57,4 @@ model VerificationToken {
5557
expires DateTime
5658
5759
@@unique([identifier, token])
58-
}
60+
}

public/images/404-dark.svg

Lines changed: 9 additions & 0 deletions
Loading

public/images/404.svg

Lines changed: 7 additions & 7 deletions
Loading

public/images/footer/brands/ecommerce-html.svg

Lines changed: 1 addition & 1 deletion
Loading

public/images/footer/brands/tailwindtemplates.svg

Lines changed: 1 addition & 1 deletion
Loading

public/images/hero/brand.svg

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React from "react";
2+
import ForgotPassword from "@/components/Auth/ForgotPassword";
3+
import Breadcrumb from "@/components/Common/Breadcrumb";
4+
import { Metadata } from "next";
5+
6+
export const metadata: Metadata = {
7+
title: "Forgot Password | Play SaaS Starter Kit and Boilerplate for Next.js",
8+
};
9+
10+
const ForgotPasswordPage = () => {
11+
return (
12+
<>
13+
<Breadcrumb pageName="Forget Password" />
14+
<ForgotPassword />
15+
</>
16+
);
17+
};
18+
19+
export default ForgotPasswordPage;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React from "react";
2+
import ResetPassword from "@/components/Auth/ResetPassword";
3+
import Breadcrumb from "@/components/Common/Breadcrumb";
4+
import { Metadata } from "next";
5+
6+
export const metadata: Metadata = {
7+
title: "Reset Password | Play SaaS Starter Kit and Boilerplate for Next.js",
8+
};
9+
10+
const ResetPasswordPage = ({ params }: { params: { token: string } }) => {
11+
return (
12+
<>
13+
<Breadcrumb pageName="Reset Password" />
14+
<ResetPassword token={params.token} />
15+
</>
16+
);
17+
};
18+
19+
export default ResetPasswordPage;
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/app/blogs/[slug]/page.tsx renamed to src/app/(site)/blogs/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type Props = {
1212
params: { slug: string };
1313
};
1414

15-
export async function generateMetadata({ params }) {
15+
export async function generateMetadata({ params }: Props) {
1616
const posts = getAllPosts(["title", "date", "excerpt", "coverImage", "slug"]);
1717
const post = getPostBySlug(params.slug, [
1818
"title",
File renamed without changes.
File renamed without changes.

src/app/(site)/error/page.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import Breadcrumb from "@/components/Common/Breadcrumb";
2+
import NotFound from "@/components/NotFound";
3+
import { Metadata } from "next";
4+
5+
export const metadata: Metadata = {
6+
title: "404 Page | Play SaaS Starter Kit and Boilerplate for Next.js",
7+
};
8+
9+
const ErrorPage = () => {
10+
return (
11+
<>
12+
<Breadcrumb pageName="404 Page" />
13+
14+
<NotFound />
15+
</>
16+
);
17+
};
18+
19+
export default ErrorPage;
File renamed without changes.

0 commit comments

Comments
 (0)