Skip to content

Commit

Permalink
add titles to the pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ethancedwards8 committed Nov 29, 2024
1 parent 3233922 commit fe6a1eb
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/about.js
Original file line number Diff line number Diff line change
@@ -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 (
<>
<Head>
<title>About Me</title>
</Head>

<div className={styles.wrapper}>
<div className={`${styles.zero} ${styles.makecenter}`}>
<img src="/logo.jpg" alt="my logo" className={styles.logo}/>
Expand Down
5 changes: 5 additions & 0 deletions pages/blog/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
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';

export default function Blog({ posts }) {
return (
<>
<Head>
<title>Blog</title>
</Head>

<h1 className={styles.header}>List of posts:</h1>
<div className={styles.blog}>
{posts.map((post, index) => (
Expand Down
6 changes: 6 additions & 0 deletions pages/congress/index.js
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -25,6 +26,11 @@ export default function Congress() {

return (
<>
<Head>
<title>Congress Search</title>
</Head>


<h1 className={styles.header}>Welcome to Find Your Rep.</h1>
<p className={styles.text}>To learn more about who represents you in congress, input your address below.
Please note that inputting your full address increases accuracy.</p>
Expand Down
5 changes: 5 additions & 0 deletions pages/podcast.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import Link from 'next/link';
import dayjs from 'dayjs';
import Head from 'next/head';

import styles from '../styles/blog.module.scss';

export default function Blog({ episodes }) {

return (
<>
<Head>
<title>The Ridge Podcast</title>
</Head>

<div className={styles.podcast}>
<h1 className={styles.header}>Welcome to The Ridge Podcast</h1>
<p>Here you can find conversations on Appalachia history and culture.</p>
Expand Down

0 comments on commit fe6a1eb

Please sign in to comment.