Skip to content

Commit

Permalink
add cardstyles
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 20, 2024
1 parent a45a82d commit b1e0910
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ Thumbs.db
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# packaging
packaging-lock.json
2 changes: 1 addition & 1 deletion src/lib/components/AbstractContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
const navULclass =
'flex flex-col p-4 mt-4 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:text-lg md:font-medium';
const contentContainerClass = 'content-container mx-auto max-w-6xl p-4';
const contentContainerClass = 'mx-auto max-w-6xl p-4';
</script>

<!-- Top element-->
Expand Down
14 changes: 8 additions & 6 deletions src/lib/components/Frontpage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
const paragraphStyle = 'mb-3 font-normal text-gray-700 dark:text-gray-400 leading-tight';
const arrowStyle = 'ms-2 h-6 w-6 text-white';
const buttonStyle = 'w-fit';
const galleryStyle = 'grid-cols-2 gap-y-12';
const cardStyle = 'p-6 m-4 w-full';
</script>

<!-- This is a dummy landing page that is only there to check that the AbstractComponent works as it should-->
<Gallery class="grid-cols-2 gap-4 p-4">
<Card>
<Gallery class={galleryStyle}>
<Card class={cardStyle}>
<h5 class={headerStyle}>Was ist Mondey?</h5>
<p class={paragraphStyle}>
<i>Mondey</i> ist ein wissentschaftlich geprüftes Programm zure Dokumentation der Entwicklung von
Expand All @@ -20,7 +22,7 @@
<Button class={buttonStyle}>Mehr Info <ArrowRightOutline class={arrowStyle} /></Button>
</Card>

<Card>
<Card class={cardStyle}>
<h5 class={headerStyle}>Wozu ist Mondey gut?</h5>
<p class={paragraphStyle}>
Anhand ihrer Bewertungen der Fähigkeiten des Kindes erhalten sie Feedback zum
Expand All @@ -30,7 +32,7 @@
<Button class={buttonStyle}>Mehr Info <ArrowRightOutline class={arrowStyle} /></Button>
</Card>

<Card>
<Card class={cardStyle}>
<h5 class={headerStyle}>Was umfasst Mondey?</h5>
<p class={paragraphStyle}>
<i>Mondey</i> umfasst unterschiedliche Entwicklungsbereiche wie von Kindern im Alter von 0 bis
Expand All @@ -40,7 +42,7 @@
<Button class={buttonStyle}>Mehr Info <ArrowRightOutline class={arrowStyle} /></Button>
</Card>

<Card>
<Card class={cardStyle}>
<h5 class={headerStyle}>Wie funktioniert Mondey?</h5>
<p class={paragraphStyle}>
Sie bewerten wie gut das Kind bestimmte Alltagshandlungen durchführen kann mit Hilfe einer
Expand All @@ -49,7 +51,7 @@
<Button class={buttonStyle}>Mehr Info <ArrowRightOutline class={arrowStyle} /></Button>
</Card>

<Card>
<Card class={cardStyle}>
<h5 class={headerStyle}>Wo fange ich an?</h5>
<p class={paragraphStyle}>
Um zu beginnen, müssen sie sich registrieren und ein Profil für ihr Kind anlegen.
Expand Down

0 comments on commit b1e0910

Please sign in to comment.