add Fresh Components (#872)

This commit is contained in:
hashrock
2022-11-07 22:24:32 +09:00
committed by GitHub
parent ff7cac13dd
commit fea7a27029
19 changed files with 450 additions and 25 deletions
+11
View File
@@ -0,0 +1,11 @@
import { JSX } from "preact";
export default function Background(props: JSX.HTMLAttributes<HTMLDivElement>) {
return (
<div
{...props}
class="bg-gray-200 py-16 px-8 flex items-center justify-center rounded"
style="background-image: url(/gallery/grid.svg)"
/>
);
}