Merge branch 'pixunil' into 'main'

little tweaks

See merge request PronounsPage/PronounsPage!508
This commit is contained in:
Andrea Vos 2024-08-26 22:46:42 +00:00
commit fd4bd172ba
18 changed files with 30 additions and 24 deletions

View File

@ -13,6 +13,7 @@ body[data-theme="dark"] {
a { color: $primary-dark; }
a:hover { color: lighten($primary-dark, 10%); }
.text-primary { color: $primary-dark !important; }
.text-dark { color: $light !important; }
.btn-primary { color: $light; }
.btn-primary:hover { color: darken($white, 10%); }
@ -136,8 +137,7 @@ body[data-theme="dark"] {
/* BACKGROUNDS */
.bg-light { background-color: #31363d !important; }
.badge.bg-light { background-color: #000 !important; }
.bg-light { background-color: #111 !important; }
.bg-dark { background-color: #f8f9fa !important; }
.bg-white { background-color: #000 !important; }
.bg-white.text-white,

View File

@ -2,7 +2,7 @@
<span class="flag-wrapper">
<a
v-if="link"
:href="link.startsWith('http') ? link : `/${$config.nouns.route}/${$config.terminology.route}#${link.toLowerCase()}`"
:href="link.startsWith('http') ? link : `/${$config.terminology.route}#${link.toLowerCase()}`"
target="_blank"
rel="noopener"
:title="alt"

View File

@ -172,6 +172,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/القاموس/المصطلحات', to: '/%D8%A7%D9%84%D9%85%D8%B5%D8%B7%D9%84%D8%AD%D8%A7%D8%AA' }
api: ~

View File

@ -503,6 +503,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/substantive/terminologie', to: '/terminologie' }
api: ~

View File

@ -471,6 +471,7 @@ ads:
redirects:
- { from: '^/blog/neutral-language-council$', to: '/team' }
- { from: '^/dictionary/terminology', to: '/terminology' }
api:
examples:

View File

@ -253,6 +253,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/diccionario/terminologia', to: '/terminologia' }
api: ~

View File

@ -153,6 +153,6 @@ census:
enabled: false
redirects:
- { from: '^/blog/neutral-language-council$', to: '/team' }
- { from: '^/dictionnaire/terminologie', to: '/terminologie' }
api: ~

View File

@ -227,6 +227,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/辞書/用語', to: '/%E7%94%A8%E8%AA%9E' }
api: ~

View File

@ -139,6 +139,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/diksionaryo/terminolojia', to: '/terminolojia' }
api: ~

View File

@ -153,6 +153,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/woordenboek/terminologie', to: '/terminologie' }
api: ~

View File

@ -136,6 +136,7 @@ profile:
census:
enabled: false
redirects: []
redirects:
- { from: '^/ordbok/terminologi', to: '/terminologi' }
api: ~

View File

@ -3738,6 +3738,7 @@ redirects:
- { from: '^/s%C5%82ownik$', to: '/rzeczowniki' }
- { from: '^/s%C5%82owniki$', to: '/rzeczowniki' }
- { from: '^/słownik$', to: '/rzeczowniki' }
- { from: '^/rzeczowniki/terminologia', to: '/terminologia' }
- { from: '^/literatura$', to: '/korpus' }
- { from: '^/cenzus', to: '/spis' }
- { from: '^/blog/rada-j%C4%99zyka-neutralnego$', to: '/kolektyw-rjn' }

View File

@ -166,6 +166,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/dicionario/terminologia', to: '/terminologia' }
api: ~

View File

@ -310,6 +310,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/dictionar/terminologie', to: '/terminologie' }
api: ~

View File

@ -308,7 +308,8 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/dictionary/terminology', to: '/terminology' }
api: ~

View File

@ -160,6 +160,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/ordbok/terminologi', to: '/terminologi' }
api: ~

View File

@ -283,6 +283,7 @@ calendar:
census:
enabled: false
redirects: []
redirects:
- { from: '^/dictionary/terminology', to: '/terminology' }
api: ~

View File

@ -382,14 +382,6 @@ const nuxtConfig: NuxtConfig = {
path: `/${encodeURIComponent(config.terminology.route)}`,
component: resolve(__dirname, 'routes/terminology.vue'),
});
if (config.nouns.enabled) {
// TODO remove later
routes.push({
path: `/${encodeURIComponent(config.nouns.route)}/${encodeURIComponent(config.terminology.route)}`,
component: resolve(__dirname, 'routes/terminology.vue'),
});
}
}
if (config.names.enabled) {