-
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
Showing
46 changed files
with
2,984 additions
and
11 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,99 @@ | ||
# Sample workflow for building and deploying a Next.js site to GitHub Pages | ||
# | ||
# To get started with Next.js see: https://nextjs.org/docs/getting-started | ||
# | ||
name: Deploy Next.js site to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Detect package manager | ||
id: detect-package-manager | ||
run: | | ||
if [ -f "${{ github.workspace }}/yarn.lock" ]; then | ||
echo "manager=yarn" >> $GITHUB_OUTPUT | ||
echo "command=install" >> $GITHUB_OUTPUT | ||
echo "runner=yarn" >> $GITHUB_OUTPUT | ||
exit 0 | ||
elif [ -f "${{ github.workspace }}/package.json" ]; then | ||
echo "manager=npm" >> $GITHUB_OUTPUT | ||
echo "command=ci" >> $GITHUB_OUTPUT | ||
echo "runner=npx --no-install" >> $GITHUB_OUTPUT | ||
exit 0 | ||
else | ||
echo "Unable to determine package manager" | ||
exit 1 | ||
fi | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: ${{ steps.detect-package-manager.outputs.manager }} | ||
cache-dependency-path: "./yarn.lock" | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
with: | ||
# Automatically inject basePath in your Next.js configuration file and disable | ||
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized). | ||
# | ||
# You may remove this line if you want to manage the configuration yourself. | ||
static_site_generator: next | ||
- name: Restore cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
.next/cache | ||
# Generate a new cache whenever packages or source files change. | ||
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} | ||
# If source files changed but packages didn't, rebuild from a prior cache. | ||
restore-keys: | | ||
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- | ||
- name: Install dependencies | ||
working-directory: ./ | ||
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} | ||
- name: Build with Next.js | ||
working-directory: ./ | ||
run: ${{ steps.detect-package-manager.outputs.runner }} next build | ||
- name: Static HTML export with Next.js | ||
working-directory: ./ | ||
run: ${{ steps.detect-package-manager.outputs.runner }} next export | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: ./out | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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 @@ | ||
node_modules | ||
build | ||
.next |
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 @@ | ||
# CHANGELOG.md | ||
|
||
## [2.3.2] - 2023-10-04 | ||
|
||
Update Twitter icon | ||
Update dependencies | ||
|
||
## [2.3.0] - 2023-06-20 | ||
|
||
Fix issue with Google Fonts | ||
|
||
## [2.2.1] - 2023-06-13 | ||
|
||
Fix minor issue | ||
|
||
## [2.2.0] - 2023-05-31 | ||
|
||
Update dependencies and fix some issues | ||
|
||
## [2.1.0] - 2023-05-07 | ||
|
||
Modal video improvements | ||
|
||
## [2.0.0] - 2023-03-31 | ||
|
||
Conversion to Next.js | ||
|
||
## [1.3.3] - 2023-03-28 | ||
|
||
- Fix video | ||
|
||
## [1.3.2] - 2023-03-28 | ||
|
||
- Add self-hosted video | ||
|
||
## [1.3.1] - 2023-02-13 | ||
|
||
- Update dependencies | ||
|
||
## [1.3.0] - 2022-07-15 | ||
|
||
- Update dependencies | ||
- Update React to v18 | ||
- Replace Sass with CSS files | ||
|
||
## [1.1.0] - 2022-01-27 | ||
|
||
- Replace CRA (Create React App) with Vite | ||
- Remove Craco | ||
- Update dependencies | ||
|
||
## [1.0.1] - 2020-10-19 | ||
|
||
Fix issue with testimonail image on mobile | ||
|
||
## [1.0.0] - 2020-10-15 | ||
|
||
First release |
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 @@ | ||
# Radiant Landing Page |
This file was deleted.
Oops, something went wrong.
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 ( | ||
<main className="grow"> | ||
|
||
{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,39 @@ | ||
export const metadata = { | ||
title: 'Reset Password - Simple', | ||
description: 'Page description', | ||
} | ||
|
||
export default function ResetPassword() { | ||
return ( | ||
<section className="bg-gradient-to-b from-gray-100 to-white"> | ||
<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">Let's get you back up on your feet</h1> | ||
<p className="text-xl text-gray-600">Enter the email address you used when you signed up for your account, and we'll email you a link to reset your password.</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-800 text-sm font-medium mb-1" htmlFor="email">Email <span className="text-red-600">*</span></label> | ||
<input id="email" type="email" className="form-input w-full text-gray-800" placeholder="Enter your email address" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mt-6"> | ||
<div className="w-full px-3"> | ||
<button className="btn text-white bg-blue-600 hover:bg-blue-700 w-full">Send reset link</button> | ||
</div> | ||
</div> | ||
</form> | ||
</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,89 @@ | ||
export const metadata = { | ||
title: 'Sign In - Simple', | ||
description: 'Page description', | ||
} | ||
|
||
import Link from 'next/link' | ||
|
||
export default function SignIn() { | ||
return ( | ||
<section className="bg-gradient-to-b from-gray-100 to-white"> | ||
<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 entrepreneurism easier.</h1> | ||
</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-800 text-sm font-medium mb-1" htmlFor="email">Email</label> | ||
<input id="email" type="email" className="form-input w-full text-gray-800" placeholder="Enter your email address" 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="block text-gray-800 text-sm font-medium mb-1" htmlFor="password">Password</label> | ||
<Link href="/reset-password" className="text-sm font-medium text-blue-600 hover:underline">Having trouble signing in?</Link> | ||
</div> | ||
<input id="password" type="password" className="form-input w-full text-gray-800" placeholder="Enter your password" 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-600 ml-2">Keep me signed in</span> | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mt-6"> | ||
<div className="w-full px-3"> | ||
<button className="btn text-white bg-blue-600 hover:bg-blue-700 w-full">Sign in</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="flex items-center my-6"> | ||
<div className="border-t border-gray-300 grow mr-3" aria-hidden="true"></div> | ||
<div className="text-gray-600 italic">Or</div> | ||
<div className="border-t border-gray-300 grow ml-3" aria-hidden="true"></div> | ||
</div> | ||
<form> | ||
<div className="flex flex-wrap -mx-3 mb-3"> | ||
<div className="w-full px-3"> | ||
<button className="btn px-0 text-white bg-gray-900 hover:bg-gray-800 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.95 0C3.578 0 0 3.578 0 7.95c0 3.479 2.286 6.46 5.466 7.553.397.1.497-.199.497-.397v-1.392c-2.187.497-2.683-.993-2.683-.993-.398-.895-.895-1.193-.895-1.193-.696-.497.1-.497.1-.497.795.1 1.192.795 1.192.795.696 1.292 1.888.895 2.286.696.1-.497.298-.895.497-1.093-1.79-.2-3.578-.895-3.578-3.975 0-.895.298-1.59.795-2.087-.1-.2-.397-.994.1-2.087 0 0 .695-.2 2.186.795a6.408 6.408 0 011.987-.299c.696 0 1.392.1 1.988.299 1.49-.994 2.186-.795 2.186-.795.398 1.093.199 1.888.1 2.087.496.596.795 1.291.795 2.087 0 3.08-1.889 3.677-3.677 3.875.298.398.596.895.596 1.59v2.187c0 .198.1.497.596.397C13.714 14.41 16 11.43 16 7.95 15.9 3.578 12.323 0 7.95 0z" /> | ||
</svg> | ||
<span className="flex-auto pl-16 pr-8 -ml-16">Continue with GitHub</span> | ||
</button> | ||
</div> | ||
</div> | ||
<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="flex-auto pl-16 pr-8 -ml-16">Continue with Google</span> | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="text-gray-600 text-center mt-6"> | ||
Don't you have an account? <Link href="/signup" className="text-blue-600 hover:underline 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,85 @@ | ||
export const metadata = { | ||
title: 'Sign Up - Simple', | ||
description: 'Page description', | ||
} | ||
|
||
import Link from 'next/link' | ||
|
||
export default function SignUp() { | ||
return ( | ||
<section className="bg-gradient-to-b from-gray-100 to-white"> | ||
<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 entrepreneurism easier.</h1> | ||
</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-800 text-sm font-medium mb-1" htmlFor="name">Name <span className="text-red-600">*</span></label> | ||
<input id="name" type="text" className="form-input w-full text-gray-800" placeholder="Enter your name" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-800 text-sm font-medium mb-1" htmlFor="email">Email <span className="text-red-600">*</span></label> | ||
<input id="email" type="email" className="form-input w-full text-gray-800" placeholder="Enter your email address" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mb-4"> | ||
<div className="w-full px-3"> | ||
<label className="block text-gray-800 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-800" placeholder="Enter your password" required /> | ||
</div> | ||
</div> | ||
<div className="flex flex-wrap -mx-3 mt-6"> | ||
<div className="w-full px-3"> | ||
<button className="btn text-white bg-blue-600 hover:bg-blue-700 w-full">Sign up</button> | ||
</div> | ||
</div> | ||
<div className="text-sm text-gray-500 text-center mt-3"> | ||
By creating an account, you agree to the <a className="underline" href="#0">terms & conditions</a>, and our <a className="underline" href="#0">privacy policy</a>. | ||
</div> | ||
</form> | ||
<div className="flex items-center my-6"> | ||
<div className="border-t border-gray-300 grow mr-3" aria-hidden="true"></div> | ||
<div className="text-gray-600 italic">Or</div> | ||
<div className="border-t border-gray-300 grow ml-3" aria-hidden="true"></div> | ||
</div> | ||
<form> | ||
<div className="flex flex-wrap -mx-3 mb-3"> | ||
<div className="w-full px-3"> | ||
<button className="btn px-0 text-white bg-gray-900 hover:bg-gray-800 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.95 0C3.578 0 0 3.578 0 7.95c0 3.479 2.286 6.46 5.466 7.553.397.1.497-.199.497-.397v-1.392c-2.187.497-2.683-.993-2.683-.993-.398-.895-.895-1.193-.895-1.193-.696-.497.1-.497.1-.497.795.1 1.192.795 1.192.795.696 1.292 1.888.895 2.286.696.1-.497.298-.895.497-1.093-1.79-.2-3.578-.895-3.578-3.975 0-.895.298-1.59.795-2.087-.1-.2-.397-.994.1-2.087 0 0 .695-.2 2.186.795a6.408 6.408 0 011.987-.299c.696 0 1.392.1 1.988.299 1.49-.994 2.186-.795 2.186-.795.398 1.093.199 1.888.1 2.087.496.596.795 1.291.795 2.087 0 3.08-1.889 3.677-3.677 3.875.298.398.596.895.596 1.59v2.187c0 .198.1.497.596.397C13.714 14.41 16 11.43 16 7.95 15.9 3.578 12.323 0 7.95 0z" /> | ||
</svg> | ||
<span className="flex-auto pl-16 pr-8 -ml-16">Continue with GitHub</span> | ||
</button> | ||
</div> | ||
</div> | ||
<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="flex-auto pl-16 pr-8 -ml-16">Continue with Google</span> | ||
</button> | ||
</div> | ||
</div> | ||
</form> | ||
<div className="text-gray-600 text-center mt-6"> | ||
Already using Simple? <Link href="/signin" className="text-blue-600 hover:underline transition duration-150 ease-in-out">Sign in</Link> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
) | ||
} |
Oops, something went wrong.