1
0

Apply reloadDocument to Link components to fix broken ScrollSpy

This commit is contained in:
PA4KEV 2023-01-03 19:39:27 +01:00
parent be44f165f2
commit 07a302a9cc
4 changed files with 8 additions and 10 deletions

View File

@ -8,12 +8,12 @@ const Home = () => {
<section className="content-section"> <section className="content-section">
<h1>Hallo, my name is Kevin.</h1> <h1>Hallo, my name is Kevin.</h1>
<h3>Nice to meet you! :)</h3> <h3>Nice to meet you! :)</h3>
<p>I have done <Link to="/pages/software">configuration automation</Link>, <Link to="/pages/software/dxp-development">DXP development</Link> and ...</p> <p>I have done <Link reloadDocument to="/pages/software/configuration-automation">configuration automation</Link>, <Link reloadDocument to="/pages/software/dxp-development">DXP development</Link> and ...</p>
<p>When it comes to technology and engineering, I am always curious and eager to learn and adept myself. One of the things I enjoy the most is being able to teach others. Interns who enthousiastically become better programmers themselves through my knowledge is amazing! Check out my <Link to="/pages/software">Software</Link> journey.</p> <p>When it comes to technology and engineering, I am always curious and eager to learn and adept myself. One of the things I enjoy the most is being able to teach others. Interns who enthousiastically become better programmers themselves through my knowledge is amazing! Check out my <Link reloadDocument to="/pages/software">Software</Link> journey.</p>
<p>My other interests are:</p> <p>My other interests are:</p>
<ul> <ul>
<li><Link to="/pages/radio">amateur radio</Link></li> <li><Link reloadDocument to="/pages/radio">amateur radio</Link></li>
<li><Link to="/pages/linux">Linux</Link></li> <li><Link reloadDocument to="/pages/linux">Linux</Link></li>
<li>electronics</li> <li>electronics</li>
<li>learning Japanese</li> <li>learning Japanese</li>
<li>woodworking</li> <li>woodworking</li>

View File

@ -1,7 +1,5 @@
import React from 'react'; import React from 'react';
import {BrowserRouter as Router, Routes, Route, Link} from 'react-router-dom';
const DXPDevelopment = () => { const DXPDevelopment = () => {
return ( return (
<div className='row'> <div className='row'>

View File

@ -106,7 +106,7 @@ const Software = () => {
<hr/> <hr/>
<p>Projects I have worked on:</p> <p>Projects I have worked on:</p>
<ul> <ul>
<li><Link to="/pages/software/dxp-development">DXP development- OPPLE catalog generator</Link></li> <li><Link reloadDocument to="/pages/software/dxp-development">DXP development- OPPLE catalog generator</Link></li>
</ul> </ul>
</section> </section>
</div> </div>

View File

@ -29,11 +29,11 @@ const Navigation = (props) => {
Portal Portal
</a> </a>
<ul className="dropdown-menu"> <ul className="dropdown-menu">
<li><Link to="/pages/software" className="dropdown-item">Software</Link></li> <li><Link reloadDocument to="/pages/software" className="dropdown-item">Software</Link></li>
<li><hr className="dropdown-divider"/></li> <li><hr className="dropdown-divider"/></li>
<li><Link to="/pages/radio" className="dropdown-item">Radio Amateur</Link></li> <li><Link reloadDocument to="/pages/radio" className="dropdown-item">Radio Amateur</Link></li>
<li><hr className="dropdown-divider"/></li> <li><hr className="dropdown-divider"/></li>
<li><Link to="/pages/linux" className="dropdown-item">Linux</Link></li> <li><Link reloadDocument to="/pages/linux" className="dropdown-item">Linux</Link></li>
</ul> </ul>
</li> </li>
{/* <li className="nav-item"> {/* <li className="nav-item">