create pages of archive, added to header TODO: install TINA CMS
This commit is contained in:
parent
f14f94f069
commit
f4ab194b2b
|
|
@ -5,7 +5,6 @@
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cdrdpyj",
|
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/markdoc": "^0.15.10",
|
"@astrojs/markdoc": "^0.15.10",
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ const { locale } = Astro.params;
|
||||||
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#somos`>{tl("nav.about")}</a>
|
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#somos`>{tl("nav.about")}</a>
|
||||||
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#programs`>{tl("nav.programs")}</a>
|
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#programs`>{tl("nav.programs")}</a>
|
||||||
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#news`>{tl("nav.news")}</a>
|
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#news`>{tl("nav.news")}</a>
|
||||||
|
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}/archive`>{tl("nav.archive")}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="drawer lg:hidden">
|
<div class="drawer lg:hidden">
|
||||||
<input id="my-drawer-1" type="checkbox" class="drawer-toggle" />
|
<input id="my-drawer-1" type="checkbox" class="drawer-toggle" />
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
"nav.logo_line2": "and Justice Center",
|
"nav.logo_line2": "and Justice Center",
|
||||||
"nav.about": "About",
|
"nav.about": "About",
|
||||||
"nav.news": "News",
|
"nav.news": "News",
|
||||||
|
"nav.archive": "Archive",
|
||||||
"nav.programs": "Programs",
|
"nav.programs": "Programs",
|
||||||
"nav.contact": "Contact",
|
"nav.contact": "Contact",
|
||||||
"hero.name": "Dr. José Benjamín Pérez Matos",
|
"hero.name": "Dr. José Benjamín Pérez Matos",
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
"nav.about": "Somos",
|
"nav.about": "Somos",
|
||||||
"nav.news": "Noticias",
|
"nav.news": "Noticias",
|
||||||
"nav.programs": "Programas",
|
"nav.programs": "Programas",
|
||||||
|
"nav.archive": "Archivo",
|
||||||
"nav.contact": "Contacto",
|
"nav.contact": "Contacto",
|
||||||
|
|
||||||
"hero.name": "Dr. José Benjamín Pérez Matos",
|
"hero.name": "Dr. José Benjamín Pérez Matos",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page document.astro goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page index of documents goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page content goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page nations [nation] goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page index of nations goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page document.astro goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page index of documents goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page content goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page nations [nation] goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
import MainLayout from "@/layouts/MainLayout.astro"
|
||||||
|
import Header from "@/components/Header.astro"
|
||||||
|
import FooterSection from "@/components/section/FooterSection.astro";
|
||||||
|
|
||||||
|
|
||||||
|
import { createTranslator, t } from '@/i18n';
|
||||||
|
const tl = createTranslator(Astro.currentLocale);
|
||||||
|
---
|
||||||
|
|
||||||
|
<MainLayout >
|
||||||
|
<div class="top-16 relative mb container mx-auto">
|
||||||
|
<Header />
|
||||||
|
<div class="container mx-auto mt-4">
|
||||||
|
page index of nations goes here
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<FooterSection />
|
||||||
|
</MainLayout>
|
||||||
Loading…
Reference in New Issue