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
+10
View File
@@ -4,6 +4,8 @@ import ColoredButton from "../components/gallery/ColoredButton.tsx";
import Input from "../components/gallery/Input.tsx";
import Header from "../components/gallery/Header.tsx";
import Footer from "../components/gallery/Footer.tsx";
import Hero from "../components/gallery/Hero.tsx";
import Features from "../components/gallery/Features.tsx";
import { ComponentChildren } from "preact";
import IconHappy from "https://deno.land/x/tabler_icons_tsx@0.0.2/tsx/mood-crazy-happy.tsx";
import IconHeart from "https://deno.land/x/tabler_icons_tsx@0.0.2/tsx/heart.tsx";
@@ -100,6 +102,14 @@ export default function ComponentGallery(props: ComponentGalleryProps) {
<Footer>
</Footer>
</Section>
<Section title="Hero" source={props.sources.Hero}>
<Hero />
</Section>
<Section title="Features" source={props.sources.Features}>
<Features />
</Section>
</>
);
}