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

View File

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

View File

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