Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function setPageStyle(selectedPage) {
//
//
// Toggle mobile navbar menu
const attatchMobileMenuToggleFunction = () => {
const attachMobileMenuToggleFunction = () => {
try {
const menuIcon = document.getElementById("navbar-menu-icon-1");
const linkListContainer = document.getElementById(
Expand Down Expand Up @@ -232,5 +232,5 @@ const attatchMobileMenuToggleFunction = () => {
};

document.addEventListener("DOMContentLoaded", function () {
attatchMobileMenuToggleFunction();
attachMobileMenuToggleFunction();
});
14 changes: 5 additions & 9 deletions cardDetails.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
"cardDetails": [
{
"name": "Your Name",
"profession": "Your Profession",
"quote": "\"Your favourite quote\"</br> - Said By Me",
"twitter": "https://twitter.com",
"dribbble": "https://dribbble.com",
"behance": "https://behance.com",
"github": "https://github.com",
"linkedin": "https://linkedin.com",
"email": "mailto:youremail@gmail.com"
"name": "Leonardo Castro",
"profession": "Student",
"quote": "\"Fortune Favors the Bold\"</br> - Said By Me",
"github": "https://github.com/leo-cas",
"linkedin": "https://linkedin.com/leonardo-castro"
},
{
"name": "carlos saenz",
Expand Down
11 changes: 9 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="navbar-innner-parent">
<img src="./image/design-files/logo/simple-contribution.svg" class="navbar-logo-1"
alt="Simple Contribution Logo" />
<img src="./image/design-files/logo/icon-menu.svg" id="navbar-menu-icon-1" alt="MENU Icone" />
<img src="./image/design-files/logo/icon-menu.svg" id="navbar-menu-icon-1" alt="MENU Icon" />
<div class="navbar-link-list">
<div id="navbar-link-list-container">
<div>
Expand Down Expand Up @@ -79,6 +79,7 @@ <h1>HI CONTRIBUTORS!</h1>
<span class="button_text">Join a Community</span>
</span>
</a>
<button id="copyInvite">Copy Discord Invite</button>
</div>
</section>
<section class="home-content">
Expand Down Expand Up @@ -143,11 +144,17 @@ <h1>Thanks for your Contribution</h1>
</section>

<footer id="footer">
<div class="copyright">Copyright &copy; Designed by Simple Contribution 2024</div>
<div class="copyright">
Copyright &copy; <span id="year"></span> Designed by Simple Contribution
</div>
</footer>
<script src="./app.js"></script>
<script src="./banner.js"></script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
document.getElementById("year").textContent = new Date().getFullYear();
</script>

<script>
AOS.init();
</script>
Expand Down
20 changes: 17 additions & 3 deletions style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ section {
z-index: 6;
}

.navbar-innner-parent {
.navbar-inner-parent {
position: relative;
width: 100%;
height: 5rem;
Expand Down Expand Up @@ -365,7 +365,7 @@ section {
margin-bottom: 0;
}
/*This is a form style for desktop*/
.discription-title {
.description-title {
display: grid;
grid-template-columns: 70% 30%;
}
Expand Down Expand Up @@ -642,7 +642,7 @@ footer .lag {
}
@media screen and (max-width: 1100px) {
/* This is a form style for desktop */
.discription-title {
.dscription-title {
display: flex;
flex-direction: column;
justify-content: center;
Expand Down Expand Up @@ -759,4 +759,18 @@ footer .lag {
align-items: center;
justify-content: space-evenly;
}
#copyInvite {
margin-top: 10px;
padding: 8px 12px;
background: #5865F2; /* Discord blue */
color: #fff;
border: none;
border-radius: 6px;
cursor: pointer;
}

#copyInvite:hover {
background: #4752C4;
}

}