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

Feature/statistics #9

Merged
merged 8 commits into from
Dec 10, 2024
Merged

Feature/statistics #9

merged 8 commits into from
Dec 10, 2024

Conversation

serrachow
Copy link
Collaborator

@serrachow serrachow commented Nov 22, 2024

Info

Closes [#2 ].

Implements the statistics section.

Changes

  • Take DiamondHacks to new heights blurb
  • Statistics numbers with mobile view
  • Stationary image for diamond

Type of Change

  • Bug Fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • Logistics Change (A change to a README, description, or dev workflow setup like
    linting/formatting)
  • Continuous Integration Change (Related to deployment steps or continuous integration
    workflows)
  • Other: (Fill In)

Testing

I have tested that my changes fully resolve the linked issue ...

  • locally on Desktop.
  • on the live deployment preview on Desktop.
  • on the live deployment preview on Mobile.
  • I have added new Cypress tests that are passing.

Checklist

  • I have performed a self-review of my own code.
  • I have followed the style guidelines of this project.
  • I have documented any new functions in /src/lib/* and commented hard to understand areas
    anywhere else.
  • My changes produce no new warnings.

Screenshots

image

image

@serrachow serrachow requested a review from angela139 as a code owner November 22, 2024 02:39
Copy link

vercel bot commented Nov 22, 2024

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

Name Status Preview Comments Updated (UTC)
diamondhacks-teaser ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 5:42am

Copy link
Collaborator

@angela139 angela139 left a comment

Choose a reason for hiding this comment

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

Overall, it looks really good to me! I left some comments and nits

src/components/StatsNumbers/style.module.scss Outdated Show resolved Hide resolved
src/components/StatsNumbers/style.module.scss Outdated Show resolved Hide resolved
src/sections/Statistics/index.tsx Outdated Show resolved Hide resolved
src/sections/Statistics/style.module.scss Show resolved Hide resolved
src/sections/Statistics/style.module.scss Outdated Show resolved Hide resolved
@alexzhang1618
Copy link
Contributor

Cleaned up the code and updated the mobile layout + the hanging guy

Screen.Recording.2024-12-09.at.8.13.34.PM.mov

Copy link
Member

@SheepTester SheepTester left a comment

Choose a reason for hiding this comment

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

looks good! the image looks a bit low quality on my screen, maybe export a higher quality version from Figma? (with 2x resolution; or use SVG)

image

animating the guy sliding down could potentially be done by exporting the diamond guy as a separate image, then using position: sticky; top: 0;. the heister will be constrained to the bounds of its parent element, so that can be used to prevent it from sliding off the rope. but this can/should be done in a separate PR

src/components/StatsDescription/index.tsx Show resolved Hide resolved
src/components/Footer/index.tsx Outdated Show resolved Hide resolved
@alexzhang1618 alexzhang1618 merged commit 78f8444 into main Dec 10, 2024
4 checks passed
@alexzhang1618 alexzhang1618 deleted the feature/statistics branch December 10, 2024 05:44
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.

4 participants