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

Migrate UpcomingEventsList to Shadcn #13967

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Migrate UpcomingEventsList to Shadcn #13967

merged 3 commits into from
Sep 26, 2024

Conversation

minimalsm
Copy link
Contributor

Description

Migrates UpcomingEventList to Shadcn.

Note, before the H3 had a line-height of 1.4 (not really sure why). This isn't in our system, so I just left it as default line height.

Related Issue

#13946 #13966

Copy link

netlify bot commented Sep 25, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 7143f84
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/66f53c5a4132680008481dc5
😎 Deploy Preview https://deploy-preview-13967--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 49 (🟢 up 3 from production)
Accessibility: 93 (no change from production)
Best Practices: 89 (🔴 down 9 from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@minimalsm minimalsm mentioned this pull request Sep 25, 2024
65 tasks

import type { CommunityConference, Lang } from "@/lib/types"

import { Button } from "@/components/Buttons"
import EventCard from "@/components/EventCard"
import InfoBanner from "@/components/InfoBanner"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pettinarip I see you used the Alert here for InfoBanner migration. InfoBanner is used over a thousand of times in our markdown files, so it is probably best we just migrate the component itself. What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

Correct, thats the plan for InfoBanner. We are going to tackle that in a differnt PR

)
})}

<Box
Copy link
Contributor Author

@minimalsm minimalsm Sep 25, 2024

Choose a reason for hiding this comment

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

Did this do something important or just a mistake?

Copy link
Member

Choose a reason for hiding this comment

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

Hmm good question xD I don't think this is doing anything visually, its adding just a bit of space...I think it is safe to remove it


import type { CommunityConference, Lang } from "@/lib/types"

import { Button } from "@/components/Buttons"
import EventCard from "@/components/EventCard"
import InfoBanner from "@/components/InfoBanner"
Copy link
Member

Choose a reason for hiding this comment

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

Correct, thats the plan for InfoBanner. We are going to tackle that in a differnt PR

src/components/UpcomingEventsList.tsx Outdated Show resolved Hide resolved
src/components/UpcomingEventsList.tsx Outdated Show resolved Hide resolved
src/components/UpcomingEventsList.tsx Outdated Show resolved Hide resolved
)
})}

<Box
Copy link
Member

Choose a reason for hiding this comment

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

Hmm good question xD I don't think this is doing anything visually, its adding just a bit of space...I think it is safe to remove it

minimalsm and others added 2 commits September 26, 2024 11:47
Co-authored-by: Pablo Pettinari <pettinarip@gmail.com>
Copy link
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

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

Awesome, thanks @minimalsm

@pettinarip pettinarip merged commit 0a4693c into dev Sep 26, 2024
8 of 10 checks passed
@pettinarip pettinarip deleted the updateUpcomingEventsList branch September 26, 2024 12:34
This was referenced Oct 2, 2024
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.

2 participants