Skip to content

Commit 234a9c8

Browse files
committed
fix: seo on apps.
1 parent a910a19 commit 234a9c8

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/pages/AppPage.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@ import React, { useState, useEffect } from 'react';
22
import { Link } from 'react-router-dom';
33
import { ArrowLeftIcon } from '@phosphor-icons/react';
44
import AppCard from '../components/AppCard';
5-
import usePageTitle from '../utils/usePageTitle';
5+
import useSeo from "../hooks/useSeo";
66

77
function AppPage() {
8-
usePageTitle('Apps');
8+
useSeo({
9+
title: 'Apps | Fezcodex',
10+
description: 'All the available apps created within the Fezcodex.',
11+
keywords: ['Fezcodex', 'apps', 'applications', 'blog', 'dev', 'rant', 'series', 'd&d'],
12+
ogTitle: 'Apps | Fezcodex',
13+
ogDescription: 'All the available apps created within the Fezcodex.',
14+
ogImage: 'https://fezcode.github.io/logo512.png',
15+
twitterCard: 'summary_large_image',
16+
twitterTitle: 'Apps | Fezcodex',
17+
twitterDescription: 'All the available apps created within the Fezcodex.',
18+
twitterImage: 'https://fezcode.github.io/logo512.png'
19+
});
20+
921
const [apps, setApps] = useState([]);
1022

1123
useEffect(() => {

0 commit comments

Comments
 (0)