Skip to content

Commit 078cb69

Browse files
author
Ivan
committed
Add footer
1 parent 9de8645 commit 078cb69

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
[0.4.0]: https://github.com/AivGitHub/koldakov/releases/tag/v0.4.0
78
[0.3.0]: https://github.com/AivGitHub/koldakov/releases/tag/v0.3.0
89
[0.2.0]: https://github.com/AivGitHub/koldakov/releases/tag/v0.2.0
910
[0.1.0]: https://github.com/AivGitHub/koldakov/releases/tag/v0.1.0
@@ -14,6 +15,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1415
[0.0.2]: https://github.com/AivGitHub/koldakov/releases/tag/v0.0.2
1516
[0.0.1]: https://github.com/AivGitHub/koldakov/releases/tag/v0.0.1
1617

18+
## [0.4.0] - 2023-07-15
19+
20+
### Added
21+
22+
- Footer with information.
23+
1724
## [0.3.0] - 2023-07-15
1825

1926
### Added

src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useTranslation } from "react-i18next";
55
import CookieConsent from "react-cookie-consent";
66

77
import { Home, NotFound } from './pages';
8-
import { NavbarHeader } from './components';
8+
import { NavbarHeader, Footer } from './components';
99
import './App.css';
1010

1111
function App() {
@@ -20,6 +20,7 @@ function App() {
2020
<Route path="*" element={ <NotFound /> }/>
2121
</Routes>
2222
</Container>
23+
<Footer />
2324
<CookieConsent
2425
location="bottom"
2526
buttonText={t("CookieButton.text")}

src/components/Footer.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from "react";
2+
3+
export const Footer = () => {
4+
return (
5+
<footer id="sticky-footer" class="py-2 bg-dark text-white-50">
6+
<div class="container text-center">
7+
<small>Copyright &copy; Koldakov</small>
8+
</div>
9+
</footer>
10+
);
11+
};

src/components/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export { NavbarHeader } from './NavbarHeader';
2+
export { Footer } from './Footer';

0 commit comments

Comments
 (0)