Skip to content

Commit

Permalink
change: added support me button
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonortegajr committed May 29, 2024
1 parent 7e731b3 commit 0c8c17f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
8 changes: 0 additions & 8 deletions netlify.toml

This file was deleted.

26 changes: 16 additions & 10 deletions public/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ i {
background-color: #4267B2; /* Blue color like Facebook */
}

.buy-me-coffee {
background-color: #FFDD00; /* Yellow color like "Buy Me a Coffee" */
color: #000000; /* Black text color */
.support-me {
background-color: #097FFF; /* Yellow color like "Buy Me a Coffee" */
color: #ffffff; /* Black text color */
border: none;
padding: 10px 20px;
font-size: 1em;
Expand All @@ -185,14 +185,20 @@ i {
cursor: pointer;
transition: background-color 0.3s;
text-decoration: none; /* Remove underline for link appearance */
display: inline-block; /* Ensure button appears inline with text */
padding-left: 30px; /* Add padding on the left for icon */
position: relative; /* Set position to relative for absolute positioning of the icon */
margin-right: 2.0em;
display: inline-flex; /* Ensure button appears inline with icon */
align-items: center; /* Vertically center the icon and text */
margin-right: 1.5em;
}

.buy-me-coffee:hover {
background-color: #FFCC00; /* Darker yellow on hover */
.support-me:hover {
background-color: #06072c; /* Darker yellow on hover */
color: #ffffff;
}

.gcash-icon {
width: 24px; /* Adjust the size of the icon */
height: 24px; /* Adjust the size of the icon */
margin-right: 8px; /* Space between icon and text */
}

/* Adjustments for mobile devices */
Expand All @@ -205,7 +211,7 @@ i {
width: 100%;
padding: 10px;
}
.buy-me-coffee {
.support-me {
display: none; /* Hide "Buy Me a Coffee" on smaller screens */
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/gcash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion views/partials/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<i class="fab fa-instagram"></i>
</a>
<i id="light-dark-toggle" class="fas fa-moon" style="font-size: 20px; color: black;"></i> </div>
<a href="https://www.buymeacoffee.com/yourusername" class="buy-me-coffee">Buy Me a Coffee</a>
<a href="#" class="support-me">
<img src="/images/gcash.png" alt="GCash Icon" class="gcash-icon"> Support Me
</a>
</header>

<body>

0 comments on commit 0c8c17f

Please sign in to comment.