feat: switch from Link to a href anchor in Header

This commit is contained in:
dancingCycle 2023-08-30 13:19:27 +02:00
parent 5bb20ff80b
commit 75f6b3c0c4
1 changed files with 11 additions and 27 deletions

View File

@ -1,47 +1,31 @@
import React from 'react'
import { Link} from 'react-router-dom';
export default function Header(){
return (
<>
<Link
to='/'
>
<a href='/' rel="noopener noreferrer">
<button>
Home
</button>
</Link>
<Link
title="imprint"
target="_blank"
rel="noopener noreferrer nofollow"
to='https://www.swingbe.de/imprint/'
>
</a>
<a href='https://www.swingbe.de/imprint/'
target="_blank" rel="noopener noreferrer">
<button>
Imprint
</button>
</Link>
<Link
title="privacy policy"
target="_blank"
rel="noopener noreferrer nofollow"
to='https://www.swingbe.de/privacy-policy/'
>
</a>
<a href='https://www.swingbe.de/privacy-policy/'
target="_blank" rel="noopener noreferrer">
<button>
Privacy Policy
</button>
</Link>
<Link
title="source"
target="_blank"
rel="noopener noreferrer nofollow"
to='https://git.wtf-eg.de/dancesWithCycles/station-profile'
>
</a>
<a href='https://git.wtf-eg.de/dancesWithCycles/delfi'
target="_blank" rel="noopener noreferrer">
<button>
Source
</button>
</Link>
</a>
</>
);
};