aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages/Rules.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/Rules.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 'frontend/src/pages/Rules.tsx')
-rw-r--r--frontend/src/pages/Rules.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/src/pages/Rules.tsx b/frontend/src/pages/Rules.tsx
index b5625ce..9f57b7e 100644
--- a/frontend/src/pages/Rules.tsx
+++ b/frontend/src/pages/Rules.tsx
@@ -1,5 +1,6 @@
1import React from 'react'; 1import React from 'react';
2import ReactMarkdown from 'react-markdown'; 2import ReactMarkdown from 'react-markdown';
3import { Helmet } from 'react-helmet';
3 4
4import '@css/Rules.css'; 5import '@css/Rules.css';
5 6
@@ -29,6 +30,9 @@ const Rules: React.FC = () => {
29 30
30 return ( 31 return (
31 <main> 32 <main>
33 <Helmet>
34 <title>LPHUB | Rules</title>
35 </Helmet>
32 <ReactMarkdown>{rulesText}</ReactMarkdown> 36 <ReactMarkdown>{rulesText}</ReactMarkdown>
33 </main> 37 </main>
34 ); 38 );