UI Components; layout

This commit is contained in:
Ayo 2022-10-11 18:07:34 +02:00
parent 96802296ec
commit 753ca061e6
4 changed files with 22 additions and 25 deletions

View file

@ -34,11 +34,6 @@ import Footer from "../components/Footer.astro";
title="Github" title="Github"
body="See my public projects over at Github. ❤️" body="See my public projects over at Github. ❤️"
/> />
<!--Card
href="/showcase"
title="Showcase"
body="Try out some components I made recently."
/-->
<Card <Card
href="/social" href="/social"
title="Social" title="Social"
@ -46,7 +41,7 @@ import Footer from "../components/Footer.astro";
/> />
<Card <Card
href="/showcase" href="/showcase"
title="Showcase" title="UI Components"
body="See demos of opensource components I created." body="See demos of opensource components I created."
/> />
</ul> </ul>

View file

@ -11,18 +11,6 @@ import GithubStats from "astro-github-stats";
<h1>Astro GitHub Stats</h1> <h1>Astro GitHub Stats</h1>
<p>Embed GitHub stats on your Astro page</p> <p>Embed GitHub stats on your Astro page</p>
<h3>Account Stats</h3>
<GithubStats username="ayoayco" />
<h3>Account Top Languages</h3>
<GithubStats username="ayoayco" topLanguages={true} />
<h3>Repo card</h3>
<GithubStats username="withastro" repo="astro" />
<h3>Account Stats with Icons</h3>
<GithubStats username="ayoayco" showIcons={true} />
<h3>Links</h3> <h3>Links</h3>
<ol> <ol>
<li> <li>
@ -37,6 +25,18 @@ import GithubStats from "astro-github-stats";
</li> </li>
</ol> </ol>
<h3>Account Stats</h3>
<GithubStats username="ayoayco" />
<h3>Account Top Languages</h3>
<GithubStats username="ayoayco" topLanguages={true} />
<h3>Repo card</h3>
<GithubStats username="withastro" repo="astro" />
<h3>Account Stats with Icons</h3>
<GithubStats username="ayoayco" showIcons={true} />
<Footer /> <Footer />
</main> </main>
</Layout> </Layout>

View file

@ -61,12 +61,6 @@ const characteristicsForm: FormGroup = new FormGroup(
<h1>Astro Reactive Form </h1> <h1>Astro Reactive Form </h1>
<p>Generate a dynamic form based on your data, and modify programatically.</p> <p>Generate a dynamic form based on your data, and modify programatically.</p>
<h3>Simple single form group</h3>
<Form formGroups={simpleForm} />
<h3>Multiple Form Groups</h3>
<Form formGroups={[nameForm, characteristicsForm]} />
<h3>Links</h3> <h3>Links</h3>
<ol> <ol>
<li> <li>
@ -80,6 +74,14 @@ const characteristicsForm: FormGroup = new FormGroup(
> >
</li> </li>
</ol> </ol>
<h3>Simple single form group</h3>
<Form formGroups={simpleForm} />
<h3>Multiple Form Groups</h3>
<Form formGroups={[nameForm, characteristicsForm]} />
<Footer /> <Footer />
</main> </main>
</Layout> </Layout>

View file

@ -8,7 +8,7 @@ import Back from "../../components/Back.astro";
<Layout title="Ayo Ayco | Showcase"> <Layout title="Ayo Ayco | Showcase">
<main> <main>
<Back url="/" /> <Back url="/" />
<h1>Showcase <span class="text-gradient">Components</span></h1> <h1>UI <span class="text-gradient">Components</span></h1>
<ul role="list"> <ul role="list">
<Card <Card
href="/showcase/astro-reactive-form" href="/showcase/astro-reactive-form"