Skip to content

Commit e70f264

Browse files
committed
add text content for oh-my-zsh
1 parent f787c40 commit e70f264

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/components/CourseDetail.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function CourseDetail() {
2020

2121
return (
2222
<div className="container mt-5">
23-
<h2>{course.title}</h2>
24-
<img src={course.image} alt={course.title} className="img-fluid" />
25-
<p>{course.description}</p>
26-
<h4>Course Content:</h4>
23+
<h2 className='text-center'>{course.title}</h2>
24+
{/* <img src={course.image} alt={course.title} className="img-fluid" /> */}
25+
<p className='text-center'>{course.description}</p>
26+
<h4 className='text-center'>Course Content:</h4>
2727
<YouTubeEmbed videoId={course.ytb_vid} />
2828

2929
{/* Use dangerouslySetInnerHTML to inject the HTML from the markdown */}

src/components/courseData.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ const courses = {
244244
\n### Why Oh My Zsh?
245245
\n<code>Oh My Zsh</code> is an open source framework, used to customize zsh as well as manage its configs.
246246
\n## Steps Performed:
247+
\n---
247248
\n### ZSH Installation
248249
\nInstallation may differ according to your OS. [See here](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH)
249250
\n**For Ubuntu**: <code> $ sudo apt intall zsh</code>

0 commit comments

Comments
 (0)