Skip to content

Commit

Permalink
Update Sponsor buttons (#116)
Browse files Browse the repository at this point in the history
* Update Sponsor buttons

* Update Sponsor buttons

* Add Contact and Donate pages and update navigation

* Update source/_layouts/default.html

Co-authored-by: Sergey Panteleev <[email protected]>

* Update source/index.html

Co-authored-by: Sergey Panteleev <[email protected]>

---------

Co-authored-by: Roman Pronskiy <[email protected]>
Co-authored-by: Roman Pronskiy <[email protected]>
  • Loading branch information
3 people authored Oct 18, 2023
1 parent 37472ca commit 349fcdf
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 12 deletions.
23 changes: 11 additions & 12 deletions source/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@
<a href="{{ site.url }}/blog" class="text-gray-700 hover:underline">News</a>

<a href="{{ site.url }}/presentations" class="text-gray-700 hover:underline">Talks</a>

<a href="{{ site.url }}/contact" class="text-gray-700 hover:underline">Contact</a>
</div>
<div class="hidden lg:flex lg:flex-1 lg:justify-end items-center gap-8">
<a href="https://php.net" target="_blank" rel="noopener noreferrer"
class="text-sm font-semibold leading-6 text-gray-700 nav-org hover:border-none hover:underline">
php.net</a>

<a href="mailto:[email protected]"
class="inline-block py-2 no-underline px-6 !text-white bg-[#7f52ff] rounded-3xl hover:bg-[rgba(127,82,255,.8)]">
Write Us</a>
<a href="/donate" class="inline-block py-2 no-underline px-6 !text-white bg-[#6858f6] rounded-3xl hover:bg-[rgba(104,88,246,.8)]">Donate</a>
</div>
</nav>
<div x-show="isOpen" x-cloak>
Expand Down Expand Up @@ -136,11 +136,13 @@

<a href="{{ site.url }}/presentations"
class="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50 no-underline">Talks</a>

<a href="{{ site.url }}/contact"
class="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50 no-underline">Contact</a>
</div>
<div class="py-6">
<a href="mailto:[email protected]"
class="block py-2 text-center no-underline px-6 !text-white bg-[#7f52ff] rounded-3xl hover:bg-[rgba(127,82,255,.8)]">
Write Us</a>
<a href="/donate" rel="noopener noreferrer"
class="block py-2 text-center no-underline px-6 !text-white bg-[#7f52ff] rounded-3xl hover:bg-[rgba(127,82,255,.8)]">Donate</a>
</div>
</div>
</nav>
Expand All @@ -153,8 +155,10 @@
<footer class="bg-gray-900">
<div class="mx-auto max-w-7xl overflow-hidden px-6 py-12 lg:px-8">
<nav class="-mb-6 columns-2 sm:flex sm:justify-center sm:space-x-12">

<div class="pb-6">
<a href="{{ site.url }}/blog" class="text-sm leading-6 text-gray-600 hover:text-gray-900 no-underline">News</a>
<a href="{{ site.url }}/contact"
class="text-sm leading-6 text-gray-600 hover:text-gray-900 no-underline">Contact</a>
</div>

<div class="pb-6">
Expand All @@ -167,11 +171,6 @@
class="text-sm leading-6 text-gray-600 hover:text-gray-900 no-underline">Branding</a>
</div>

<div class="pb-6">
<a href="{{ site.url }}/presentations"
class="text-sm leading-6 text-gray-600 hover:text-gray-900 no-underline">Presentations</a>
</div>

<div class="pb-6">
<a href="{{ site.url }}/code-of-conduct"
class="text-sm leading-6 text-gray-600 hover:text-gray-900 no-underline">Code of Conduct</a>
Expand Down
15 changes: 15 additions & 0 deletions source/_pages/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Contact The PHP Foundation
permalink: contact
layout: page
---

Please email our team with general inquiries at [[email protected]](mailto:[email protected]).

We will get back to you as soon as possible.

Follow us on social media:

- [Twitter](https://twitter.com/thephpf)
- [LinkedIn](https://www.linkedin.com/company/phpfoundation/)
- [Mastodon](https://phpc.social/@thephpf)
26 changes: 26 additions & 0 deletions source/_pages/donate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Donate to The PHP Foundation
permalink: donate
layout: page
---

The PHP Foundation operates under the umbrella of [OpenSourceCollective](https://www.oscollective.org/), and we rely on [OpenCollective](https://opencollective.com/phpfoundation) to receive and distribute funds. Our donations and expenses are [public and fully transparent](https://opencollective.com/phpfoundation#category-BUDGET).

There are many ways you (or your company) can support the development of the PHP language via&nbsp;The&nbsp;PHP&nbsp;Foundation:

* [Credit Card](https://opencollective.com/phpfoundation/contribute)
* [PayPal](https://opencollective.com/phpfoundation/contribute)
* [Bank Transfer (a.k.a. ACH or wire transfer)](https://opencollective.com/phpfoundation/contribute)
* [GitHub Sponsors](https://github.com/sponsors/ThePHPF)

If you require an invoice for your donation, please contact [[email protected]](mailto:[email protected]).

## Official Info & Docs

Banking, taxes, legals:
[https://docs.oscollective.org/about/official-info-and-docs](https://docs.oscollective.org/about/official-info-and-docs)

* [Tax ID & W9](https://docs.oscollective.org/about/official-info-and-docs#tax-id-and-w9)
* [Address & Contact Info](https://docs.oscollective.org/about/official-info-and-docs#address-and-contact-info)

If you're experiencing any difficulties, require additional information, or would like to support the foundation in any other way, please don't hesitate to contact us at: [[email protected]](mailto:[email protected]).
5 changes: 5 additions & 0 deletions source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
<h1 class="max-w-2xl text-5xl font-bold tracking-tight text-gray-900 sm:text-6xl">
We support, advance, and develop the PHP Language
</h1>
<div class="mt-16 flex flex-row gap-4">
<a href="/donate" class="inline-block lg:hidden text-xl py-2 no-underline px-6 !text-white bg-[#6858f6] rounded-3xl hover:bg-[rgba(104,88,246,.8)]">
Donate
</a>
</div>
</div>
<div class="mt-6 max-w-xl lg:mt-0">
<img src="{{ site.url }}/assets/icons/php_foundation.svg"
Expand Down

0 comments on commit 349fcdf

Please sign in to comment.