Skip to content

Commit

Permalink
feat: finish principal container section
Browse files Browse the repository at this point in the history
  • Loading branch information
mugan86 committed Jun 4, 2023
1 parent bcf1cfa commit c33b285
Show file tree
Hide file tree
Showing 12 changed files with 2,976 additions and 9,325 deletions.
9,315 changes: 0 additions & 9,315 deletions package-lock.json

This file was deleted.

1 change: 0 additions & 1 deletion src/routes/components/accordion/index.md

This file was deleted.

18 changes: 18 additions & 0 deletions src/routes/components/accordion/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { component$ } from '@builder.io/qwik';
import type { DocumentHead } from '@builder.io/qwik-city';

export default component$(() => {
return (
<>Accordion</>
);
});

export const head: DocumentHead = {
title: 'Accordion',
meta: [
{
name: 'description',
content: 'Qwik site description',
},
],
};
1 change: 0 additions & 1 deletion src/routes/components/alerts/index.md

This file was deleted.

18 changes: 18 additions & 0 deletions src/routes/components/alerts/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { component$ } from '@builder.io/qwik';
import type { DocumentHead } from '@builder.io/qwik-city';

export default component$(() => {
return (
<> Alerts </>
);
});

export const head: DocumentHead = {
title: 'Alerts',
meta: [
{
name: 'description',
content: 'Qwik site description',
},
],
};
1 change: 0 additions & 1 deletion src/routes/components/buttons/index.md

This file was deleted.

18 changes: 18 additions & 0 deletions src/routes/components/buttons/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { component$ } from '@builder.io/qwik';
import type { DocumentHead } from '@builder.io/qwik-city';

export default component$(() => {
return (
<>Buttons</>
);
});

export const head: DocumentHead = {
title: 'Buttons',
meta: [
{
name: 'description',
content: 'Qwik site description',
},
],
};
4 changes: 4 additions & 0 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { component$ } from '@builder.io/qwik';
import type { DocumentHead } from '@builder.io/qwik-city';

export default component$(() => {
const myArray = Array.from(Array(100).fill(""), (_, i) => i + 1);
return (
<>
<h1>Hi 👋</h1>
Expand All @@ -10,6 +11,9 @@ export default component$(() => {
<br />
Happy coding.
</p>
<ul class="list-disc m-4">
{ myArray.map((element) => (<li>{ element }</li>))}
</ul>
</>
);
});
Expand Down
16 changes: 10 additions & 6 deletions src/routes/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { component$, Slot } from '@builder.io/qwik';
import Navbar from '~/components/core/navbar';
import { component$, Slot } from "@builder.io/qwik";
import Navbar from "~/components/core/navbar";

export default component$(() => {
return <div>
<Navbar />
<Slot />
</div>;
return (
<div>
<Navbar />
<div class="md:container md:mx-auto p-3 my-6">
<Slot />
</div>
</div>
);
});
1 change: 0 additions & 1 deletion src/routes/social/index.md

This file was deleted.

18 changes: 18 additions & 0 deletions src/routes/social/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { component$ } from '@builder.io/qwik';
import type { DocumentHead } from '@builder.io/qwik-city';

export default component$(() => {
return (
<>Social Networks</>
);
});

export const head: DocumentHead = {
title: 'Social Networks',
meta: [
{
name: 'description',
content: 'Qwik site description',
},
],
};

0 comments on commit c33b285

Please sign in to comment.