Skip to content

Commit

Permalink
Merge pull request #62 from flotiq/feature/23230-flotiq-logo-linked-t…
Browse files Browse the repository at this point in the history
…o-flotiq-homepage

Ref. #23230 Header & Footer Flotiq logotypes linked to Flotiq homepage
  • Loading branch information
CiotkaCierpienia authored Mar 1, 2024
2 parents f4113f4 + 771282a commit 02ec63b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { graphql, useStaticQuery } from 'gatsby';
import { graphql, useStaticQuery, Link } from 'gatsby';
import React, { useState } from 'react';
import { Container, Nav, Navbar, NavDropdown } from 'react-bootstrap';
import FlotiqLinkButton from '../FlotiqLinkButton/FlotiqLinkButton';
Expand Down Expand Up @@ -121,16 +121,16 @@ const CustomNavbar = () => {
</div>
</div>
)}
<Navbar.Brand href={`${data.site.siteMetadata.pathPrefix}/`}>
<Navbar.Brand as={Link} to="https://flotiq.com">
<img
src={Logo}
alt="Flotiq"
className="d-none d-lg-inline"
src={Logo}
alt="Flotiq"
className="d-none d-lg-inline"
/>
<img
src={Logo2}
alt="Flotiq"
className="d-inline d-lg-none"
src={Logo2}
alt="Flotiq"
className="d-inline d-lg-none"
/>
</Navbar.Brand>
<div className="mobile-header-right">
Expand Down
6 changes: 5 additions & 1 deletion src/sections/Footer/FooterColumns/FooterColumns.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ const FooterColumns = ({ data }) => (
<Row className="d-none d-md-flex d-lg-flex">
<Col>
<ul className="main-footer-list">
<li className="main-footer-list-first-item"><img src={Logo} alt="" /></li>
<li className="main-footer-list-first-item">
<a href="https://flotiq.com">
<img src={Logo} alt=""/>
</a>
</li>
<li>
<strong>
Download
Expand Down

0 comments on commit 02ec63b

Please sign in to comment.