generated from moevm/nsql-clean-tempate
-
Notifications
You must be signed in to change notification settings - Fork 2
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 #2 from moevm/welcome-page
Welcome page
- Loading branch information
Showing
7 changed files
with
100 additions
and
3 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,14 @@ | ||
import {PropsWithChildren} from "react"; | ||
|
||
function FormCard({children}: PropsWithChildren) { | ||
|
||
return ( | ||
<> | ||
<div className="w-5/12 h-max bg-base2 px-20 py-16 rounded-3xl"> | ||
{children} | ||
</div> | ||
</> | ||
) | ||
} | ||
|
||
export default FormCard |
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,21 @@ | ||
import { ButtonHTMLAttributes } from "react"; | ||
|
||
interface LoginButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> { | ||
theme: "primary" | "secondary"; | ||
} | ||
|
||
function LoginButton({theme, children, ...props}: LoginButtonProps) { | ||
|
||
const styles = { | ||
"primary": "bg-base1 text-white", | ||
"secondary": "bg-additional text-base1" | ||
} | ||
|
||
return ( | ||
<button {...props} className={`${styles[theme]} font-poppins rounded-3xl w-full p-2`}> | ||
{children} | ||
</button> | ||
) | ||
} | ||
|
||
export default LoginButton |
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
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
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