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

Hero Image Done #79

Merged
merged 2 commits into from
Feb 14, 2025
Merged

Hero Image Done #79

merged 2 commits into from
Feb 14, 2025

Conversation

ariklee2
Copy link
Collaborator

Finished adding the little border images.

@ariklee2
Copy link
Collaborator Author

image

@ariklee2 ariklee2 self-assigned this Feb 10, 2025
@ariklee2 ariklee2 closed this Feb 10, 2025
@ariklee2 ariklee2 deleted the ariklee2/HeroImage branch February 10, 2025 00:51
@ariklee2 ariklee2 restored the ariklee2/HeroImage branch February 10, 2025 00:54
@ariklee2 ariklee2 reopened this Feb 10, 2025
@ariklee2 ariklee2 linked an issue Feb 11, 2025 that may be closed by this pull request
Copy link
Contributor

@arieen17 arieen17 left a comment

Choose a reason for hiding this comment

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

Let me know if these changes work: i tested it out and should be alright! But what we are doing is adjusting the outer div (that contains the assets) to be the same width as the hero card so that it will be in the same position. Don't worry about the mobile responsiveness for it right now, that will be later issue.

const Hero = () => {
return (
<div className="">
<div className="relative">
Copy link
Contributor

Choose a reason for hiding this comment

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

no need relative here (delete the classname)

const Hero = () => {
return (
<div className="">
<div className="relative">
<div className="relative">
Copy link
Contributor

Choose a reason for hiding this comment

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

for this outer div: add mx-auto + w-2/5 (then change the herocard's w: instead of max-w-xl --> w-2/5)

<div className="relative">
<div className="relative">
<Image
className="absolute -bottom-56 left-64 z-10 transform"
Copy link
Contributor

Choose a reason for hiding this comment

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

change left-64 to -left-36, so it is consistent with "-bottom-56"

alt="hero border component"
/>
<Image
className="absolute right-64 top-8 z-10 scale-x-[-1] scale-y-[-1] transform"
Copy link
Contributor

Choose a reason for hiding this comment

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

then change right-64 to -right-36

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

All the changes worked. What do I do now though? Do I repush the changes?

Copy link
Contributor

Choose a reason for hiding this comment

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

Okie great! Just push the same way you did before, on the same branch that you initially pushed for on this issue. It will just auto update the code from before :D

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok sweet, will do!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Wait sorry something weird is happening where whenever I commit, it commits to Hero Font and not Hero Image. Is that a problem?

@ariklee2 ariklee2 closed this Feb 13, 2025
@ariklee2 ariklee2 reopened this Feb 13, 2025
@arieen17 arieen17 merged commit 5eab099 into dev Feb 14, 2025
9 checks passed
@arieen17 arieen17 deleted the ariklee2/HeroImage branch February 14, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hero Section (images)
2 participants