Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding css body to mdx file #251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 41 additions & 16 deletions content/batch/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ This course is focused on making you a frontend developer from a beginner to an

Select a Batch below to learn more about it.

const joinButtonStyle = {
textAlign: 'center',
color: 'black',
backgroundColor: 'white',
borderRadius: '18px',
fontSize: '16px',
width: 'fit-content',
margin: '0 auto',
padding: '8px 16px'
};

<div className="flex md:flex-row flex-col gap-4 mt-6 ">
<Card href="/batch/learn/html/basic">
<Image
Expand All @@ -29,46 +40,60 @@ Select a Batch below to learn more about it.
alt="Image"
className="bg-white"
/>

#### Learn
Learn HTML, CSS, JS and Git & Github
<h4>Learn</h4>
<p>Learn HTML, CSS, JS and Git & Github</p>
<div className="flex-grow"></div>
<div className="text-center mt-4">
<a href="/join/learn" className="rounded-full px-4 py-2" style={joinButtonStyle}>Join</a>
</div>
</Card>
<Card href="/batch/dsa/loops">

<Card href="/batch/dsa/loops">
<Image
src="/dsa_in_javascript.svg"
width="350"
height="200"
alt="Image"
className="bg-white"
/>

#### DSA in Javascript
Learn data structures and algorithms in JavaScript
<h4>DSA in Javascript</h4>
<p>Learn data structures and algorithms in JavaScript</p>
<div className="flex-grow"></div>
<div className="text-center mt-4">
<a href="/join/dsa" className="rounded-full px-4 py-2" style={joinButtonStyle}>Join</a>
</div>
</Card>

<Card href= "/batch/build/react/fundamentals">
<Image
<Card href="/batch/build/react/fundamentals">
<Image
src="/build_img.svg"
width="350"
height="200"
alt="Image"
className="bg-white"
/>

#### Build
Master React, Redux and Next Js
<h4>Build</h4>
<p>Master React, Redux and Next Js</p>
<div className="flex-grow"></div>
<div className="text-center mt-4">
<a href="/join/build" className="rounded-full px-4 py-2" style={joinButtonStyle}>Join</a>
</div>
</Card>

<Card href= "/batch/hire/hire">
<Card href="/batch/hire/hire">
<Image
src="/hire_img.svg"
width="350"
height="200"
alt="Image"
className="bg-white"
/>

#### Hire
Get Interview Tips and Tricks
<h4>Hire</h4>
<p>Get Interview Tips and Tricks from Experts</p>
<div className="flex-grow"></div>
<div className="text-center mt-4">
<a href="/join/hire" className="rounded-full px-4 py-2" style={joinButtonStyle}>Join</a>
</div>
</Card>
</div>
```