Add Hero and Footer Components (#947)

This commit is contained in:
hashrock
2022-12-16 20:43:12 +09:00
committed by GitHub
parent 6c9b5ed316
commit 026c1affd7
7 changed files with 100 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ export default function Button(props: JSX.HTMLAttributes<HTMLButtonElement>) {
<button
{...props}
disabled={!IS_BROWSER || props.disabled}
class={`px-3 py-2 bg-white rounded border(gray-500 2) hover:bg-gray-200 disabled:(opacity-50 cursor-not-allowed) ${
class={`px-3 py-2 bg-white rounded border(gray-500 2) hover:bg-gray-200 active:bg-gray-300 disabled:(opacity-50 cursor-not-allowed) ${
props.class ?? ""
}`}
/>