[web-php] master: Add links to PHP Foundation with a Donate button (#821)
| From: | Jim Winstead via GitHub | Date: | Fri, 02 Feb 2024 08:54:26 +0000 |
| Subject: | [web-php] master: Add links to PHP Foundation with a Donate button (#821) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31400@lists.php.net to get a copy of this message | ||
Author: Jim Winstead (jimwins)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2024-02-02T11:40:39+03:00
Commit: https://github.com/php/web-php/commit/c89bec8faddf40e281664555ea835857b1d1c64b
Raw diff: https://github.com/php/web-php/commit/c89bec8faddf40e281664555ea835857b1d1c64b.diff
Add links to PHP Foundation with a Donate button (#821)
Co-authored-by: Derick Rethans <github@derickrethans.nl>
Co-authored-by: Lu Fei <52o@qq52o.cn>
Changed paths:
M index.php
M styles/home.css
Diff:
diff --git a/index.php b/index.php
index 3f27c1f734..9e889f7880 100644
--- a/index.php
+++ b/index.php
@@ -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>
diff --git a/styles/home.css b/styles/home.css
index cde846fb54..3ffd63b1c8 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -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;
+}