Skip to content

Commit acad5ef

Browse files
fixing build errors
1 parent a777ed9 commit acad5ef

File tree

8 files changed

+25
-1995
lines changed

8 files changed

+25
-1995
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# How to Make a Blog Website with Next.js and Tailwind CSS
22

3-
## Topics Covered Include
3+
## Some of my takeaways
44

5+
Creating React Functional Components
56
Tailwind CSS
67
Page routing in Next.js
78
JavaScript destructuring
89
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
1012
Using [Swiper] for interactive scrolling
11-
12-
Creating an API to access backend Data.
13+
Creating APIs to access backend Data.
1314
API Endpoints
1415
Dynamic API Routing
1516

1617
You can access the tutorial [Here](https://www.youtube.com/watch?v=1T3GF6endl8)
18+
19+
### Other Notes

components/_child/author.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const Author = () => {
99
width={60}
1010
height={60}
1111
className='rounded-full'
12+
alt='author image'
1213
/>
1314
<div className='flex flex-col justify-center px-4'>
1415
<Link href={'/'}>

components/_child/relatedposts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function Post() {
2828
className='rounded'
2929
width={300}
3030
height={200}
31+
alt='plant image'
3132
/>
3233
</a>
3334
</Link>

components/section1.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ function Slide() {
4141
<div className='image'>
4242
<Link href={'/'}>
4343
<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+
/>
4550
</a>
4651
</Link>
4752
</div>

components/section2.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ export default function Section2() {
2323
function Post() {
2424
return (
2525
<div className='item'>
26-
<div classNAme='images'>
26+
<div className='images'>
2727
<Link href={'/'}>
2828
<a>
2929
<Image
3030
src={'/images/img1.jpeg'}
3131
className='rounded'
3232
width={500}
3333
height={350}
34+
alt='plant image'
3435
/>
3536
</a>
3637
</Link>

components/section3.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,15 @@ export default Section3
2626
function Post() {
2727
return (
2828
<div className='grid'>
29-
<div classNAme='images'>
29+
<div className='images'>
3030
<Link href={'/'}>
3131
<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+
/>
3338
</a>
3439
</Link>
3540
</div>

components/section4.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function Post() {
4040
className='rounded'
4141
width={300}
4242
height={250}
43+
alt='plant image'
4344
/>
4445
</a>
4546
</Link>

0 commit comments

Comments
 (0)