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 Gallery Component #328

Closed

Conversation

HIMANSHU6001
Copy link

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your default branch!
  • Make sure you are making a pull request against the default branch (left side). Also you should start your branch off default branch.
  • Check the commit's or even all commits' message styles matches our requested structure.
  • Check your code additions will fail neither code linting checks nor unit test.
  • I have added necessary documentation (if appropriate)

Description

Please describe your pull request.

❤️Thank you!

Post merge checklist

  • Follow steps from the guidelines for contributing to this repository.
  • If you are a new contributor, ping in the thread and one of the maintainers will add you to all-contributors list.

Copy link

netlify bot commented Dec 29, 2024

Deploy Preview for hacknitr6 failed.

Name Link
🔨 Latest commit 7ede368
🔍 Latest deploy log https://app.netlify.com/sites/hacknitr6/deploys/677173917209620008c64fc6

@ashutosh-rath02
Copy link
Member

@HIMANSHU6001 Why is there inconsistency in your commit messages?
feat: add AboutUs section
feat: add new gallery

Comment on lines +55 to +66
"gatsby-plugin-manifest": "^5.14.0",
"gatsby-plugin-netlify": "^5.1.1",
"gatsby-plugin-offline": "^6.14.0",
"gatsby-plugin-react-helmet": "^6.14.0",
"gatsby-plugin-robots-txt": "^1.8.0",
"gatsby-plugin-sharp": "^5.14.0",
"gatsby-plugin-sitemap": "^6.14.0",
"gatsby-plugin-styled-components": "^6.14.0",
"gatsby-transformer-sharp": "^5.14.0",
"maath": "^0.10.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

How are these changes related to the PR?

Comment on lines +50 to +63
// Access the vertices of the geometry and modify their positions
const positionAttribute = geometry.attributes.position;

for (let i = 0; i < positionAttribute.count; i++) {
const x = positionAttribute.getX(i);

// Apply curvature only along the x-axis
const z = curvature * x * x;

positionAttribute.setZ(i, z);
}

// Update the geometry to reflect the changes
geometry.computeVertexNormals();
Copy link
Member

Choose a reason for hiding this comment

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

Remove unnecessary comments.

Copy link
Member

Choose a reason for hiding this comment

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

Move this file to config/content

@HIMANSHU6001 HIMANSHU6001 closed this by deleting the head repository Jan 12, 2025
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