Hello and welcome to Add-Social-Profiles-Hacktoberfest2023, a project for Hacktoberfest! This site is for beginners who are wiling to make a pull request to win the 2023 Hacktoberfest rewards.
You can checkout the social profiles of other people who has contributed to this repository.
-
On the GitHub page for this repository, click on the button "Star" and then click on the button "Fork".
-
Clone your forked repository to your computer:
For example, run this command inside your terminal:
git clone https://github.com/tsongtheng/Add-Social-Profiles-Hacktoberfest2023.git
Replace with <your-github-username>!
-
Move to project directory:
cd Add-Social-Profiles-Hacktoberfest2023
run
npm install npm start
-
Before you make any changes, keep your fork in sync to avoid merge conflicts:
git remote add https://github.com/tsongtheng/Add-Social-Profiles-Hacktoberfest2023.git git pull upstream master
-
After adding the upstream and checking that all files are up to date, we now will create new branch before editing any files. There are two ways to do so:
git checkout -b <branch-name>
git branch <branch-name> git switch <branch-name>
-
On your computer, open your text editor, and go to src directory (folder).
Inside you will find Profiles directory, click on
Profiles.js
. You will see an array of objects, each one represents a name, imageLink and social account links of someone. Copy an example object and paste it at the end, fill it out with your name, imageLinks(you can copy any social account profile image address and paste it) and social accounts links.
let Profiles = [
{
name: "Tipchan Sontheng",
imageLink: "https://avatars.githubusercontent.com/u/69814398?v=4",
twitterLink: "https://twitter.com/tipchan_s",
facebookLink: "",
githubLink: "https://github.com/tsongtheng",
linkedinLink: "https://www.linkedin.com/in/tipchan-songtheng-5417991a8/",
instagramLink: "",
},
];
-
⚠️ IMPORTANT NOTE #1: If you don't have any of the 5 social media account just leave it blank as shown above. -
⚠️ IMPORTANT NOTE #2: Please do NOT edit or remove other people from the list. This will likely prevent your PR from being merged.
-
Add the changes with
git add
,git commit
([write a good commit message], if possible):git add src/Profiles/Profiles.js git commit -m "<your-commit-message>"
-
Push your changes to your repository:
git push origin <branch-name>
-
Go to the GitHub page of your fork, and make a pull request:
-
Wait until your pull request is merged. If there are any conflicts, you will get a notification and have to resolve the conflict.
This project is licensed under the MIT License - see the LICENSE file for details.