diff --git a/devbox.json b/devbox.json index 77e8c64..fe339f4 100644 --- a/devbox.json +++ b/devbox.json @@ -33,7 +33,9 @@ "devbox run website setup" ], "deploy": [ - "export BUCKET_NAME=$(cat ${DEVBOX_PROJECT_ROOT}/infrastructure/env/secrets.tfvars | grep bucket_name | cut -d= -f 2 | xargs)", + "devbox run info", + "sleep 5", + "export BUCKET_NAME=$(cat ${DEVBOX_PROJECT_ROOT}/infrastructure/env/secrets.${WORKSPACE}.tfvars | grep bucket_name | cut -d= -f 2 | xargs)", "devbox run website deploy ${BUCKET_NAME}" ], "switch-env": [ diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index cd76b9a..abbb2dd 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -122,13 +122,22 @@ const config = { ] }, { - label: '🔥 How to Contribute', - position: 'left', + label: '⭐ Partners', items: [ { - to: '/contributors/partners', - label: '⭐ Partners', + to: '/partners/our-partners', + label: 'Our Partners', + }, + { + to: '/partners/how-to-became-partners', + label: 'How to became Partners', }, + ] + }, + { + label: '🔥 How to Contribute', + position: 'left', + items: [ { to: '/contributors/developers', label: '💻 Developers', @@ -157,10 +166,6 @@ const config = { }, ] }, - { - to: '/partners', - label: '⭐ Our Partners', - }, { to: '/about-us', label: '💎 About Us', @@ -190,7 +195,7 @@ const config = { label: `Home`, }, { - to: '/partners', + to: '/partners/our-partners', label: `Our Partners`, }, { diff --git a/website/i18n/it/docusaurus-plugin-content-pages/communities.tsx b/website/i18n/it/docusaurus-plugin-content-pages/communities.tsx index be754e5..90d519d 100644 --- a/website/i18n/it/docusaurus-plugin-content-pages/communities.tsx +++ b/website/i18n/it/docusaurus-plugin-content-pages/communities.tsx @@ -76,7 +76,7 @@ export default function App(): JSX.Element { - + diff --git a/website/i18n/it/docusaurus-plugin-content-pages/contributors/developers.md b/website/i18n/it/docusaurus-plugin-content-pages/contributors/developers.md index b0f4bb3..26e006b 100644 --- a/website/i18n/it/docusaurus-plugin-content-pages/contributors/developers.md +++ b/website/i18n/it/docusaurus-plugin-content-pages/contributors/developers.md @@ -25,7 +25,7 @@ Se volete lanciare il vostro progetto, dargli una spinta o semplicemente sentirv - [Aggiungi Startup](/contributors/startups) - [Aggiungi Community](/contributors/communities) - [Aggiungi una destinazione per Nomadi Digitali](/contributors/digital-nomads) -- [Diventa un Community Partner](/contributors/partners) +- [Diventa un Community Partner](/partners/how-to-became-partners) ## Come contribuire diff --git a/website/i18n/it/docusaurus-plugin-content-pages/partners.md b/website/i18n/it/docusaurus-plugin-content-pages/partners.md index e49935c..668856d 100644 --- a/website/i18n/it/docusaurus-plugin-content-pages/partners.md +++ b/website/i18n/it/docusaurus-plugin-content-pages/partners.md @@ -72,7 +72,7 @@ import Button from '@mui/material/Button'; - + diff --git a/website/i18n/it/docusaurus-theme-classic/footer.json b/website/i18n/it/docusaurus-theme-classic/footer.json index 271c08b..f37c679 100644 --- a/website/i18n/it/docusaurus-theme-classic/footer.json +++ b/website/i18n/it/docusaurus-theme-classic/footer.json @@ -5,7 +5,7 @@ }, "link.item.label.Our Partners": { "message": "Partners", - "description": "The label of footer link with label=Our Partners linking to /partners" + "description": "The label of footer link with label=Our Partners linking to /partners/our-partners" }, "link.item.label.GitHub": { "message": "GitHub", diff --git a/website/scripts/create_pages.py b/website/scripts/create_pages.py index 2437f54..13b8d6a 100644 --- a/website/scripts/create_pages.py +++ b/website/scripts/create_pages.py @@ -88,7 +88,7 @@ def add_startups_content(doc, data): add_website_content(doc, data.get("site_url")) if data["autogenerated"].get("partnership"): doc.add_block( - f"{data['name']} è nostro {data['sponsor_level']} sponsor. Vuoi supportarci anche te? vai sulla pagina sponsor

" + f"{data['name']} è nostro {data['sponsor_level']} sponsor. Vuoi supportarci anche te? vai sulla pagina sponsor

" ) diff --git a/website/src/pages/communities.tsx b/website/src/pages/communities.tsx index 51371ba..bcef5b1 100644 --- a/website/src/pages/communities.tsx +++ b/website/src/pages/communities.tsx @@ -75,7 +75,7 @@ export default function App(): JSX.Element {
- + diff --git a/website/src/pages/contributors/developers.md b/website/src/pages/contributors/developers.md index 8f1c4ec..5779122 100644 --- a/website/src/pages/contributors/developers.md +++ b/website/src/pages/contributors/developers.md @@ -25,7 +25,7 @@ Whether you want to launch your project, give it a boost or just feel part of an - [Add Company](/contributors/startups) - [Add Community](/contributors/communities) - [Add a destination for Digital Nomads](/contributors/digital-nomads) -- [Become a Partners](/contributors/partners) +- [Become a Partners](/partners/how-to-became-partners) ## How to contribute diff --git a/website/src/pages/contributors/partners.md b/website/src/pages/partners/how-to-became-partners.md similarity index 100% rename from website/src/pages/contributors/partners.md rename to website/src/pages/partners/how-to-became-partners.md diff --git a/website/src/pages/partners.md b/website/src/pages/partners/our-partners.md similarity index 98% rename from website/src/pages/partners.md rename to website/src/pages/partners/our-partners.md index 59cff89..fe2d173 100644 --- a/website/src/pages/partners.md +++ b/website/src/pages/partners/our-partners.md @@ -72,7 +72,7 @@ import Button from '@mui/material/Button'; - +