Skip to content

Conversation

@Jrgil20
Copy link
Member

@Jrgil20 Jrgil20 commented Mar 26, 2025

This pull request introduces a new feature to integrate Pinata for file uploads in the ProjectDetails page. The changes include modifications to the package.json file, addition of a new utility configuration, and updates to the ProjectDetails component to handle file uploads.

New Feature: Pinata Integration

  • Dependency Addition:

    • Added pinata version ^2.1.0 to package.json for handling file uploads.
  • Utility Configuration:

    • Created a new Pinata SDK configuration in src/utils/config.ts to initialize the Pinata client with environment variables.
  • Component Updates:

    • Imported the Pinata configuration in src/pages/ProjectDetails.tsx.
    • Added a new FormFile component within src/pages/ProjectDetails.tsx to handle file selection and upload using Pinata.
    • Integrated file upload logic into the existing ProjectDetails component, including state management for file selection and submission handling.
    • Replaced the proof link input field with file upload functionality in the ProjectDetails component's JSX.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@Jrgil20 Jrgil20 merged commit 2cdd189 into develop Mar 26, 2025
@Jrgil20 Jrgil20 deleted the JRG/feature/ProjectFactory branch March 27, 2025 06:13
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