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

Created education componenent with header and text #17

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Changes from 1 commit
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
22 changes: 21 additions & 1 deletion src/components/home/education.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
import React from "react";

const Education = () => {
return <div>Education</div>;
return (
<div className="space-y-3">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the first div

Copy link
Collaborator Author

@IsaiahWut IsaiahWut Jan 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I take it out, my paragraph gets set to the left and the bar disappears. I need help on how to format/fix this if I get rid of the first div.
Screen Shot 2025-01-27 at 4 35 26 PM

<div className="flex items-center space-y-4">
<h1 className="textleft my-10 ml-20 text-6xl">Education</h1>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invalid syntax for text-left

<div className="my-8 ml-4 mr-20 h-px flex-grow border-2 border-[#FFB81C]"></div>
</div>

<p className="m-20 text-left">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Assumenda
labore vitae, molestias autem nam officiis numquam quam repudiandae
pariatur dolorem provident dolorum enim tempora doloribus officia
veritatis ad cupiditate id? Lorem ipsum dolor sit amet consectetur
adipisicing elit. Assumenda labore vitae, molestias autem nam officiis
numquam quam repudiandae pariatur dolorem provident dolorum enim tempora
doloribus officia veritatis ad cupiditate id? Lorem ipsum dolor sit amet
consectetur adipisicing elit. Assumenda labore vitae, molestias autem
nam officiis numquam quam repudiandae pariatur dolorem provident dolorum
enim tempora doloribus officia veritatis ad cupiditate id?
</p>
</div>
);
};

export default Education;
Loading