File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
helm/env.d/dev/configuration/theme Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ THEME_CUSTOMIZATION_FILE_PATH=<path>
4444
4545### Example of JSON
4646
47- The json must follow some rules: https://github.com/suitenumerique/docs/blob/main/src/backend/impress/ configuration/theme/default .json
47+ The json must follow some rules: https://github.com/suitenumerique/docs/blob/main/src/helm/env.d/dev/ configuration/theme/demo .json
4848
4949` footer.default ` is the fallback if the language is not supported.
5050
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const BlueStripe = styled.div`
2222export const Footer = ( ) => {
2323 const { data : config } = useConfig ( ) ;
2424 const footerJson = config ?. theme_customization ?. footer ;
25- const { i18n } = useTranslation ( ) ;
25+ const { i18n, t } = useTranslation ( ) ;
2626 const [ legalLinks , setLegalLinks ] = useState < Link [ ] > ( ) ;
2727 const [ externalLinks , setExternalLinks ] = useState < Link [ ] > ( ) ;
2828 const [ bottomInformation , setBottomInformation ] =
@@ -82,7 +82,7 @@ export const Footer = () => {
8282 < Image
8383 priority
8484 src = { logo . src }
85- alt = { logo ?. alt || 'Logo' }
85+ alt = { logo ?. alt || t ( 'Logo' ) }
8686 width = { 0 }
8787 height = { 0 }
8888 style = { { width : logo ?. width || 'auto' , height : 'auto' } }
Original file line number Diff line number Diff line change 11{
22 "footer" : {
33 "default" : {
4+ "logo" : {
5+ "src" : " /assets/icon-docs.svg" ,
6+ "width" : " 54px" ,
7+ "alt" : " Docs Logo" ,
8+ "withTitle" : true
9+ },
410 "externalLinks" : [
511 {
612 "label" : " Github" ,
You can’t perform that action at this time.
0 commit comments