Skip to content

Repositori ini berisi tentang nama-nama kontributor BCC 2022.

Notifications You must be signed in to change notification settings

zaqiikhwan/bcc-contributor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brief Story

Someone just finished creating a website to document BCC contributors in 2022. Since the creator wanted new contributors to create PR for the first time, the author didn't write all the names of the contributors themselves. However, giving contributors the freedom to do it themselves.

Demo

https://bcc-contributor.netlify.app

Objectives

  • Make a contribution to an open source project.
  • Get more comfortable in using GitHub.

Who is this for?

  • This is for absolute beginners.
  • It is for those with a little more experience but who want to make their first open source contribution.

What am I going to contribute?

Contributor Card

You are going to contribute a card just like this one to this project's web page. It will include your name, picture, a short description, your Instagram profile URL handle, and Github link. You will make a copy of the card template inside the HTML file and customise it with your own information.

Contribute Overview

1️⃣ Fork this repository
2️⃣ Create a new branch
3️⃣ Clone the repository
4️⃣ Open the directory file in the VSCode
5️⃣ Copy the card template and make changes
6️⃣ Commit and push your changes
7️⃣ Submit a PR
8️⃣ Celebrate!
9️⃣ See your card

Contribute

Get your hand dirty


Fork this repository

Click Fork to copy this repo to your github account

Fork

Create a new branch

A branch is a way to keep your changes separate from the main part of the project called Master. For example if things go wrong and you are not happy with your changes you can simply delete the branch and the main project won't be affected.
So, you can click "Create branch: ..." like the picture below

Create a new branch

Clone the repository

Copy the URL and open your terminal. Then write command like the picture below

Clone
Clone

Open the directory file in the VSCode

First, open the directory using VSCode

Open Directory

Then, change the active branch "main" to the branch you created. Command : git checkout <YOUR-BRANCH>

Checkout

Copy the card template and make changes

You can copy the card template from here. Then put the code file after </div> belongs to <div class="card">

<!-- Copy from this line -->
<div class="card">
    <div class="card-header">
        <img src="YOUR_PICTURE_URL" />
    </div>
    <div class="card-body">
        <span class="tag tag-teal">Your Departement</span>
        <h3>YOUR_NAME</h3>
        <p>
            YOUR_SHORT_DESCRIPTION
        </p>
        <div class="sosmed">
            <a href="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/YOUR_USERNAME">
                <i class="bi-github" style="font-size: 1.8rem; color: black;"></i>
            </a>
            <a href="https://instagram.com/YOUR_USERNAME">
                <i class="bi-instagram" style="font-size: 1.8rem; color: black;"></i>
            </a>
        </div>
    </div>
</div>
<!-- Until this line -->

You can use another color for your tag. This is color code in the style.css. So, you can customization on tag color freely.

<style>
    .tag-teal {
        background-color: #47bcd4;
    }
    
    .tag-purple {
        background-color: #5e76bf;
    }

    .tag-pink {
        background-color: #cd5b9f;
    }
</style>

After that, make any changes to your template. Make sure your changes are only in the index.html file.

Changes

Commit and push your changes

To commit and push your changes. Follow the command below

git add .
git commit -m "<YOUR-MESSAGE-COMMIT>"
git push -u origin <YOUR-NEW-BRANCH>
Commit and Push

Submit a PR

Click Compare & pull request to copy this repo to make pull request from your branch to main branch.

If the text Able to merged is visible that means, your changes do not create conflict. So, you can click Create pull request after write a comment.

Github notification
Create Pull Request

Celebrate!

Congratulation! you have been able to make a pull request. Wait for an update from the owner to see if the PR you have created is merged or rejected.


See your card

If the owner has approved your pull request, you can check to this link.


Contributing

Thank you for considering contributing our Repository! The contribution guide can be found in the Contribution Guidelines.

Reference and Resource

Disclaimer

For educational purposes only, not commercial.

Thank You

Thanks for the random repos which have good documentation on README.md and CONTRIBUTING.md. So I can write this markdown clearly.

About

Repositori ini berisi tentang nama-nama kontributor BCC 2022.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 93.1%
  • CSS 6.9%