Commit Graph

21 Commits

Author SHA1 Message Date
kasahala
b8c439495e fix: css variables and layout of header and banner (#4966)
Some css variables such as banner were defined, but header css variables
were not, and layout margins were written solidly without css variables.
The layout was broken (to the extent that it was not visible), so it was
corrected.
2022-09-07 21:43:40 +01:00
Dmitry Vinnik | Meta
d90fd21fdb docs: Adding Social Banner in Support of Ukraine (#4397)
* Adding Social Banner with Support for Ukraine

* Changing spacing the social banner

* Fixing lint errors

* Remove external link icon from social banner

* Add banner for beta site

* Add todo

* Fix centering on mobile in old site

Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
2022-03-02 11:07:19 -05:00
Christine Abernathy
075b69cd6b Activate banner for 2021 survey (#3854) 2021-08-16 18:26:16 +01:00
Alex Krolick
38b4c5a33b fix date format for firefox (#3384) 2020-11-12 14:21:06 -05:00
Dan Abramov
8515d08327 Change datez 2020-10-01 22:44:15 +01:00
R Nabors
aef8fb3566 2020 Community survey banner (#3289)
* Adding survey banner for community

* fixing up a kludge for the banner, making the graphic look less like swearing

* updating banner start date

* make the banner smaller

* Close as a button

* fixes

* Remove the arrow

* Updating image sizes, making the arrow do a little slide

* Revert "Remove the arrow"

This reverts commit 3dddae8108.

* Remove extra space

* Legibility tweaks

* Fixing border radius

* Making close button a real button

* Remove trailing space, plz don't re-add, Prettier

* Centering that banner

* Modified Survey header styles

* Inline Banner content at the usage site

* Fix flash by using CSS variables

Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Brian Vaughn <bvaughn@fb.com>
2020-10-01 20:44:50 +01:00
Brian Vaughn
3e4f2687c6 Update copyright headers (#3086)
Added and updated copyright headers.

Added some missing Flow types.

Removed an invalid prop-types import.
2020-07-07 10:35:57 -04:00
Saurabh Daware
0726327dbb WebApp manifest added to allow users "Add to Homescreen" documentations (#2377)
* manifest config added and src/images/react_logo.png added for icon

* inverted commas fix as per linter

* added legacy:true option for ios

* legacy:true lint fix

* added meta tags for ios and moved logo from src to static
2019-10-09 09:05:28 -07:00
Michał Gołębiowski-Owczarek
06a8850b2f HTTPS-ify lots of URLs, update some to their newer homes (#1157)
This matters for user security.

I didn't touch blog posts & pages related to past conferences.

The `content/docs` could be HTTPS-ified as well but it contains lots of HTTP
links so maybe that'd be best done in a separate PR.
2018-10-05 14:39:12 -07:00
Alexander Nanberg
71b03486c0 Upgrade to Gatsby v2 (#1104)
* Upgrade to Gatsby v2

* Remove unnecessary polyfills since gatsby already provides them

* Move global styles to gatsby-browser

* Add fb comment and convert to cjs

* Revert to use pageQuery again

* Add back html.js

* Update dependencies

* Move TitleAndMetaTags

* Replace glamor/reset with normalize.css which fixes style order in prod

* Prettier formatting

* Remove unused types

* Remove old layout

* Fix versions link

* Update deps

* Update deps

* Remove hack since it's no longer needed

* Update dependencies

* Fix build error

* Fix prettier config resolution

* Update gatsby

* Remove custom onCreatePage logic

* Update dependencies

* Fix build

* Update dependencies

* prettier formatting

* update dependencies

* add custom babel config for flow

* upgrade dependencies

* update dependencies

* use stable gatsby release
2018-09-19 13:11:19 +01:00
Isaac Chien
ae29fa0491 move docsearch to end of body (#564) 2018-01-31 21:17:17 +00:00
Fredrik Forsmo
a970afa27e Remove "use strict" from source files 2017-12-02 15:25:17 +01:00
renanpvaz
0a255fe72a Merge branch 'master' of https://github.com/reactjs/reactjs.org into defer-babel-loading 2017-10-11 13:59:20 -03:00
renanpvaz
a02139b085 undo changes to algolia search 2017-10-10 17:16:45 -03:00
Brian Vaughn
7a9f04cad8 Removed MIT section from website source file headers 2017-10-10 10:36:40 -07:00
jxom
de3bd87f4b Added fbjs eslint config, fixed lint errors and warnings 2017-10-10 08:41:44 +11:00
renanpvaz
1d48f7574e load babel only when needed 2017-10-09 13:12:33 -03:00
Brian Vaughn
0e647230e2 Replaced CC-BY 4.0 license in source code headers with MIT 2017-10-07 08:00:22 -07:00
Brian Vaughn
c9e1c3b834 Updated license name in headers 2017-10-06 13:27:15 -07:00
Brian Vaughn
1de4c66dc6 Added some basic Flow types to get things started 2017-10-05 15:33:18 -07:00
Brian Vaughn
9d9b2021ed Migrated Gatsby website source and config 2017-10-04 14:56:10 -07:00