diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2025-01-30 14:43:17 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-30 14:43:17 +0300 |
| commit | 681f7d3ba097cd8d204ff3ac4dae01432d323e5b (patch) | |
| tree | 8578439ebb74d6cefc2e07177689a40ed6b15464 /frontend/src/App.tsx | |
| parent | wr: finale 2 - 0 portals (#258) (diff) | |
| download | lphub-681f7d3ba097cd8d204ff3ac4dae01432d323e5b.tar.gz lphub-681f7d3ba097cd8d204ff3ac4dae01432d323e5b.tar.bz2 lphub-681f7d3ba097cd8d204ff3ac4dae01432d323e5b.zip | |
feat/frontend: dynamic title and meta descriptions (#261)
Diffstat (limited to 'frontend/src/App.tsx')
| -rw-r--r-- | frontend/src/App.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a02779b..bdd3adc 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | import React from 'react'; | 1 | import React from 'react'; |
| 2 | import { Routes, Route } from "react-router-dom"; | 2 | import { Routes, Route } from "react-router-dom"; |
| 3 | import { Helmet } from "react-helmet"; | ||
| 3 | 4 | ||
| 4 | import { UserProfile } from '@customTypes/Profile'; | 5 | import { UserProfile } from '@customTypes/Profile'; |
| 5 | import Sidebar from './components/Sidebar'; | 6 | import Sidebar from './components/Sidebar'; |
| @@ -68,6 +69,10 @@ const App: React.FC = () => { | |||
| 68 | 69 | ||
| 69 | return ( | 70 | return ( |
| 70 | <> | 71 | <> |
| 72 | <Helmet> | ||
| 73 | <title>LPHUB</title> | ||
| 74 | <meta name="description" content="Least Portals Hub" /> | ||
| 75 | </Helmet> | ||
| 71 | <UploadRunDialog token={token} open={uploadRunDialog} onClose={(updateProfile) => { | 76 | <UploadRunDialog token={token} open={uploadRunDialog} onClose={(updateProfile) => { |
| 72 | setUploadRunDialog(false); | 77 | setUploadRunDialog(false); |
| 73 | if (updateProfile) { | 78 | if (updateProfile) { |