feat(langs): Add internacionalization functionality
This commit is contained in:
parent
eef9ec9457
commit
45fcc13497
27 changed files with 1330 additions and 390 deletions
16
src/components/LangSelector.astro
Normal file
16
src/components/LangSelector.astro
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
import { LanguageSelector } from 'astro-i18next/components';
|
||||
---
|
||||
|
||||
<LanguageSelector showFlag={false} class="selector" />
|
||||
|
||||
<style lang="scss">
|
||||
.selector {
|
||||
padding: var(--prj-spacing-1);
|
||||
border: 1px solid var(--prj-input);
|
||||
color: var(--prj-input-text);
|
||||
background-color: var(--prj-input);
|
||||
font-size: 0.9rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue