This project is a web application built using Astro, designed to create a profile card with social media links. It includes various components and utilities to build a responsive and interactive user interface. The template allows for easy integration of multiple social links, enhancing user connectivity.
src/
├── components/
│ └── Card.astro
├── images/
│ └── profile.webp
├── layouts/
│ └── Layout.astro
└── pages/
└── index.astro
- components/Card.astro: A card component used to display the profile card with social media links.
- images/profile.webp: The profile image used in the profile card.
- layouts/Layout.astro: The layout component for the application.
- pages/index.astro: The main landing page of the application.
Edit this data in src/pages/index.astro
title: This change will be reflected in the browser tab.description: This is a metadata tag used to provide a brief description of your page in search engines.name: Enter your name here.position: Enter your job position here.about me: Write a brief description of who you are and what you do. It's recommended to keep it under 540 characters.linkedin,github,telegramandx: Enter the URLs to your personal pages here.cvLink: Provide the URL to your resume in PDF format for download or insert it in /public/files/resume-cv.pdfprofileImage: Upload your professional profile picture here.
To use more social links, copy and paste this block of code in /src/components/Card.astro file in the position of your desire inside the card.
<a href={twitterx} class="hover-text" target="_blank">
<span class="tooltip-text" id="fade">
Twitter/X
</span>
<i class="bi bi-twitter-x"></i>
</a>Change the icon by modifying bi-new-icon to an icon from the Bootstrap Website.
Then rename the variable newSocialLink in <a href={newSocialLink} class="hover-text" target="_blank">, and add the new variable in const {name, position, aboutMe, linkedin, github, telegram, twitterx, newSocialLink, cvLink } = Astro.props;.
Add the new variable in /src/pages/index.astro below the existing social links.
<Card name="Carlos Jurado"
position="Bioengineering | Brain modulation | Artificial Intelligence"
aboutMe="Dedicated Bioengineer with expertise in medical devices and neuromodulation, pursuing a Master’s in AI. Experienced at Medtronic in surgical support, neurostimulator programming, and patient safety. Strong analytical skills and problem-solving abilities drive my commitment to innovation and continuous improvement in healthcare."
linkedin="https://www.linkedin.com/in/engjurado/"
github="https://github.com/EngJurado"
telegram="https://telegram.me/engjurado"
twitterx="https://x.com/EngJurado"
cvLink="/files/resume-cv.pdf"
/>-
Clone the repository:
git clone https://github.com/EngJurado/profile-card cd project-name -
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Build for production:
npm run build
-
Preview the production build:
npm run preview
Feel free to submit issues and pull requests. Contributions are welcome!
This project is licensed under the MIT License.
