File tree Expand file tree Collapse file tree 8 files changed +25
-1995
lines changed Expand file tree Collapse file tree 8 files changed +25
-1995
lines changed Original file line number Diff line number Diff line change 1
1
# How to Make a Blog Website with Next.js and Tailwind CSS
2
2
3
- ## Topics Covered Include
3
+ ## Some of my takeaways
4
4
5
+ Creating React Functional Components
5
6
Tailwind CSS
6
7
Page routing in Next.js
7
8
JavaScript destructuring
8
9
Creating Headers and Footers
9
- Using React Icons to import social media icons
10
+ Creating a Navbar
11
+ Using React Icons to import social media icons and linking to external links
10
12
Using [ Swiper] for interactive scrolling
11
-
12
- Creating an API to access backend Data.
13
+ Creating APIs to access backend Data.
13
14
API Endpoints
14
15
Dynamic API Routing
15
16
16
17
You can access the tutorial [ Here] ( https://www.youtube.com/watch?v=1T3GF6endl8 )
18
+
19
+ ### Other Notes
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const Author = () => {
9
9
width = { 60 }
10
10
height = { 60 }
11
11
className = 'rounded-full'
12
+ alt = 'author image'
12
13
/>
13
14
< div className = 'flex flex-col justify-center px-4' >
14
15
< Link href = { '/' } >
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ function Post() {
28
28
className = 'rounded'
29
29
width = { 300 }
30
30
height = { 200 }
31
+ alt = 'plant image'
31
32
/>
32
33
</ a >
33
34
</ Link >
Original file line number Diff line number Diff line change @@ -41,7 +41,12 @@ function Slide() {
41
41
< div className = 'image' >
42
42
< Link href = { '/' } >
43
43
< a >
44
- < Image src = { '/images/img1.jpeg' } width = { 600 } height = { 600 } />
44
+ < Image
45
+ src = { '/images/img1.jpeg' }
46
+ width = { 600 }
47
+ height = { 600 }
48
+ alt = 'plant image'
49
+ />
45
50
</ a >
46
51
</ Link >
47
52
</ div >
Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ export default function Section2() {
23
23
function Post ( ) {
24
24
return (
25
25
< div className = 'item' >
26
- < div classNAme = 'images' >
26
+ < div className = 'images' >
27
27
< Link href = { '/' } >
28
28
< a >
29
29
< Image
30
30
src = { '/images/img1.jpeg' }
31
31
className = 'rounded'
32
32
width = { 500 }
33
33
height = { 350 }
34
+ alt = 'plant image'
34
35
/>
35
36
</ a >
36
37
</ Link >
Original file line number Diff line number Diff line change @@ -26,10 +26,15 @@ export default Section3
26
26
function Post ( ) {
27
27
return (
28
28
< div className = 'grid' >
29
- < div classNAme = 'images' >
29
+ < div className = 'images' >
30
30
< Link href = { '/' } >
31
31
< a >
32
- < Image src = { '/images/img1.jpeg' } width = { 600 } height = { 400 } />
32
+ < Image
33
+ src = { '/images/img1.jpeg' }
34
+ width = { 600 }
35
+ height = { 400 }
36
+ alt = 'plant image'
37
+ />
33
38
</ a >
34
39
</ Link >
35
40
</ div >
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ function Post() {
40
40
className = 'rounded'
41
41
width = { 300 }
42
42
height = { 250 }
43
+ alt = 'plant image'
43
44
/>
44
45
</ a >
45
46
</ Link >
You can’t perform that action at this time.
0 commit comments