more cleanup

This commit is contained in:
KS Jannette
2026-02-11 18:27:04 -05:00
parent eb7da056a6
commit bd283678ed
3 changed files with 8 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>congruity App</title> <title>kohngrüti app</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

View File

@@ -1,3 +1,5 @@
import '../styles/button.css';
type ButtonProps = { type ButtonProps = {
onClick: () => void; onClick: () => void;
isLoading: boolean; isLoading: boolean;
@@ -6,7 +8,7 @@ type ButtonProps = {
const Button = ({ onClick, isLoading, label }: ButtonProps) => { const Button = ({ onClick, isLoading, label }: ButtonProps) => {
return ( return (
<button onClick={onClick} disabled={isLoading}> <button className="primaryButton" onClick={onClick} disabled={isLoading}>
{isLoading ? 'Working...' : label} {isLoading ? 'Working...' : label}
</button> </button>
); );

View File

@@ -0,0 +1,4 @@
.primaryButton {
width: 10rem;
height: 2.5rem;
}