From fe6a1eb164ffa1a47afcb17fe263df1f186e8dbe Mon Sep 17 00:00:00 2001 From: Ethan Edwards Date: Thu, 28 Nov 2024 21:13:31 -0500 Subject: [PATCH] add titles to the pages --- pages/about.js | 5 +++++ pages/blog/index.js | 5 +++++ pages/congress/index.js | 6 ++++++ pages/podcast.js | 5 +++++ 4 files changed, 21 insertions(+) diff --git a/pages/about.js b/pages/about.js index 1c71b71..616f41e 100644 --- a/pages/about.js +++ b/pages/about.js @@ -1,9 +1,14 @@ import React from 'react'; import styles from '../styles/about.module.scss'; +import Head from 'next/head'; export default function About() { return ( <> + + About Me + +
my logo diff --git a/pages/blog/index.js b/pages/blog/index.js index 355ffb2..37c2b7c 100644 --- a/pages/blog/index.js +++ b/pages/blog/index.js @@ -1,5 +1,6 @@ import Link from 'next/link'; import dayjs from 'dayjs'; +import Head from 'next/head'; import { getAllPosts } from '../../lib/posts'; import styles from '../../styles/blog.module.scss'; @@ -7,6 +8,10 @@ import styles from '../../styles/blog.module.scss'; export default function Blog({ posts }) { return ( <> + + Blog + +

List of posts:

{posts.map((post, index) => ( diff --git a/pages/congress/index.js b/pages/congress/index.js index dcc0d4f..4ad721d 100644 --- a/pages/congress/index.js +++ b/pages/congress/index.js @@ -1,6 +1,7 @@ import Link from 'next/link'; import dayjs from 'dayjs'; import { useState } from 'react'; +import Head from 'next/head'; import styles from '../../styles/blog.module.scss'; @@ -25,6 +26,11 @@ export default function Congress() { return ( <> + + Congress Search + + +

Welcome to Find Your Rep.

To learn more about who represents you in congress, input your address below. Please note that inputting your full address increases accuracy.

diff --git a/pages/podcast.js b/pages/podcast.js index 292d9f6..47154c7 100644 --- a/pages/podcast.js +++ b/pages/podcast.js @@ -1,5 +1,6 @@ import Link from 'next/link'; import dayjs from 'dayjs'; +import Head from 'next/head'; import styles from '../styles/blog.module.scss'; @@ -7,6 +8,10 @@ export default function Blog({ episodes }) { return ( <> + + The Ridge Podcast + +

Welcome to The Ridge Podcast

Here you can find conversations on Appalachia history and culture.