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

update #251

Merged
merged 5 commits into from
Mar 1, 2025
Merged

update #251

merged 5 commits into from
Mar 1, 2025

Conversation

luca-c-coll
Copy link
Collaborator

  • About Page (Mobile Version) [FE] #225
  • Modified the about page's title format "About" for consistency.
  • Reduced SASE Star Logo and modified buttons for About section.
  • Created a component specifically for Mission Statement section on mobile.
  • Adjusted the History Section to have a Read More/Read Less link for better readability.

Copy link

vercel bot commented Feb 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
uf-sase-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2025 2:19am

Copy link
Collaborator

@TheRickyZhang TheRickyZhang left a comment

Choose a reason for hiding this comment

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

Minor styling/semantic fixes needed

Comment on lines 8 to 13
return (
<section className={cn("mb-8")}>
<div className={cn("max-w-5xl")}>
<p className={cn("mb-4 text-lg text-gray-800")}>
<span className={cn("font-semibold")}>Since being founded during the summer of 2010,</span> the University of Florida chapter has had an
abundant effort put forth for the development of our members.
Copy link
Collaborator

@TheRickyZhang TheRickyZhang Feb 23, 2025

Choose a reason for hiding this comment

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

Usage of cn here (and across all other changes) is redundant if we're not using its conditional styling capabilities (just do className = {...})

abundant effort put forth for the development of our members.
</p>
<p className={cn("mb-4 text-lg text-gray-800")}>
This development is centered on <span className={cn("font-semibold")}>five core values</span> of our mission statement:{" "}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not use < strong > instead of wrapping in font-sermibold?

Comment on lines +10 to +15
useEffect(() => {
const handleResize = () => setIsMobile(window.innerWidth < 1024);
handleResize();
window.addEventListener("resize", handleResize);
return () => window.removeEventListener("resize", handleResize);
}, []);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be in a hook to not redeclare for every file (check if one already exists)


{/* Read More / Read Less Toggle */}
{!isExpanded && (
<div className={cn("flex w-fit cursor-pointer items-center text-blue-600 hover:underline")} onClick={() => setIsExpanded(true)}>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Read More option should only appear when the window "isMobile" but it currently shows up always.

{!isExpanded && (
<div className={cn("flex w-fit cursor-pointer items-center text-blue-600 hover:underline")} onClick={() => setIsExpanded(true)}>
<span>Read more</span>
{!isMobile && <FaChevronDown className={cn("ml-1 h-4 w-4")} />}
Copy link
Collaborator

Choose a reason for hiding this comment

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

The chevron disappears when the window "isMobile"

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is spot on, good job Luca!

@TheRickyZhang
Copy link
Collaborator

Please make sure that it is updated with main; try pulling from main and resolving merge conflicts yourself. Ask for help if needed.

@TheRickyZhang
Copy link
Collaborator

TheRickyZhang commented Feb 26, 2025

image
This is not updated? (You should see the "events" have actual slides")

@TheRickyZhang
Copy link
Collaborator

Oh if you want to merge the -new version change the base or make a new pr

@luca-c-coll
Copy link
Collaborator Author

Sorry about all the conflicts, I will try to get that fixed.

@luca-c-coll
Copy link
Collaborator Author

I checked the status of the branch with git status but I am not sure what is going on with the '66 commits behind'.

@TheRickyZhang
Copy link
Collaborator

@luca-c-coll
Copy link
Collaborator Author

I see now, thank you! How do I pull all 66 commits to update the branch?

@T-Joseph-Kim T-Joseph-Kim merged commit 6774f9d into main Mar 1, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants