-
Notifications
You must be signed in to change notification settings - Fork 3
/
the-phamous.tsx
43 lines (38 loc) · 1.31 KB
/
the-phamous.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import type { NextPage } from 'next';
import Head from 'next/head';
import Image from 'next/image';
import React from 'react';
import Comment from '../components/Comment/Comment';
import List from '../components/List/List';
import BePhamousImage from '../public/be-phamous.png';
import hallOfFame from '../content/hallOfFame.content.json';
const imageStyle = {
width: "100%",
height: "auto",
}
const ThePhamousPage: NextPage = () => {
return (
<>
<Head>
<title>The Phamous</title>
</Head>
<h2>The Phamous People (My Hall of Fame)</h2>
<p>Pronounced as “The Famous”.</p>
<p>
Throughout my life, I have had the fortune of meeting some amazing folks. These folks have
taught me technical skills and life lessons, given me opportunities, and been there when I
needed help.
</p>
<p>To everyone here, thank you for everything and keep being awesome!</p>
<Image src={BePhamousImage} alt="" placeholder="blur" style={imageStyle}/>
{/* eslint-disable-next-line react/jsx-no-comment-textnodes */}
<Comment>// The ordering of names is random.</Comment>
<List>
{hallOfFame.map((person) => (
<li key={person.name}>{person.name}</li>
))}
</List>
</>
);
};
export default ThePhamousPage;