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

✨ New Components - User Group Sidebar Components #1118

Merged
merged 8 commits into from
Jul 28, 2023

Conversation

johnxu16
Copy link
Contributor

@johnxu16 johnxu16 commented Jul 25, 2023

Fixes #1112

Affected routes:

  • NULL

Add done video, screenshots

image
Figure: Overview of components

image
Figure: Component <JoinGithub />

image
Figure: Component <Organizer />

image
Figure: Component <JoinAsPresenter />

code
Figure: Demo content mocking on home.mdx`

@johnxu16 johnxu16 marked this pull request as ready for review July 25, 2023 09:54
@github-actions
Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@github-actions
Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 89
Best practices 92
Performance 36
SEO 100

View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@johnxu16 johnxu16 changed the title 1112 usergroup sidebar components ✨ 1112 usergroup sidebar components Jul 26, 2023
@johnxu16 johnxu16 self-assigned this Jul 26, 2023
@johnxu16 johnxu16 force-pushed the 1112_usergroup-sidebar-components branch 2 times, most recently from af9d41e to 1f1f860 Compare July 26, 2023 07:12
Comment on lines 48 to 50
Organizer: Organizer,
JoinGithub: JoinGithub,
JoinAsPresenter: JoinAsPresenter,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are these not formatted like the other ones?

Copy link
Contributor Author

@johnxu16 johnxu16 Jul 26, 2023

Choose a reason for hiding this comment

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

Checked component above Agenda: Agenda, thought it would be a new trend even if it is a bit redundant.

Done - Format changed

</clipPath>
</defs>
{img ? (
<image href={img} width={220} clipPath="url(#shape)"></image>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this not using next/image or even just the <img> tag

Copy link
Contributor Author

@johnxu16 johnxu16 Jul 26, 2023

Choose a reason for hiding this comment

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

Since the image is clipped with the shape, if there is a better solution I'd love to refactor this part.

Love next/image for its performance!

image
Figure: clipPath on left bottom cornor

  • Replace its with clip-path on image

Done - changed from <image /> in svg to nextjs

Comment on lines 21 to 27
<button
data-tina-field={tinaField(data, "link")}
onClick={() => window.open(data?.link ?? "", "_blank").focus}
className="h-12 w-max rounded-md bg-sswRed px-4 py-2 text-md leading-3 text-white"
>
Join the crowd
</button>
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this be an tag?

Copy link
Contributor Author

@johnxu16 johnxu16 Jul 26, 2023

Choose a reason for hiding this comment

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

I'm not fully understand this.
What does the tag referring to? I may reach you tomorrow for this.

As per conversation with Harry, the has been changed into nextjs .

@github-actions
Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@github-actions
Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 89
Best practices 92
Performance 65
SEO 93

View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@johnxu16 johnxu16 requested a review from Harry-Ross July 26, 2023 10:25
@johnxu16 johnxu16 force-pushed the 1112_usergroup-sidebar-components branch from 86d42ff to 35a2eb4 Compare July 26, 2023 10:27
@github-actions
Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@github-actions
Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 89
Best practices 92
Performance 33
SEO 93

View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@johnxu16 johnxu16 force-pushed the 1112_usergroup-sidebar-components branch from 35a2eb4 to eea13d3 Compare July 27, 2023 05:01
@github-actions
Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@github-actions
Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 89
Best practices 92
Performance 28.000000000000004
SEO 100

View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@github-actions
Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@github-actions
Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 89
Best practices 92
Performance 28.999999999999996
SEO 100

View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

Copy link
Contributor

@Harry-Ross Harry-Ross left a comment

Choose a reason for hiding this comment

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

LGTM 🙂

@Harry-Ross Harry-Ross changed the title ✨ 1112 usergroup sidebar components ✨ New Components - User Group Sidebar Components Jul 28, 2023
@johnxu16 johnxu16 force-pushed the 1112_usergroup-sidebar-components branch from 0d1c640 to 22b9c9f Compare July 28, 2023 03:58
@johnxu16 johnxu16 enabled auto-merge (squash) July 28, 2023 03:59
@github-actions
Copy link
Contributor

Deployed changes to https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

@johnxu16 johnxu16 merged commit ca8556a into main Jul 28, 2023
9 checks passed
@johnxu16 johnxu16 deleted the 1112_usergroup-sidebar-components branch July 28, 2023 04:16
@github-actions
Copy link
Contributor

PageSpeed Insights

Category Score
Accessibility 89
Best practices 92
Performance 27
SEO 100

View the full report https://pagespeed.web.dev/report?url=https://app-sswwebsite-9eb3-pr-1118.azurewebsites.net

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.

✨ User Group - Sidebar components
2 participants