Skip to content

Commit 8a86675

Browse files
committed
layout fixed
1 parent f4d2e07 commit 8a86675

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

src/Components/Pages/Blog/Blog.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.blog_style{
2-
background: linear-gradient(#e66465, #9198e5);
2+
background: linear-gradient(#95e7e82d, #73b2d113);
33
height: 100%;
44
}

src/Components/Pages/Blog/Blog.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const Blog = () => {
77
<div className="p-8">
88
<div>
99
<h4 className="font-bold text-2xl">
10-
1. what is <span className="font-extrabold roboto text-3xl text-yellow-300">cors?</span>
10+
1. what is <span className="font-extrabold roboto text-3xl text-orange-600">cors?</span>
1111
?
1212
</h4>
1313
<br />
@@ -31,9 +31,9 @@ const Blog = () => {
3131
<div>
3232
<h4 className="font-bold text-2xl">
3333
2. Why are you using{' '}
34-
<span className="font-extrabold roboto text-3xl text-yellow-300">firebase?</span> What
34+
<span className="font-extrabold roboto text-3xl text-orange-600">firebase?</span> What
3535
other options do you have to implement{' '}
36-
<span className="font-extrabold roboto text-3xl text-yellow-300">authentication?</span>
36+
<span className="font-extrabold roboto text-3xl text-orange-600">authentication?</span>
3737
</h4>
3838
<br />
3939
<p className="px-8">
@@ -67,7 +67,7 @@ const Blog = () => {
6767
<div>
6868
<h4 className="font-bold text-2xl">
6969
3. How does the {''}
70-
<span className="font-extrabold roboto text-3xl text-yellow-300">
70+
<span className="font-extrabold roboto text-3xl text-orange-600">
7171
private route
7272
</span>{' '}
7373
work?
@@ -88,8 +88,8 @@ const Blog = () => {
8888
<div>
8989
<h4 className="font-bold text-2xl">
9090
2. What is {' '}
91-
<span className="font-extrabold roboto text-3xl text-yellow-300">Node?</span> How does {' '}
92-
<span className="font-extrabold roboto text-3xl text-yellow-300">Node </span>work?
91+
<span className="font-extrabold roboto text-3xl text-orange-600">Node?</span> How does {' '}
92+
<span className="font-extrabold roboto text-3xl text-orange-600">Node </span>work?
9393
</h4>
9494
<br />
9595
<p className="px-8">

src/Components/Pages/Category/Category.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ const Category = () => {
88
return (
99
<div>
1010
<div>
11-
<h2>Total Courses in this category: {categoryNews.length}</h2>
12-
{
11+
<h2 className='text-center my-4 text-2xl'>Total Courses in this category:<em> {categoryNews.length}</em></h2>
12+
<div className='ml-8 grid d md:grid-cols-3 sm:grid-cols-1 gap-3'>{
1313
categoryNews.map(news =><NewsSummaryCard
1414
key={news._id}
1515
news={news}
1616
></NewsSummaryCard>)
1717
}
18+
</div>
1819
</div>
1920
</div>
2021
);

src/Components/Pages/Header/Header.css

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
}
55

66

7-
87
@media (max-width: 800px) {
98
.Navbar_container {
109
padding: 0 1rem;

src/Components/Pages/Header/Header.js

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ const Header = () => {
1414
.catch((error) => console.error(error));
1515
};
1616

17+
18+
1719
return (
1820
<div className="Navbar_container ">
1921
<div className="all-content py-2 flex items-center justify-between">

src/Components/Pages/pdf/ReactPdf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const ReactPdf = () => {
1212
{({ toPdf }) => <button className="btn btn-success" onClick={toPdf}>Download Pdf</button>}
1313
</Pdf>
1414
<div ref={ref}>
15-
<h1 className='mt-5'>Download course guideline in PDF 🙄</h1>
15+
<h1 className='mt-5'>Download course guideline in PDF</h1>
1616
</div>
1717
</div>
1818
);

0 commit comments

Comments
 (0)