Skip to content

Commit

Permalink
Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan committed Jul 15, 2023
1 parent 9de8645 commit 078cb69
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.

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

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

## [0.4.0] - 2023-07-15

### Added

- Footer with information.

## [0.3.0] - 2023-07-15

### Added
Expand Down
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useTranslation } from "react-i18next";
import CookieConsent from "react-cookie-consent";

import { Home, NotFound } from './pages';
import { NavbarHeader } from './components';
import { NavbarHeader, Footer } from './components';
import './App.css';

function App() {
Expand All @@ -20,6 +20,7 @@ function App() {
<Route path="*" element={ <NotFound /> }/>
</Routes>
</Container>
<Footer />
<CookieConsent
location="bottom"
buttonText={t("CookieButton.text")}
Expand Down
11 changes: 11 additions & 0 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react";

export const Footer = () => {
return (
<footer id="sticky-footer" class="py-2 bg-dark text-white-50">
<div class="container text-center">
<small>Copyright &copy; Koldakov</small>
</div>
</footer>
);
};
1 change: 1 addition & 0 deletions src/components/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { NavbarHeader } from './NavbarHeader';
export { Footer } from './Footer';

0 comments on commit 078cb69

Please sign in to comment.