feat: switch from Link to a href anchor in Header
This commit is contained in:
parent
5bb20ff80b
commit
75f6b3c0c4
|
@ -1,47 +1,31 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { Link} from 'react-router-dom';
|
|
||||||
|
|
||||||
export default function Header(){
|
export default function Header(){
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Link
|
<a href='/' rel="noopener noreferrer">
|
||||||
to='/'
|
|
||||||
>
|
|
||||||
<button>
|
<button>
|
||||||
Home
|
Home
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</a>
|
||||||
<Link
|
<a href='https://www.swingbe.de/imprint/'
|
||||||
title="imprint"
|
target="_blank" rel="noopener noreferrer">
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer nofollow"
|
|
||||||
to='https://www.swingbe.de/imprint/'
|
|
||||||
>
|
|
||||||
<button>
|
<button>
|
||||||
Imprint
|
Imprint
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</a>
|
||||||
<Link
|
<a href='https://www.swingbe.de/privacy-policy/'
|
||||||
title="privacy policy"
|
target="_blank" rel="noopener noreferrer">
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer nofollow"
|
|
||||||
to='https://www.swingbe.de/privacy-policy/'
|
|
||||||
>
|
|
||||||
<button>
|
<button>
|
||||||
Privacy Policy
|
Privacy Policy
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</a>
|
||||||
<Link
|
<a href='https://git.wtf-eg.de/dancesWithCycles/delfi'
|
||||||
title="source"
|
target="_blank" rel="noopener noreferrer">
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer nofollow"
|
|
||||||
to='https://git.wtf-eg.de/dancesWithCycles/station-profile'
|
|
||||||
>
|
|
||||||
<button>
|
<button>
|
||||||
Source
|
Source
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</a>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue