8000 feat(homepage): refine the content and add GSAP animation at homepage by rockleona · Pull Request #604 · sciwork/swportal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(homepage): refine the content and add GSAP animation at homepage #604

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

Draft
wants to merge 64 commits into
base: master
Choose a base branch
from

Conversation

rockleona
Copy link
Collaborator

This PR is the first try of refine homepage, I've added the animation at the landing page, you may check at the preview.

Also here are some changes that may affect to others or developments afterward:

  1. Adding Nested Layouts: Due to the component Container, it will have padding and not fullscreen width if I want to develop animation at homepage, so I created nested layout under every paths; Therefore, the root layout, which homepage would only render this, removed Container for a better animation display.

  2. Adding Nested Components: I'm not really familiar to Next.js, I just created a homepage folder under /components/ to create each parts of animation at homepage, wondering if this is a good behavior or not? I would like to learn comment from @jack482653.

@yungyuc
Copy link
Contributor
yungyuc commented Apr 20, 2025

@rockleona Does GSAP animation works well on mobile device?

@rockleona
Copy link
Collaborator Author
rockleona commented Apr 20, 2025

@rockleona Does GSAP animation works well on mobile device?

Yes, I've also simulated on mobile device as well, it can work smoothly.

jack482653 and others added 6 commits April 26, 2025 21:20
build(pnpm): changing package manager to pnpm
* refactor: remove unnecessary function call

* refactor: remove importing customzied css class in blog markdown files

* feat: add author and date

* style(.prettierignore): ignore .mdx

* feat: add AgendaTable

* feat: replace with AgendaTable component
@rockleona rockleona force-pushed the feat/homepage_animation branch from a3c87c5 to 659b901 Compare May 12, 2025 16:16
@rockleona
Copy link
Collaborator Author

Looks like the animation too small on mobile, I'll make a commit to fix this tomorrow.

@jack482653 jack482653 force-pushed the feature/swportal_v2 branch from 3397ccc to fa7e72f Compare May 31, 2025 10:48
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.

5 participants
0