diff --git a/front/src/layouts/Layout.astro b/front/src/layouts/Layout.astro index 4c4a614..e3731e6 100644 --- a/front/src/layouts/Layout.astro +++ b/front/src/layouts/Layout.astro @@ -4,9 +4,10 @@ import "../style/vars/index.scss"; interface Props { title: string; + description?: string; } -const { title } = Astro.props; +const { title, description = "" } = Astro.props; --- @@ -21,10 +22,12 @@ const { title } = Astro.props; {title} | Laba - + {description && } + + + + + diff --git a/front/src/views/ekintza/Ekintza.astro b/front/src/views/ekintza/Ekintza.astro index 658f9fc..ef82be2 100644 --- a/front/src/views/ekintza/Ekintza.astro +++ b/front/src/views/ekintza/Ekintza.astro @@ -21,7 +21,7 @@ const { ekintza } = Astro.props; const irudia = ekintza.mainMedia ? getImageData(ekintza.mainMedia) : null; --- - +
diff --git a/front/src/views/ekintzak/Ekintzak.astro b/front/src/views/ekintzak/Ekintzak.astro index 69c6d14..7cba65a 100644 --- a/front/src/views/ekintzak/Ekintzak.astro +++ b/front/src/views/ekintzak/Ekintzak.astro @@ -12,7 +12,7 @@ interface Props { const { ekintzak } = Astro.props; --- - +
diff --git a/front/src/views/hasiera/Hasiera.astro b/front/src/views/hasiera/Hasiera.astro index 1689159..954110e 100644 --- a/front/src/views/hasiera/Hasiera.astro +++ b/front/src/views/hasiera/Hasiera.astro @@ -27,7 +27,10 @@ const hurrengoEkintzak = ekintzak.filter((ekintza) => ); --- - +
diff --git a/front/src/views/orriBasikoa/OrriBasikoa.astro b/front/src/views/orriBasikoa/OrriBasikoa.astro index af6f488..e45a6c5 100644 --- a/front/src/views/orriBasikoa/OrriBasikoa.astro +++ b/front/src/views/orriBasikoa/OrriBasikoa.astro @@ -12,7 +12,7 @@ interface Props { const { orriBasikoa } = Astro.props; --- - +
diff --git a/front/src/views/zikloa/Zikloa.astro b/front/src/views/zikloa/Zikloa.astro index 81707ed..d178c70 100644 --- a/front/src/views/zikloa/Zikloa.astro +++ b/front/src/views/zikloa/Zikloa.astro @@ -12,7 +12,7 @@ interface Props { const { zikloa } = Astro.props; --- - +