Skip to content
Proyectos

sanidhyy/threejs-portfolio

Ver en GitHub

Acerca de

Modern UI/UX Portfolio using React and Three.js

Desarrollo web y de aplicaciones

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Modern UI/UX Portfolio using React and Three.js

Modern UI/UX Portfolio using React and Three.js

Ask Me Anything! GitHub license Maintenance GitHub branches Github commits GitHub issues GitHub pull requests Netlify Status

:notebook_with_decorative_cover: Table of Contents

:bangbang: Folder Structure

Here is the folder structure of this app.

threejs-portfolio/
  |- netlify/
    |-- functions/
  |- public/
  |- src/
    |-- components/
      |--- Button.tsx
      |--- CanvasLoader.tsx
      |--- Cube.tsx
      |--- DemoComputer.tsx
      |--- Developer.tsx
      |--- HackerRoom.tsx
      |--- HeroCamera.tsx
      |--- ReactLogo.tsx
      |--- Rings.tsx
      |--- Target.tsx
    |-- constants/
      |--- index.ts
    |-- lib/
      |--- contact.ts
      |--- utils.ts
    |-- sections/
      |--- About.tsx
      |--- Clients.tsx
      |--- Contact.tsx
      |--- Experience.tsx
      |--- Footer.tsx
      |--- Hero.tsx
      |--- Navbar.tsx
      |--- Projects.tsx
    |-- App.tsx
    |-- index.css
    |-- main.tsx
    |-- vite-env.d.ts
  |- .env.example
  |- .env/.env.local
  |- .gitignore
  |- .prettierrc
  |- eslint.config.js
  |- index.html
  |- netlify.toml
  |- package.json
  |- pnpm-lock.yaml
  |- pnpm-workspace.yaml
  |- tsconfig.app.json
  |- tsconfig.json
  |- tsconfig.node.json
  |- vite.config.ts

:toolbox: Getting Started

  1. Make sure Git and NodeJS is installed.
  2. Clone this repository to your local computer.
  3. Create .env file in root directory.
  4. Contents of .env:
# resend
RESEND_API_KEY="re_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
RESEND_FROM_EMAIL="Your Name <[email protected]>"
CONTACT_TO_EMAIL="[email protected]"
CONTACT_SITE_URL="https://portfolio-3js.netlify.app"
RESEND_TEMPLATE_CONTACT_USER="contact-thank-you"
RESEND_TEMPLATE_CONTACT_ADMIN="contact-admin"

# google recaptcha v3
VITE_RECAPTCHA_SITE_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
RECAPTCHA_SECRET_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
RECAPTCHA_MIN_SCORE="0.5"
  1. Create an account at Resend and add + verify a sending domain.

  2. Create an API key at Resend API Keys with Sending access. Copy it to RESEND_API_KEY.

  3. Set RESEND_FROM_EMAIL to an address on that verified domain. Set CONTACT_TO_EMAIL to the inbox that should receive new contact notifications. Set CONTACT_SITE_URL to your site's public URL (no trailing slash).

  4. In Resend Templates, create two templates and Publish each.

    Template 1 — thank you to the user

    • Name: contact-thank-you
    • Variables: USER_NAME, USER_MESSAGE, SITE_URL

    Template 2 — new message to admin

    • Name: contact-admin
    • Variables: USER_NAME, USER_EMAIL, USER_MESSAGE, SITE_URL

    Copy each template's alias into RESEND_TEMPLATE_CONTACT_USER and RESEND_TEMPLATE_CONTACT_ADMIN.

  5. Create a Google reCAPTCHA v3 project. Choose Score based (v3), add your production domain(s) and localhost, then copy the Site key to VITE_RECAPTCHA_SITE_KEY and the Secret key to RECAPTCHA_SECRET_KEY.

  6. Open terminal in root directory. Run npm install --legacy-peer-deps or pnpm install --legacy-peer-deps.

  7. Now the app is fully configured 👍 and you can start it with npm run dev or pnpm dev.

NOTE: Please make sure to keep your API keys and configuration values secure and do not expose them publicly.

:raising_hand: Need Help?

If you run into issues during installation or setup:

:camera: Screenshots

Modern UI/UX

Showcase your work

Testimonials section

Experience section

Working contact form

:gear: Tech Stack

React JS Vite JS Three JS Javascript Tailwind CSS Netlify

:wrench: Stats

Stats for Threejs portfolio

:raised_hands: Contribute

You might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.

:gem: Acknowledgements

Useful resources and dependencies that are used in Threejs portfolio.

:coffee: Buy Me a Coffee

:rocket: Follow Me

Follow Me Tweet about this project

:books: Learn More

To deepen your understanding of React.js and Netlify, explore the following resources:

For Netlify-specific information:

You're encouraged to contribute and provide feedback on Netlify's GitHub repository.

:page_with_curl: Deploy on Netlify

The simplest way to deploy your React.js app is to use the Netlify Platform - a powerful platform for modern web projects.

Explore the Netlify deployment documentation for step-by-step instructions on deploying your React.js app on Netlify.

Happy coding, and feel free to share your thoughts and improvements with the Netlify community!

:star: Give A Star

You can also give this repository a star to show more people and they can use this repository.

:star2: Star History


(back to top)

Explorar proyectos relacionados

Cargando…