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

Add member metadata and flip card (2nd variant) #597

Merged
merged 4 commits into from Oct 11, 2022
Merged

Conversation

diamondburned
Copy link
Collaborator

@diamondburned diamondburned commented Sep 28, 2022

Design 2: the small member image flips to reveal the backside of itself.

Sibling: #596

For preview, go to the About page. Flip cards are available for @EthanThatOneKid, @AlanCortez1337 and @diamondburned.

TODO

@vercel
Copy link

vercel bot commented Sep 28, 2022

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

Name Status Preview Updated
acm-csuf-site ✅ Ready (Inspect) Visit Preview Oct 11, 2022 at 7:02AM (UTC)

@vercel vercel bot temporarily deployed to Preview September 28, 2022 06:55 Inactive
@vercel vercel bot temporarily deployed to Preview September 28, 2022 07:06 Inactive
@vercel vercel bot temporarily deployed to Preview September 28, 2022 07:09 Inactive
@vercel vercel bot temporarily deployed to Preview September 28, 2022 07:11 Inactive
@diamondburned diamondburned force-pushed the member-card2 branch 2 times, most recently from 5566e9f to 19ed24e Compare September 28, 2022 07:51
@vercel vercel bot temporarily deployed to Preview September 28, 2022 07:52 Inactive
@vercel vercel bot temporarily deployed to Preview September 28, 2022 08:42 Inactive
@vercel vercel bot temporarily deployed to Preview September 28, 2022 08:48 Inactive
@vercel vercel bot temporarily deployed to Preview September 28, 2022 08:54 Inactive
@diamondburned
Copy link
Collaborator Author

diamondburned commented Sep 28, 2022

Flipped social card

@vercel vercel bot temporarily deployed to Preview September 28, 2022 09:39 Inactive
@vercel vercel bot temporarily deployed to Preview September 28, 2022 09:44 Inactive
@diamondburned diamondburned marked this pull request as ready for review September 28, 2022 09:56
@vercel vercel bot temporarily deployed to Preview September 28, 2022 09:56 Inactive
@vercel vercel bot temporarily deployed to Preview September 29, 2022 00:05 Inactive
@vercel vercel bot temporarily deployed to Preview September 29, 2022 00:12 Inactive
@vercel vercel bot temporarily deployed to Preview September 29, 2022 00:52 Inactive
@vercel vercel bot temporarily deployed to Preview September 29, 2022 00:57 Inactive
@vercel vercel bot temporarily deployed to Preview September 29, 2022 01:05 Inactive
@vercel vercel bot temporarily deployed to Preview September 29, 2022 01:07 Inactive
@vercel vercel bot temporarily deployed to Preview October 2, 2022 10:52 Inactive
@vercel vercel bot temporarily deployed to Preview October 2, 2022 11:17 Inactive
@vercel vercel bot temporarily deployed to Preview October 6, 2022 20:12 Inactive
Apparently $.displayName wasn't used for anything useful other than for
GitHub usernames, which is now replaced by $.socials.github
toast.beforeFunc is a bit more convenient to use than writing a
try-catch syntax.

This used to be called toastDo with a much better function API, but
there were some trivial disagreements.

This commit also removes ToastType.Info, because it behaves similarly to
ToastType.Success (acmGeneral color), and Info was never used anywhere.

This commit also makes ToastType actually behave in a useful manner
(previously, the border colors don't follow the ToastType).
- GitHub is taken from https://ant.design/components/icon/
- Public is taken from https://fonts.google.com/icons (filled)
- Some icons have their fill attribute fixed
Also refactor some Svelte HTML logic for additional styling.
@vercel vercel bot temporarily deployed to Preview October 11, 2022 07:02 Inactive
@diamondburned diamondburned merged commit 3c23a9d into main Oct 11, 2022
@@ -9,41 +17,168 @@
export let info: Officer;
export let placeholderPicture = 'placeholder.webp';
export let dev = false;
Copy link
Owner

Choose a reason for hiding this comment

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

Note: Variable used to determine whether the dev server is enabled can be imported like so:

import { dev } from '$app/environment';

See: https://kit.svelte.dev/docs/modules#$app-environment-dev.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm actually not sure why this was here in the first place. I didn't touch it in any meaningful way.

Copy link
Owner

Choose a reason for hiding this comment

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

I'm actually not sure why this was here in the first place. I didn't touch it in any meaningful way.

All good. I believe it is being followed up in #612.

@jaasonw jaasonw deleted the member-card2 branch December 27, 2022 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants