mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 20:01:57 +00:00
* 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>
25 lines
596 B
JavaScript
25 lines
596 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* @emails react-core
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const React = require('react');
|
|
const ReactDOM = require('react-dom');
|
|
|
|
// Import global styles
|
|
require('normalize.css');
|
|
require('./src/css/reset.css');
|
|
require('./src/prism-styles');
|
|
require('./src/css/algolia.css');
|
|
|
|
// Expose React and ReactDOM as globals for console playground
|
|
window.React = React;
|
|
window.ReactDOM = ReactDOM;
|
|
|
|
// A stub function is needed because gatsby won't load this file otherwise
|
|
// (https://github.com/gatsbyjs/gatsby/issues/6759)
|
|
exports.onClientEntry = () => {};
|