Skip to content

Commit

Permalink
fix: preheader link without gatsby (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
ginifizz committed May 17, 2023
1 parent ee14a05 commit f1cc359
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/PreheaderCon.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React from 'react';
import { Link } from 'gatsby';
import Logo from '@con/images/logo.svg';
import Web from '@con/components/common/Web';
import Button from './common/Button';

const PreheaderCon: React.ComponentType = () => (
<Link to="/con">
<a href="/con">
<div className="preheader preheader-con" role="button">
<Web className="preheader-con__web con__web" isVisible />
<img src={Logo} alt="Api Platform Conference" height="40" />
Expand All @@ -17,7 +16,7 @@ const PreheaderCon: React.ComponentType = () => (
</div>
<Button text="Register now" className="preheader-con__button small empty white" />
</div>
</Link>
</a>
);

export default PreheaderCon;

0 comments on commit f1cc359

Please sign in to comment.