Skip to content

Commit

Permalink
Merge pull request #163 from Abra19/footer-add-source
Browse files Browse the repository at this point in the history
footer add source code
  • Loading branch information
dzencot committed Jan 20, 2023
2 parents c3d9ae3 + 9861932 commit c88fbad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions frontend/src/components/Footer.jsx
Expand Up @@ -132,6 +132,17 @@ export function buildFooter() {
{t('footer.licenseAgreement')}
</Nav.Link>
</li>
<li>
<Nav.Link
as="a"
eventKey="source"
className="py-1 text-muted px-0 pt-0"
href="https://github.com/hexlet-rus/runit"
target="_blank"
>
{t('footer.source')}
</Nav.Link>
</li>
</Nav>
<Nav as="ul" className="flex-column align-items-start">
<div className="fw-bold mt-3 mb-3 text-white">
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/en.js
Expand Up @@ -145,6 +145,7 @@ const enLocales = {
en: 'English',
ru: 'Русский',
mailSupport: 'Mail to support',
source: 'Source Code',
},
embedFrame: {
runButton: 'Run',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/ru.js
Expand Up @@ -147,6 +147,7 @@ const ruLocales = {
en: 'English',
ru: 'Русский',
mailSupport: 'Напишите нам',
source: 'Исходный код',
},
embedFrame: {
runButton: 'Запустить',
Expand Down

0 comments on commit c88fbad

Please sign in to comment.