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

Add SuperHosting partner in Footer #1103

Merged
merged 1 commit into from
Nov 16, 2022
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
3 changes: 2 additions & 1 deletion public/locales/bg/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"faq": "Често задавани въпроси",
"privacy-policy": "Защита на лични данни",
"terms-of-service": "Общи условия",
"copyrights": "Podkrepi.bg ©2022 Всички права запазени."
"copyrights": "Podkrepi.bg ©2022 Всички права запазени.",
"hosting-partner": "Хостинг партньор:"
}
},
"or": "или",
Expand Down
3 changes: 2 additions & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"faq": "Frequently asked questions",
"privacy-policy": "Privacy Policy",
"terms-of-service": "Terms of Service",
"copyrights": "Podkrepi.bg ©2022 All rights reserved."
"copyrights": "Podkrepi.bg ©2022 All rights reserved.",
"hosting-partner": "Hosting partner:"
}
},
"or": "or",
Expand Down
10 changes: 10 additions & 0 deletions src/components/layout/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { useTranslation } from 'next-i18next'

import { Grid } from '@mui/material'

import { LogoSocialIcons } from './LogoSocialIcons'
import { FooterLinks } from './FooterLinks'
import { staticUrls } from 'common/routes'
import ExternalLink from 'components/common/ExternalLink'

import { Copyright, FooterWrapper, Root } from './Footer.styled'

Expand All @@ -16,6 +20,12 @@ export default function Footer() {
<Copyright item xs={12}>
{t('components.footer.copyrights')}
</Copyright>
<Grid item>
{t('components.footer.hosting-partner')}{' '}
<ExternalLink href={staticUrls.hostingProvider}>
<strong>SuperHosting.BG</strong>
</ExternalLink>
</Grid>
</FooterWrapper>
</Root>
)
Expand Down