Skip to content

Commit

Permalink
Added footer
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellperry committed Feb 4, 2024
1 parent 9b78f05 commit 637263d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';

const Footer = () => {
return (
<footer>
<p>Jinaga is a product of Jinaga LLC.</p>
<p>Michael L Perry, President</p>
</footer>
);
};

export default Footer;
2 changes: 2 additions & 0 deletions src/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import PropTypes from 'prop-types'
import React from 'react'
import '../stylesheets/main.scss'
import Header from './header'
import Footer from './footer'

const Layout = ({ className, children, head }) => (
<>
Expand All @@ -10,6 +11,7 @@ const Layout = ({ className, children, head }) => (
{head}
</div>
<div className={className}>{children}</div>
<Footer />
</>
)

Expand Down
11 changes: 11 additions & 0 deletions src/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,17 @@ a.user-icon {
}
}

footer {
background: $theme-brand;
padding: 25px;
text-align: center;
color: rgb(184, 184, 184);

p {
margin: 5px;
}
}

.sidebar {
grid-column: 1 / 2;
grid-row: 1 / 3;
Expand Down

0 comments on commit 637263d

Please sign in to comment.