lazy load + nav2 link

This commit is contained in:
Primakov Alexandr Alexandrovich
2024-10-24 18:51:40 +03:00
parent 4440cf7fa2
commit 008c2d3cb7
9 changed files with 77 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
import React from "react";
import { Link } from "react-router-dom";
import { URLs } from "../../__data__/urls";
export const AboutPage = () => {
return (
<div>
<h1>about page</h1>
{URLs.profile.isOn && <Link to={URLs.profile.getUrl()}>go to profile page</Link>}
</div>
);
};