Skip to content

Commit

Permalink
Add links to PHP Foundation with a Donate button (#821)
Browse files Browse the repository at this point in the history
Co-authored-by: Derick Rethans <[email protected]>
Co-authored-by: Lu Fei <[email protected]>
  • Loading branch information
3 people authored Feb 2, 2024
1 parent 555ac83 commit c89bec8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@

$SIDEBAR = <<<SIDEBAR_DATA
<div class='panel'>
<a href='https://thephp.foundation/' class='headline'>The PHP Foundation</a>
<div class='body'>
<p>The PHP Foundation is a collective of people and organizations, united in the mission to ensure the long-term prosperity of the PHP language.
<p><a href='https://thephp.foundation/donate/' class='btn btn-primary'>Donate</a></p>
</div>
</div>
$announcements
<p class='panel'><a href='/cal.php'>User Group Events</a></p>
<p class='panel'><a href='/thanks.php'>Special Thanks</a></p>
Expand Down
22 changes: 22 additions & 0 deletions styles/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,25 @@ aside.tips .social-media .icon-twitter {
font-size: 1.5em;
vertical-align: middle;
}

/* Unheroic button */
.btn {
box-sizing: border-box;
padding: 0.5rem 1rem;
margin-bottom: 1rem;
border-radius: 2rem;
text-align: center;
display: inline-block;
border: none;
transition: background-color 0.2s;
}

.btn-primary {
background-color: var(--dark-blue-color);
color: #fff !important;
}

.btn-primary:hover, .hero-btn-primary:focus {
background-color: var(--dark-magenta-color) !important;
border-color: var(--dark-magenta-color) !important;
}

0 comments on commit c89bec8

Please sign in to comment.