-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from edenia/fix/default-languages
fix(webapp): refactor internacionalization logic
- Loading branch information
Showing
46 changed files
with
1,738 additions
and
1,807 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
129 changes: 0 additions & 129 deletions
129
webapp/src/app/[lng]/components/Content/LanguageSelector/index.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 24 additions & 0 deletions
24
webapp/src/app/[locale]/components/Content/Footer/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { Typography } from '@mui/material' | ||
import { useTranslations } from 'next-intl' | ||
|
||
import useStyles from './styles' | ||
|
||
type FooterProps = { | ||
isDarkTheme: boolean | ||
toggleThemeType(): void | ||
} | ||
|
||
const Footer: React.FC<FooterProps> = () => { | ||
const classes = useStyles() | ||
const t = useTranslations('Footer') | ||
|
||
return ( | ||
<footer> | ||
<Typography className={classes.copyright}> | ||
Copyright © {new Date().getFullYear()} {t('copyright')} | ||
</Typography> | ||
</footer> | ||
) | ||
} | ||
|
||
export default Footer |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
9 changes: 1 addition & 8 deletions
9
.../components/Content/Header/DrawerView.tsx → .../components/Content/Header/DrawerView.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.