Skip to content

Commit 5916f4f

Browse files
committed
add new course
1 parent a6b2fcd commit 5916f4f

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

src/App.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ background: rgb(186 22 163) !important;
5353
.search-expanded .form-control {
5454
width: 300px; /* You can adjust this width */
5555
}
56+
.btn{
57+
background-color: rgb(186 22 163) !important;
58+
}

src/components/Navbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function Navbar({ loggedin }) {
111111
</ul>
112112
)}
113113
</div>
114-
<span><Link className="btn btn-primary clk rounded-circle" to="/profile"><i className="fa-regular fa-user"></i></Link> Profile</span>
114+
<span><Link className="btn clk rounded-circle" to="/profile"><i className="fa-regular fa-user"></i></Link> Profile</span>
115115
</div>
116116
) : (
117117
<Link className="btn btn-primary clk" to="/login">Sign up</Link>

src/components/courseData.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -557,19 +557,19 @@ const courses = {
557557
\n- Basic programming concepts and logic
558558
\n- Writing your first code in Python
559559
\n- Problem-solving strategies
560-
`,
561-
'course 34: getting started with cli': {
562-
title: 'Course 34: Getting Started with CLI',
563-
author: 'Dev Gautam Kumar',
564-
image: 'https://dummyimage.com/600x400/FF9800/fff&text=CLI+PART+1', // Orange for creativity
565-
description: 'Kick your journey with CLI',
566-
ytb_vid: 'B4b9pX1lqU4',
567-
content: `
568-
\nA command line interface (CLI) is a text-based user interface used to interact with a computer system.
560+
`},
561+
'course 34: getting started with cli': {
562+
title: 'Course 34: Getting Started with CLI',
563+
author: 'Dev Gautam Kumar',
564+
image: 'https://dummyimage.com/600x400/FF9800/fff&text=CLI+PART+1', // Orange for creativity
565+
description: 'Kick your journey with CLI',
566+
ytb_vid: 'B4b9pX1lqU4',
567+
content: `
568+
\nA <code>command line interface (CLI)</code> is a text-based user interface used to interact with a computer system.
569569
\nIt uses commands to perform tasks, such as creating files or installing programs.
570570
\nCLIs are useful for automation and troubleshooting, and they can be more efficient than graphical user interfaces (GUIs) for certain tasks.
571571
\nThey were commonly used in the past with systems like Unix, MS-DOS, and Apple DOS, and are still used today by software developers and system administrators.
572572
`,
573-
},
574-
};
575-
export default courses;
573+
},
574+
};
575+
export default courses;

src/components/profile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function Profile() {
5050
{/* <p>Last Name: {userDetails.lastName}</p> */}
5151

5252
</div>
53-
<button className="btn btn-primary" onClick={handleLogout}>
53+
<button className="btn" onClick={handleLogout}>
5454
<i className="fa-solid fa-right-from-bracket"></i> Logout
5555
</button>
5656
</>

0 commit comments

Comments
 (0)