Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from nodejs:main #1530

Merged
merged 14 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,15 @@ jobs:
NODE_OPTIONS: '--max_old_space_size=4096'

- name: Sync Orama Cloud
# We only want to sync the Orama Cloud production indexes on `push` events.
# We also want to sync the Orama Cloud preview (deployment) indexes on `pull_request_target` events.
# We also want to ensure that the sync only happens on the `ubuntu-latest` runner to avoid duplicate syncs
# or Windows-based path issues.
env:
ORAMA_INDEX_ID: ${{ secrets.ORAMA_INDEX_ID }}
ORAMA_SECRET_KEY: ${{ secrets.ORAMA_SECRET_KEY }}
if: github.ref == 'refs/heads/main'
ORAMA_INDEX_ID: ${{ github.event_name == 'push' && secrets.ORAMA_PRODUCTION_INDEX_ID || secrets.ORAMA_INDEX_ID }}
ORAMA_SECRET_KEY: ${{ github.event_name == 'push' && secrets.ORAMA_PRODUCTION_SECRET_KEY || secrets.ORAMA_SECRET_KEY }}
if: |
(matrix.os == 'ubuntu-latest') &&
((github.event_name == 'push') || (github.event_name == 'pull_request_target'))
run: |
npm run sync-orama
8 changes: 7 additions & 1 deletion components/Containers/NavBar/NavItem/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
dark:text-neutral-200;
}

&:hover {
@apply bg-neutral-100
dark:bg-neutral-900;
}

&.nav {
.label {
@apply text-neutral-900
Expand Down Expand Up @@ -45,7 +50,8 @@
}

&:hover {
@apply bg-neutral-100 dark:bg-neutral-900;
@apply bg-neutral-100
dark:bg-neutral-900;
}
}
}
120 changes: 110 additions & 10 deletions i18n/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
"enabled": false,
"default": false
},
{
"code": "bn",
"localName": "বাংলা",
"name": "Bengali",
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "bn",
"enabled": false,
"default": false
},
{
"code": "de",
"localName": "Deutsch",
Expand All @@ -19,6 +29,16 @@
"enabled": false,
"default": false
},
{
"code": "el",
"localName": "Ελληνικά",
"name": "Greek",
"langDir": "ltr",
"dateFormat": "DD/MM/YYYY",
"hrefLang": "el-GR",
"enabled": false,
"default": false
},
{
"code": "en",
"localName": "English",
Expand Down Expand Up @@ -49,13 +69,43 @@
"enabled": false,
"default": false
},
{
"code": "fi",
"localName": "Suomi",
"name": "Finnish",
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "fi",
"enabled": false,
"default": false
},
{
"code": "fr",
"localName": "Français",
"name": "French",
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "fr",
"enabled": true,
"default": false
},
{
"code": "he",
"localName": "עִברִית",
"name": "Hebrew",
"langDir": "rtl",
"dateFormat": "DD-MM-YYYY",
"hrefLang": "he",
"enabled": false,
"default": false
},
{
"code": "hi",
"localName": "हिन्दी",
"name": "Hindi",
"langDir": "ltr",
"dateFormat": "DD/MM/YYYY",
"hrefLang": "hi",
"enabled": false,
"default": false
},
Expand Down Expand Up @@ -109,6 +159,36 @@
"enabled": false,
"default": false
},
{
"code": "mn",
"localName": "Монгол",
"name": "Mongolian",
"langDir": "ltr",
"dateFormat": "YYYY.MM.DD",
"hrefLang": "mn",
"enabled": false,
"default": false
},
{
"code": "nl",
"localName": "Nederlands",
"name": "Dutch",
"langDir": "ltr",
"dateFormat": "DD-MM-YYYY",
"hrefLang": "nl",
"enabled": false,
"default": false
},
{
"code": "pl",
"localName": "Polski",
"name": "Polish",
"langDir": "ltr",
"dateFormat": "DD/MM/YYYY",
"hrefLang": "pl",
"enabled": false,
"default": false
},
{
"code": "pt-br",
"localName": "Português do Brasil",
Expand All @@ -119,6 +199,16 @@
"enabled": false,
"default": false
},
{
"code": "pt",
"localName": "Português",
"name": "Português",
"langDir": "ltr",
"dateFormat": "MM.DD.YYYY",
"hrefLang": "pt",
"enabled": true,
"default": false
},
{
"code": "ro",
"localName": "Română",
Expand All @@ -139,6 +229,16 @@
"enabled": false,
"default": false
},
{
"code": "sv",
"localName": "Svenska",
"name": "Swedish",
"langDir": "ltr",
"dateFormat": "YYYY-MM-DD",
"hrefLang": "sv",
"enabled": false,
"default": false
},
{
"code": "tr",
"localName": "Türkçe",
Expand All @@ -159,6 +259,16 @@
"enabled": false,
"default": false
},
{
"code": "uz",
"localName": "O'zbek",
"name": "Uzbek",
"langDir": "ltr",
"dateFormat": "DD.MM.YYYY",
"hrefLang": "uz",
"enabled": false,
"default": false
},
{
"code": "zh-cn",
"localName": "简体中文",
Expand All @@ -178,15 +288,5 @@
"hrefLang": "zh-Hant",
"enabled": false,
"default": false
},
{
"code": "pl",
"localName": "Polski",
"name": "Polish",
"langDir": "ltr",
"dateFormat": "DD/MM/YYYY",
"hrefLang": "pl",
"enabled": false,
"default": false
}
]
Loading
Loading