-
Notifications
You must be signed in to change notification settings - Fork 4
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 #52 from RBND-studio/dev
New web
- Loading branch information
Showing
208 changed files
with
8,907 additions
and
4,231 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,16 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ fi | |
# Run gitleaks | ||
gitleaks protect --staged -v | ||
|
||
pnpm pre-commit | ||
pnpm pre-push |
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
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
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 |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import type { Metadata } from "next"; | ||
|
||
import { AuthWrapper } from "../auth-wrapper"; | ||
import { LoginForm } from "./login-form"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Login | Flows", | ||
}; | ||
|
||
export default function Login(): JSX.Element { | ||
return ( | ||
<AuthWrapper> | ||
<LoginForm /> | ||
</AuthWrapper> | ||
); | ||
return <LoginForm />; | ||
} |
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
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,62 @@ | ||
"use client"; | ||
|
||
import { css } from "@flows/styled-system/css"; | ||
import { Box } from "@flows/styled-system/jsx"; | ||
import Link from "next/link"; | ||
import { useSearchParams } from "next/navigation"; | ||
import { routes } from "routes"; | ||
import { Text } from "ui"; | ||
|
||
// Try it out by visiting http://localhost:6001/signup/success?email=example%40example.com | ||
export default function SignupSuccessPage(): JSX.Element { | ||
const searchParams = useSearchParams(); | ||
const email = searchParams.get("email"); | ||
|
||
return ( | ||
<> | ||
<Box borderRadius="radius12" cardWrap="-" padding="space24"> | ||
<Text | ||
align="center" | ||
className={css({ | ||
mb: "space24", | ||
})} | ||
variant="titleXl" | ||
> | ||
Check your email | ||
</Text> | ||
|
||
<Text align="center" className={css({ mb: "space24" })}> | ||
We've sent a verification link. | ||
<br /> | ||
Please check your inbox at{" "} | ||
<Text as="span" weight="700"> | ||
{email} | ||
</Text> | ||
</Text> | ||
|
||
<Text align="center" color="muted"> | ||
Back to{" "} | ||
<Link | ||
className={css({ | ||
textDecoration: "underline", | ||
color: "text", | ||
})} | ||
href={routes.login()} | ||
> | ||
login | ||
</Link> | ||
</Text> | ||
</Box> | ||
<Text | ||
align="center" | ||
className={css({ | ||
mt: "space24", | ||
})} | ||
color="muted" | ||
variant="bodyXs" | ||
> | ||
Having trouble? Contact support at <strong>hello@flows.sh</strong> | ||
</Text> | ||
</> | ||
); | ||
} |
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,57 @@ | ||
"use client"; | ||
|
||
import { css } from "@flows/styled-system/css"; | ||
import { Box } from "@flows/styled-system/jsx"; | ||
import Link from "next/link"; | ||
import { useSearchParams } from "next/navigation"; | ||
import { routes } from "routes"; | ||
import { Text } from "ui"; | ||
|
||
// Try it out by visiting http://localhost:6001/verify/error?message=Email%20link%20is%20invalid%20or%20has%20expired | ||
export default function VerifyErrorPage(): JSX.Element { | ||
const searchParams = useSearchParams(); | ||
const message = searchParams.get("message"); | ||
|
||
return ( | ||
<> | ||
<Box borderRadius="radius12" cardWrap="-" padding="space24"> | ||
<Text | ||
align="center" | ||
className={css({ | ||
mb: "space24", | ||
})} | ||
variant="titleXl" | ||
> | ||
Verification failed | ||
</Text> | ||
|
||
<Text align="center" className={css({ mb: "space24" })}> | ||
{message} | ||
</Text> | ||
|
||
<Text align="center" color="muted"> | ||
Back to{" "} | ||
<Link | ||
className={css({ | ||
textDecoration: "underline", | ||
color: "text", | ||
})} | ||
href={routes.login()} | ||
> | ||
login | ||
</Link> | ||
</Text> | ||
</Box> | ||
<Text | ||
align="center" | ||
className={css({ | ||
mt: "space24", | ||
})} | ||
color="muted" | ||
variant="bodyXs" | ||
> | ||
Having trouble? Contact support at <strong>hello@flows.sh</strong> | ||
</Text> | ||
</> | ||
); | ||
} |
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
Oops, something went wrong.