aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages/User.tsx
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2025-01-30 14:43:17 +0300
committerGitHub <noreply@github.com>2025-01-30 14:43:17 +0300
commit681f7d3ba097cd8d204ff3ac4dae01432d323e5b (patch)
tree8578439ebb74d6cefc2e07177689a40ed6b15464 /frontend/src/pages/User.tsx
parentwr: finale 2 - 0 portals (#258) (diff)
downloadlphub-681f7d3ba097cd8d204ff3ac4dae01432d323e5b.tar.gz
lphub-681f7d3ba097cd8d204ff3ac4dae01432d323e5b.tar.bz2
lphub-681f7d3ba097cd8d204ff3ac4dae01432d323e5b.zip
feat/frontend: dynamic title and meta descriptions (#261)
Diffstat (limited to '')
-rw-r--r--frontend/src/pages/User.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/pages/User.tsx b/frontend/src/pages/User.tsx
index 938dbd5..d43c0c6 100644
--- a/frontend/src/pages/User.tsx
+++ b/frontend/src/pages/User.tsx
@@ -1,5 +1,6 @@
1import React from 'react'; 1import React from 'react';
2import { Link, useLocation, useNavigate } from 'react-router-dom'; 2import { Link, useLocation, useNavigate } from 'react-router-dom';
3import { Helmet } from 'react-helmet';
3 4
4import { SteamIcon, TwitchIcon, YouTubeIcon, PortalIcon, FlagIcon, StatisticsIcon, SortIcon, ThreedotIcon, DownloadIcon, HistoryIcon } from '@images/Images'; 5import { SteamIcon, TwitchIcon, YouTubeIcon, PortalIcon, FlagIcon, StatisticsIcon, SortIcon, ThreedotIcon, DownloadIcon, HistoryIcon } from '@images/Images';
5import { UserProfile } from '@customTypes/Profile'; 6import { UserProfile } from '@customTypes/Profile';
@@ -92,6 +93,10 @@ const User: React.FC<UserProps> = ({ token, profile, gameData }) => {
92 93
93 return ( 94 return (
94 <main> 95 <main>
96 <Helmet>
97 <title>LPHUB | {user.user_name}</title>
98 <meta name="description" content={user.user_name} />
99 </Helmet>
95 {MessageDialogComponent} 100 {MessageDialogComponent}
96 <section id='section1' className='profile'> 101 <section id='section1' className='profile'>
97 <div> 102 <div>