Skip to content

Commit

Permalink
Footer link updates with bonus nav bar padding fix (#185)
Browse files Browse the repository at this point in the history
* Footer link updates with bonus nav bar fix
  • Loading branch information
brdunfield authored Dec 14, 2023
1 parent e3078e0 commit e15ffda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 35 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@civicactions/data-catalog-components",
"version": "1.17.0",
"version": "1.17.1",
"description": "React Components for Open Data Catalogs.",
"main": "dist/index.js",
"source": "src/index.ts",
Expand Down
36 changes: 3 additions & 33 deletions src/templates/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function Footer({
}) {
const menu1 = links ? <Menu items={links.footer1} menuId="leftnav" /> : null;
const menu2 = links ? <Menu items={links.footer2} menuId="rightnav" /> : null;

return (
<div className="dc-footer">
<div className={`${customClasses} page-footer`}>
Expand All @@ -24,37 +23,8 @@ function Footer({
publishing and analysis are also open and transparent.
</p>
<p>
Powered by <a href="http://getdkan.com">DKAN</a>
</p>
<div className="social">
<a href="https://www.facebook.com/GetDKAN/">
<FontAwesomeIcon
icon={['fab', 'facebook']}
size="1x"
aria-hidden="true"
role="presentation"
/>
<span className="sr-only">Facebook</span>
</a>
<a href="https://twitter.com/getdkan">
<FontAwesomeIcon
icon={['fab', 'twitter']}
size="1x"
aria-hidden="true"
role="presentation"
/>
<span className="sr-only">Twitter</span>
</a>
<a href="https://dkan.slack.com/">
<FontAwesomeIcon
icon={['fab', 'slack']}
size="1x"
aria-hidden="true"
role="presentation"
/>
<span className="sr-only">Slack</span>
</a>
<a href="https://github.com/getdkan">
Powered by <a href="https://github.com/getdkan">DKAN</a>
<a href="https://github.com/getdkan" className="social">
<FontAwesomeIcon
icon={['fab', 'github']}
size="1x"
Expand All @@ -63,7 +33,7 @@ function Footer({
/>
<span className="sr-only">Github</span>
</a>
</div>
</p>
</div>
{menu1}
{menu2}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/NavBar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const NavBar = ({
return (
<div className={` ${defaultStyling ? ' dc-main-navigation base-styles' : ''}`}>
{expand && (
<Navbar expand="md" className={customClasses}>
<Navbar expand="md" className={customClasses} container={false}>
<div className="dc-toggle">
<NavbarToggler onClick={() => toggleOpen(!isOpen)}>
<FontAwesomeIcon
Expand Down

0 comments on commit e15ffda

Please sign in to comment.