🤵
React Portfolio Doc
  • Welcome In Portfolio Doc's
  • Customizing the Hero Section
  • Customizing the About Section
  • Customizing the Experience Section
  • Customizing the Projects Section
  • Customizing the Project Card Component
  • Customizing the Contact Section
Powered by GitBook
On this page

Customizing the Hero Section

Customizing the Hero Section

1. Changing the Name:

  • Locate the <h1> tag within the Hero component.

  • Modify the text within the <h1> tag to reflect the desired name.

<h1 className={styles.title}>[Replace this text with your desired name]</h1>

2. Customizing the Description:

  • Locate the <p> tag with the class description.

  • Edit the text within the <p> tag to describe yourself or your business in a personalized manner.

<p className={styles.description}>
   [Replace this text with your personalized description]
</p>

3. Updating Contact Information:

  • Locate the <a> tag with the class contactBtn.

  • Replace the href attribute value with your desired contact method (e.g., email, phone number, contact form link).

<a href="[Replace this with your preferred contact method]" className={styles.contactBtn}>
   Contact Me
</a>

4. Changing the Hero Image:

  • Ensure you have the desired image prepared.

  • Replace the existing image file with your preferred image.

  • Update the src attribute of the <img> tag with the new image path.

<img
   src="[Replace this with the path to your new image]"
   alt="[Replace this with a brief description of your new image]"
   className={styles.heroImg}
/>

5. Previewing Changes:

  • After making desired customizations, save the file.

  • Preview your website to ensure the changes are reflected as intended.

PreviousWelcome In Portfolio Doc'sNextCustomizing the About Section

Last updated 11 months ago