-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
1 parent
2201318
commit 427bd91
Showing
61 changed files
with
1,643 additions
and
3,706 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 |
---|---|---|
@@ -1,5 +1,39 @@ | ||
node_modules | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
*.local | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
|
||
# contentlayer | ||
.contentlayer |
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,4 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
} |
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# CHANGELOG.md | ||
|
||
## [3.0.0] - 2023-04-12 | ||
|
||
Conversion to Next.js | ||
|
||
## [2.0.3] - 2023-03-28 | ||
|
||
Fix video | ||
|
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
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 @@ | ||
import PageIllustration from '@/components/page-illustration' | ||
|
||
export default function AuthLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
return ( | ||
<main className="grow"> | ||
|
||
<PageIllustration /> | ||
|
||
{children} | ||
|
||
</main> | ||
) | ||
} |
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,44 @@ | ||
export const metadata = { | ||
title: 'Reset Password - Open PRO', | ||
description: 'Page description', | ||
} | ||
|
||
import Link from 'next/link' | ||
|
||
export default function ResetPassword() { | ||
return ( | ||
<section className="relative"> | ||
<div className="max-w-6xl mx-auto px-4 sm:px-6"> | ||
<div className="pt-32 pb-12 md:pt-40 md:pb-20"> | ||
|
||
{/* Page header */} | ||
<div className="max-w-3xl mx-auto text-center pb-12 md:pb-20"> | ||
<h1 className="h1 mb-4">Forgot your password?</h1> | ||
<p className="text-xl text-gray-400">We'll email you instructions on how to reset it.</p> | ||
</div> | ||
|
||
{/* Form */} | ||
<div className="max-w-sm mx-auto"> | ||
<form> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-300 text-sm font-medium mb-1" htmlFor="email">Email</label> | ||
<input id="email" type="email" className="form-input w-full text-gray-300" placeholder="you@yourcompany.com" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mt-6"> | ||
<div className="w-full px-3"> | ||
<button className="btn text-white bg-purple-600 hover:bg-purple-700 w-full">Reset Password</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="text-gray-400 text-center mt-6"> | ||
<Link href="/signin" className="text-purple-600 hover:text-gray-200 transition duration-150 ease-in-out">Cancel</Link> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
) | ||
} |
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,78 @@ | ||
export const metadata = { | ||
title: 'Sign In - Open PRO', | ||
description: 'Page description', | ||
} | ||
|
||
import Link from 'next/link' | ||
|
||
export default function SignIn() { | ||
return ( | ||
<section className="relative"> | ||
<div className="max-w-6xl mx-auto px-4 sm:px-6"> | ||
<div className="pt-32 pb-12 md:pt-40 md:pb-20"> | ||
|
||
{/* Page header */} | ||
<div className="max-w-3xl mx-auto text-center pb-12 md:pb-20"> | ||
<h1 className="h1">Welcome back. We exist to make entrepreneurship easier.</h1> | ||
</div> | ||
|
||
{/* Form */} | ||
<div className="max-w-sm mx-auto"> | ||
<form> | ||
<div className="flex flex-wrap -mx-3"> | ||
<div className="w-full px-3"> | ||
<button className="btn px-0 text-white bg-red-600 hover:bg-red-700 w-full relative flex items-center"> | ||
<svg className="w-4 h-4 fill-current text-white opacity-75 shrink-0 mx-4" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M7.9 7v2.4H12c-.2 1-1.2 3-4 3-2.4 0-4.3-2-4.3-4.4 0-2.4 2-4.4 4.3-4.4 1.4 0 2.3.6 2.8 1.1l1.9-1.8C11.5 1.7 9.9 1 8 1 4.1 1 1 4.1 1 8s3.1 7 7 7c4 0 6.7-2.8 6.7-6.8 0-.5 0-.8-.1-1.2H7.9z" /> | ||
</svg> | ||
<span className="h-6 flex items-center border-r border-white border-opacity-25 mr-4" aria-hidden="true"></span> | ||
<span className="flex-auto pl-16 pr-8 -ml-16">Sign in with Google</span> | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="flex items-center my-6"> | ||
<div className="border-t border-gray-700 border-dotted grow mr-3" aria-hidden="true"></div> | ||
<div className="text-gray-400">Or, sign in with your email</div> | ||
<div className="border-t border-gray-700 border-dotted grow ml-3" aria-hidden="true"></div> | ||
</div> | ||
<form> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-300 text-sm font-medium mb-1" htmlFor="email">Email</label> | ||
<input id="email" type="email" className="form-input w-full text-gray-300" placeholder="you@yourcompany.com" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-300 text-sm font-medium mb-1" htmlFor="password">Password</label> | ||
<input id="password" type="password" className="form-input w-full text-gray-300" placeholder="Password (at least 10 characters)" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<div className="flex justify-between"> | ||
<label className="flex items-center"> | ||
<input type="checkbox" className="form-checkbox" /> | ||
<span className="text-gray-400 ml-2">Keep me signed in</span> | ||
</label> | ||
<Link href="/reset-password" className="text-purple-600 hover:text-gray-200 transition duration-150 ease-in-out">Forgot Password?</Link> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mt-6"> | ||
<div className="w-full px-3"> | ||
<button className="btn text-white bg-purple-600 hover:bg-purple-700 w-full">Sign in</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="text-gray-400 text-center mt-6"> | ||
Don’t you have an account? <Link href="/signup" className="text-purple-600 hover:text-gray-200 transition duration-150 ease-in-out">Sign up</Link> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
) | ||
} |
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,82 @@ | ||
export const metadata = { | ||
title: 'Sign Up - Open PRO', | ||
description: 'Page description', | ||
} | ||
|
||
import Link from 'next/link' | ||
|
||
export default function SignUp() { | ||
return ( | ||
<section className="relative"> | ||
<div className="max-w-6xl mx-auto px-4 sm:px-6"> | ||
<div className="pt-32 pb-12 md:pt-40 md:pb-20"> | ||
|
||
{/* Page header */} | ||
<div className="max-w-3xl mx-auto text-center pb-12 md:pb-20"> | ||
<h1 className="h1">Welcome. We exist to make entrepreneurship easier.</h1> | ||
</div> | ||
|
||
{/* Form */} | ||
<div className="max-w-sm mx-auto"> | ||
<form> | ||
<div className="flex flex-wrap -mx-3"> | ||
<div className="w-full px-3"> | ||
<button className="btn px-0 text-white bg-red-600 hover:bg-red-700 w-full relative flex items-center"> | ||
<svg className="w-4 h-4 fill-current text-white opacity-75 shrink-0 mx-4" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M7.9 7v2.4H12c-.2 1-1.2 3-4 3-2.4 0-4.3-2-4.3-4.4 0-2.4 2-4.4 4.3-4.4 1.4 0 2.3.6 2.8 1.1l1.9-1.8C11.5 1.7 9.9 1 8 1 4.1 1 1 4.1 1 8s3.1 7 7 7c4 0 6.7-2.8 6.7-6.8 0-.5 0-.8-.1-1.2H7.9z" /> | ||
</svg> | ||
<span className="h-6 flex items-center border-r border-white border-opacity-25 mr-4" aria-hidden="true"></span> | ||
<span className="flex-auto pl-16 pr-8 -ml-16">Sign up with Google</span> | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="flex items-center my-6"> | ||
<div className="border-t border-gray-700 border-dotted grow mr-3" aria-hidden="true"></div> | ||
<div className="text-gray-400">Or, register with your email</div> | ||
<div className="border-t border-gray-700 border-dotted grow ml-3" aria-hidden="true"></div> | ||
</div> | ||
<form> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-300 text-sm font-medium mb-1" htmlFor="full-name">Full Name <span className="text-red-600">*</span></label> | ||
<input id="full-name" type="text" className="form-input w-full text-gray-300" placeholder="First and last name" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-300 text-sm font-medium mb-1" htmlFor="company-name">Company Name <span className="text-red-600">*</span></label> | ||
<input id="company-name" type="text" className="form-input w-full text-gray-300" placeholder="Your company or app name" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-300 text-sm font-medium mb-1" htmlFor="email">Work Email <span className="text-red-600">*</span></label> | ||
<input id="email" type="email" className="form-input w-full text-gray-300" placeholder="you@yourcompany.com" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-300 text-sm font-medium mb-1" htmlFor="password">Password <span className="text-red-600">*</span></label> | ||
<input id="password" type="password" className="form-input w-full text-gray-300" placeholder="Password (at least 10 characters)" required /> | ||
</div> | ||
</div> | ||
<div className="text-sm text-gray-500 text-center"> | ||
I agree to be contacted by Open PRO about this offer as per the Open PRO <Link href="#" className="underline text-gray-400 hover:text-gray-200 hover:no-underline transition duration-150 ease-in-out">Privacy Policy</Link>. | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mt-6"> | ||
<div className="w-full px-3"> | ||
<button className="btn text-white bg-purple-600 hover:bg-purple-700 w-full">Sign up</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="text-gray-400 text-center mt-6"> | ||
Already using Open PRO? <Link href="/signin" className="text-purple-600 hover:text-gray-200 transition duration-150 ease-in-out">Sign in</Link> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
) | ||
} |
Oops, something went wrong.
427bd91
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
open-react-template – ./
open-react-template-gamma.vercel.app
open-react-template-cruip.vercel.app
open-react-template-git-master-cruip.vercel.app