-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathindex.js
49 lines (44 loc) · 1.87 KB
/
index.js
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
44
45
46
47
48
49
import Head from 'next/head'
import styles from '../styles/Home.module.css'
import Image from 'next/image'
export default function Home() {
return (
<div className={styles.container}>
<Head>
<title>Hunting Coder</title>
<meta name="description" content="Generated by create next app" />
<meta name="keywords" content="nextjs, huntingcoder blog, hunting coder" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className={styles.main}>
<div className={styles.imagewrap}>
{/* <Image className={styles.myImg} src="/homeimg.jfif" width={237} height={158}/> */}
<Image className={styles.myImg} src="/homeimg.jfif" width={237} height={158} alt="hunting coder" />
</div>
<h1 className={styles.title}>
<span className='dummy'><HuntingCoder/></span>
</h1>
<div>
<h2 className={styles.h2}>Latest Blogs</h2>
<div>
<h3 className={styles.h3}>How to learn JavaScript in 2022?</h3>
<p>JavaScript is the language used to design logic for the web. Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic error voluptatum impedit!</p>
<button className={styles.btn}>Read More</button>
</div>
<div>
<h3 className={styles.h3}>How to learn JavaScript in 2022?</h3>
<p className={styles.p}>JavaScript is the language used to design logic for the web</p>
<button className={styles.btn}>Read More</button>
</div>
<div>
<h3 className={styles.h3}>How to learn JavaScript in 2022?</h3>
<p>JavaScript is the language used to design logic for the web</p>
<button className={styles.btn}>Read More</button>
</div>
</div>
</main>
<footer className={styles.footer}>
</footer>
</div>
)
}