Make the landing page wider

* Add max-width for logos only

* Fix margin on sponsor images and add reference to the PostgREST team

* Fix information on v8 changelog
This commit is contained in:
Laurence Isla
2021-08-09 14:10:46 -05:00
committed by Steve Chavez
parent 21e54aacda
commit 37c2a8aa7b
3 changed files with 59 additions and 50 deletions
+8 -4
View File
@@ -2,10 +2,6 @@
max-width: initial; max-width: initial;
} }
#postgrest-documentation {
max-width: 800px;
}
#postgrest-documentation > h1 { #postgrest-documentation > h1 {
display: none; display: none;
} }
@@ -53,3 +49,11 @@ div.line-block {
#thanks ul{ #thanks ul{
text-align: left; text-align: left;
} }
.image-container {
max-width: 800px;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 24px;
}
+28 -24
View File
@@ -3,7 +3,9 @@
PostgREST Documentation PostgREST Documentation
======================= =======================
.. figure:: _static/logo.png .. container:: image-container
.. figure:: _static/logo.png
.. image:: https://img.shields.io/github/stars/postgrest/postgrest.svg?style=social .. image:: https://img.shields.io/github/stars/postgrest/postgrest.svg?style=social
:target: https://github.com/PostgREST/postgrest :target: https://github.com/PostgREST/postgrest
@@ -30,36 +32,38 @@ PostgREST is a standalone web server that turns your PostgreSQL database directl
Sponsors Sponsors
-------- --------
.. image:: _static/cybertec-new.png .. container:: image-container
:target: https://www.cybertec-postgresql.com/en/?utm_source=postgrest.org&utm_medium=referral&utm_campaign=postgrest
:width: 13em
.. image:: _static/2ndquadrant.png .. image:: _static/cybertec-new.png
:target: https://www.2ndquadrant.com/en/?utm_campaign=External%20Websites&utm_source=PostgREST&utm_medium=Logo :target: https://www.cybertec-postgresql.com/en/?utm_source=postgrest.org&utm_medium=referral&utm_campaign=postgrest
:width: 13em :width: 13em
.. image:: _static/retool.png .. image:: _static/2ndquadrant.png
:target: https://retool.com/?utm_source=sponsor&utm_campaign=postgrest :target: https://www.2ndquadrant.com/en/?utm_campaign=External%20Websites&utm_source=PostgREST&utm_medium=Logo
:width: 13em :width: 13em
.. image:: _static/gnuhost.png .. image:: _static/retool.png
:target: https://gnuhost.eu/?utm_source=sponsor&utm_campaign=postgrest :target: https://retool.com/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em :width: 13em
.. image:: _static/supabase.png .. image:: _static/gnuhost.png
:target: https://supabase.io/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage :target: https://gnuhost.eu/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em :width: 13em
.. image:: _static/oblivious.jpg .. image:: _static/supabase.png
:target: https://oblivious.ai/?utm_source=sponsor&utm_campaign=postgrest :target: https://supabase.io/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage
:width: 13em :width: 13em
.. The static/empty.png(created with `convert -size 320x95 xc:#fcfcfc empty.png`) is an ugly workaround .. image:: _static/oblivious.jpg
to create space and center the logos. It's not easy to layout with restructuredText. :target: https://oblivious.ai/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em
.. .. image:: _static/empty.png .. The static/empty.png(created with `convert -size 320x95 xc:#fcfcfc empty.png`) is an ugly workaround
:target: #sponsors to create space and center the logos. It's not easy to layout with restructuredText.
:width: 13em
.. .. image:: _static/empty.png
:target: #sponsors
:width: 13em
| |
+23 -22
View File
@@ -72,9 +72,6 @@ Fixed
* Removed single column restriction to allow composite foreign keys in join tables. * Removed single column restriction to allow composite foreign keys in join tables.
|br| -- `@goteguru <https://github.com/goteguru>`_ |br| -- `@goteguru <https://github.com/goteguru>`_
* Fix how the PostgREST version is shown in the help text when the .git directory is not available.
|br| -- `@monacoremo <https://github.com/monacoremo>`_
* Fix expired JWTs starting an empty transaction on the db. * Fix expired JWTs starting an empty transaction on the db.
|br| -- `@steve-chavez <https://github.com/steve-chavez>`_ |br| -- `@steve-chavez <https://github.com/steve-chavez>`_
@@ -148,34 +145,38 @@ Changed
Thanks Thanks
------ ------
.. image:: ../_static/cybertec-new.png Big thanks from the `PostgREST team <https://github.com/orgs/PostgREST/people>`_ to our sponsors!
:target: https://www.cybertec-postgresql.com/en/?utm_source=postgrest.org&utm_medium=referral&utm_campaign=postgrest
:width: 13em
.. image:: ../_static/2ndquadrant.png .. container:: image-container
:target: https://www.2ndquadrant.com/en/?utm_campaign=External%20Websites&utm_source=PostgREST&utm_medium=Logo
:width: 13em
.. image:: ../_static/retool.png .. image:: ../_static/cybertec-new.png
:target: https://retool.com/?utm_source=sponsor&utm_campaign=postgrest :target: https://www.cybertec-postgresql.com/en/?utm_source=postgrest.org&utm_medium=referral&utm_campaign=postgrest
:width: 13em :width: 13em
.. image:: ../_static/gnuhost.png .. image:: ../_static/2ndquadrant.png
:target: https://gnuhost.eu/?utm_source=sponsor&utm_campaign=postgrest :target: https://www.2ndquadrant.com/en/?utm_campaign=External%20Websites&utm_source=PostgREST&utm_medium=Logo
:width: 13em :width: 13em
.. image:: ../_static/supabase.png .. image:: ../_static/retool.png
:target: https://supabase.io/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage :target: https://retool.com/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em :width: 13em
.. image:: ../_static/oblivious.jpg .. image:: ../_static/gnuhost.png
:target: https://oblivious.ai/?utm_source=sponsor&utm_campaign=postgrest :target: https://gnuhost.eu/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em :width: 13em
.. image:: ../_static/supabase.png
:target: https://supabase.io/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage
:width: 13em
.. image:: ../_static/oblivious.jpg
:target: https://oblivious.ai/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em
* `Daniel Babiak <https://github.com/dbabiak>`_
* Evans Fernandes * Evans Fernandes
* `Jan Sommer <https://github.com/nerfpops>`_ * `Jan Sommer <https://github.com/nerfpops>`_
* `Franz Gusenbauer <https://www.igutech.at/>`_ * `Franz Gusenbauer <https://www.igutech.at/>`_
* `Daniel Babiak <https://github.com/dbabiak>`_
* Tsingson Qin * Tsingson Qin
* Michel Pelletier * Michel Pelletier
* Jay Hannah * Jay Hannah