contribution cards
1.0.0
贡献卡是一个有趣而互动的项目,您可以在其中设计和自定义HTML卡。该项目是了解开源贡献,改善您的HTML,CSS,JS,GIT技能并展示您的创造力的绝佳方法。无论您是初学者还是经验丰富的开发人员,这里都有适合您的东西! ?
要开始使用贡献卡,请按照以下步骤:
叉子此存储库:单击此页面右上角的“叉”按钮。
克隆您的分叉存储库:
git clone https://github.com/your-username/contribution-cards.git导航到项目目录:
cd contribution-cards在浏览器中打开index.html ,以查看项目中的项目,并在root Directory中添加index.html的数据(更改每张卡的末尾代码,以更好地了解代码库结构)
这是一个示例(编辑您的详细信息)
<!--John Doe's Card Start-->
< div class =" cards john-doe " >
< div class =" card-head " >
< h5 class =" card-title " > John Doe </ h5 >
< ul class =" card-social-links " >
< li > < a href =" https://www.linkedin.com/in/johndoe " class =" card-link " data-toggle =" tooltip " title =" LinkedIn " > < i class =" bi bi-linkedin " > </ i > </ a > </ li >
< li > < a href =" https://github.com/johndoe " class =" card-link " data-toggle =" tooltip " title =" GitHub " > < i class =" bi bi-github " > </ i > </ a > </ li >
< li > < a href =" https://johndoe.com " class =" card-link " data-toggle =" tooltip " title =" Portfolio " > < i class =" bi bi-globe " > </ i > </ a > </ li >
</ ul >
</ div >
< p class =" card-text " > John is a software developer with a passion for open-source projects and community engagement. </ p >
< ul class =" card-study-links " >
< li > < a href =" https://www.freecodecamp.org " target =" _blank " class =" study-link " data-toggle =" tooltip " title =" FreeCodeCamp " > < i class =" bi bi-book " > </ i > </ a > </ li >
< li > < a href =" https://www.w3schools.com " target =" _blank " class =" study-link " data-toggle =" tooltip " title =" W3Schools " > < i class =" bi bi-mortarboard " > </ i > </ a > </ li >
< li > < a href =" https://docs.github.com " target =" _blank " class =" study-link " data-toggle =" tooltip " title =" GitHub Docs " > < i class =" bi bi-file-code " > </ i > </ a > </ li >
</ ul >
< h6 class =" card-subtitle mb-2 text-muted card-date " > Updated on: July 22, 2024 </ h6 >
</ div >
<!--John Doe's Card End-->在css目录中打开users.css ,以更新您的卡背景颜色和颜色(在末尾添加以获得更好的编码结构)
. john-doe {
background-color : # ff6b6b ;
color : white;
}users.json在data目录中以更新您的卡详细信息以进行auto-merge.yml更新(在末尾添加以获得更好的编码结构) {
"name" : " John Doe " ,
"title" : " Software Developer " ,
"socialLinks" : {
"linkedin" : " https://www.linkedin.com/in/johndoe " ,
"github" : " https://github.com/johndoe " ,
"portfolio" : " https://johndoe.com "
},
"description" : " John is a software developer with a passion for open-source projects and community engagement. " ,
"studyLinks" : {
"freeCodeCamp" : " https://www.freecodecamp.org " ,
"w3Schools" : " https://www.w3schools.com " ,
"githubDocs" : " https://docs.github.com "
},
"updatedOn" : " July 22, 2024 "
},我们欢迎所有人的贡献。这是贡献的步骤:
git clone https://github.com/your-username/contribution-cards.gitgit switch -c " your-branch-name "git add .
git commit -m " Add a meaningful commit message "git push origin your-branch-name这是项目结构的简要概述:
├── assets
├── CODE_OF_CONDUCT.md
├── Contributors.md
├── css
│ ├── styles.css
│ └── users.css
├── data
│ └── users.json
├── index.html
├── js
│ └── main.js
├── MIT-LICENSE.txt
└── README.md
我们感谢以下个人的贡献:贡献者
这只是开始!我期待做出更有意义的贡献,并与这个惊人的社区合作。让我们一起构建一些伟大的东西,使粘性粘合剂最好! ❤️?
该项目已根据MIT许可获得许可。有关详细信息,请参见许可证文件。