Skip to content

Commit

Permalink
Re-add public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelnabors authored and gaearon committed Oct 28, 2021
1 parent e348d94 commit 926dbee
Show file tree
Hide file tree
Showing 248 changed files with 368 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
.DS_STORE
.idea
node_modules
public
/public
yarn-error.log
1 change: 0 additions & 1 deletion beta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"scripts": {
"dev": "next",
"build": "next build && node ./scripts/generateRSS.js",
"build-ci": "git clean -df && next build && next export && node ./scripts/generateRSS.js && rm -rf public/* && cp -r out/* public/",
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
"format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx}\"",
"nit:source": "prettier --config .prettierrc --list-different \"{plugins,src}/**/*.{js,ts,jsx,tsx}\"",
Expand Down
26 changes: 26 additions & 0 deletions beta/plugins/sandbox-templates/cra/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>React App</title>
</head>

<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>

</html>
Binary file added beta/public/external.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/favicon.ico
Binary file not shown.
Binary file added beta/public/favicon_dark.ico
Binary file not shown.
Binary file added beta/public/fonts/SourceCodePro-Regular.ttf
Binary file not shown.
36 changes: 36 additions & 0 deletions beta/public/html/single-file-example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello World</title>
<script src="https://unpkg.com/react@17/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"></script>

<!-- Don't use this in production—do this: https://reactjs.org/docs/add-react-to-a-website#add-jsx-to-a-project -->
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
</head>
<body>
<div id="root"></div>
<script type="text/babel">

ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);

</script>
<!--
Note: this page is a great way to try React but it's not suitable for production.
It slowly compiles JSX with Babel in the browser and uses a large development build of React.
Read this section for a production-ready setup with JSX:
https://reactjs.org/docs/docs/add-react-to-a-website#try-react-with-jsx
In a larger project, you can use an integrated toolchain that includes JSX instead:
https://reactjs.org/docs/start-a-new-react-project
You can also use React without JSX, in which case you can remove Babel:
https://reactjs.org/docs/add-react-to-a-website#add-react-in-one-minute
-->
</body>
</html>
9 changes: 9 additions & 0 deletions beta/public/icons/logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions beta/public/icons/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/animal-sounds.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/chatapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/cra-better-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/cra-dynamic-import.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/cra-jest-search.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/cra-pwa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/cra-runtime-error.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/cra-update-exports.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/devtools-full.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/devtools-search.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/devtools-side-pane.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/devtools-tree-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/dog-tutorial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/first-look.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added beta/public/images/blog/flux-chart.png
Binary file added beta/public/images/blog/flux-diagram.png
Binary file added beta/public/images/blog/genesis_skeleton.png
Binary file added beta/public/images/blog/gpu-cursor-move.gif
Binary file added beta/public/images/blog/guess_filter.jpg
Binary file added beta/public/images/blog/jsx-compiler.png
Binary file added beta/public/images/blog/kendoui.png
Binary file added beta/public/images/blog/khan-academy-editor.png
Binary file added beta/public/images/blog/landoflisp.png
Binary file added beta/public/images/blog/lights-out.png
Binary file added beta/public/images/blog/makona-editor.png
Binary file added beta/public/images/blog/markdown_refactor.png
Binary file added beta/public/images/blog/modus-create.gif
Binary file added beta/public/images/blog/monkeys.gif
Binary file added beta/public/images/blog/ngreact.png
Binary file added beta/public/images/blog/om-backbone.png
Binary file added beta/public/images/blog/parse-react.jpg
Binary file added beta/public/images/blog/polarr.jpg
Binary file added beta/public/images/blog/propeller-logo.png
Binary file added beta/public/images/blog/property-finder.png
Binary file added beta/public/images/blog/quiztime.png
Binary file added beta/public/images/blog/react-50k-mock-full.jpg
Binary file added beta/public/images/blog/react-50k-mock.jpg
Binary file added beta/public/images/blog/react-50k-tshirt.jpg
Binary file added beta/public/images/blog/react-browserify-gulp.jpg
Binary file added beta/public/images/blog/react-dev-tools.jpg
Binary file added beta/public/images/blog/react-diff-tree.png
Binary file added beta/public/images/blog/react-draggable.png
Binary file added beta/public/images/blog/react-hackathon.jpg
Binary file added beta/public/images/blog/react-page.png
Binary file added beta/public/images/blog/react-php.png
Binary file added beta/public/images/blog/react-svg-fbp.png
Binary file added beta/public/images/blog/reactive-bookmarklet.png
Binary file added beta/public/images/blog/reflux-flux.png
Binary file added beta/public/images/blog/resistance-calculator.png
Binary file added beta/public/images/blog/skills-matter.png
Binary file added beta/public/images/blog/snake.png
Binary file added beta/public/images/blog/steve_reverse.gif
Binary file added beta/public/images/blog/sweet-jsx.png
Binary file added beta/public/images/blog/tcomb-react-native.png
Binary file added beta/public/images/blog/todomvc.png
Binary file added beta/public/images/blog/turboreact.png
Binary file added beta/public/images/blog/tutsplus.png
Binary file added beta/public/images/blog/unite.png
Binary file added beta/public/images/blog/versioning-1.png
Binary file added beta/public/images/blog/versioning-2.png
Binary file added beta/public/images/blog/versioning-3.png
Binary file added beta/public/images/blog/versioning-4.png
Binary file added beta/public/images/blog/versioning-5.png
Binary file added beta/public/images/blog/versioning-6.png
Binary file added beta/public/images/blog/versioning-poll.png
Binary file added beta/public/images/blog/weather.png
Binary file added beta/public/images/blog/wolfenstein_react.png
Binary file added beta/public/images/blog/xoxo2013.png
Binary file added beta/public/images/blog/xreact.png
Binary file added beta/public/images/docs/blur-popover-close.gif
Binary file added beta/public/images/docs/cdn-cors-header.png
Binary file added beta/public/images/docs/cm-steps-simple.png
Binary file added beta/public/images/docs/codewinds-004.png
Binary file added beta/public/images/docs/devtools-dev.png
Binary file added beta/public/images/docs/devtools-prod.png
Binary file added beta/public/images/docs/granular-dom-updates.gif
95 changes: 95 additions & 0 deletions beta/public/images/docs/illustrations/i_html_js.svg
100 changes: 100 additions & 0 deletions beta/public/images/docs/illustrations/i_import-export.svg
55 changes: 55 additions & 0 deletions beta/public/images/docs/illustrations/i_jsx.svg
Binary file added beta/public/images/docs/illustrations/i_ref.png
Binary file added beta/public/images/docs/javascript-jabber.png
Binary file added beta/public/images/docs/keyboard-focus.png
Binary file added beta/public/images/docs/outerclick-with-mouse.gif
Binary file added beta/public/images/docs/perf-dom.png
Binary file added beta/public/images/docs/perf-exclusive.png
Binary file added beta/public/images/docs/perf-inclusive.png
Binary file added beta/public/images/docs/perf-wasted.png
Binary file added beta/public/images/docs/react-devtools-state.gif
Binary file added beta/public/images/docs/sketches/exports.png
Binary file added beta/public/images/docs/sketches/s_remove-ui.png
Binary file added beta/public/images/docs/sketches/s_ui-swap.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file added beta/public/images/docs/source/i_ref.psd
Diff not rendered.
Diff not rendered.
Binary file added beta/public/images/docs/source/i_rerender.psd
Diff not rendered.
Binary file added beta/public/images/docs/source/i_rerendering.psd
Diff not rendered.
Diff not rendered.
Binary file added beta/public/images/docs/source/s_inputs.psd
Diff not rendered.
Binary file added beta/public/images/docs/source/s_ui-snapshot.psd
Diff not rendered.
Binary file added beta/public/images/external.png
Binary file added beta/public/images/external_2x.png
Binary file added beta/public/images/g_arrow.png
Binary file added beta/public/images/history.png
Binary file added beta/public/images/noise.png
Binary file added beta/public/images/oss_logo.png
Binary file added beta/public/images/search.png
Binary file added beta/public/images/team/acdlite.jpg
Binary file added beta/public/images/team/bvaughn.jpg
Binary file added beta/public/images/team/gaearon.jpg
Binary file added beta/public/images/team/lunaruan.jpg
Binary file added beta/public/images/team/necolas.jpg
Binary file added beta/public/images/team/rickhanlonii.jpg
Binary file added beta/public/images/team/rnabors.jpg
Binary file added beta/public/images/team/salazarm.jpeg
Binary file added beta/public/images/team/sebmarkbage.jpg
Binary file added beta/public/images/team/sethwebster.jpg
Binary file added beta/public/images/team/threepointone.jpg
Binary file added beta/public/images/team/trueadm.jpg
Binary file added beta/public/images/team/yuzhi.jpg
Binary file added beta/public/images/tutorial/devtools.png
Binary file added beta/public/images/tutorial/tictac-empty.png
Binary file added beta/public/images/tutorial/tictac-numbers.png
16 changes: 16 additions & 0 deletions beta/public/js/jsfiddle-integration-babel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*/

// Do not delete or move this file.
// Many fiddles reference it so we have to keep it here.
(function() {
var tag = document.querySelector(
'script[type="application/javascript;version=1.7"]'
);
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) {
alert('Bad JSFiddle configuration, please fork the original React JSFiddle');
}
tag.setAttribute('type', 'text/babel');
tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, '');
})();
16 changes: 16 additions & 0 deletions beta/public/js/jsfiddle-integration.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*/

// Do not delete or move this file.
// Many fiddles reference it so we have to keep it here.
(function() {
var tag = document.querySelector(
'script[type="application/javascript;version=1.7"]'
);
if (!tag || tag.textContent.indexOf('window.onload=function(){') !== -1) {
alert('Bad JSFiddle configuration, please fork the original React JSFiddle');
}
tag.setAttribute('type', 'text/jsx;harmony=true');
tag.textContent = tag.textContent.replace(/^\/\/<!\[CDATA\[/, '');
})();
Binary file added beta/public/logo-180x180.png
Binary file added beta/public/logo-512x512.png
Binary file added beta/public/logo-og.png
5 changes: 5 additions & 0 deletions beta/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
User-agent: *
Disallow: /

User-agent: Algolia Crawler
Disallow:
Loading

0 comments on commit 926dbee

Please sign in to comment.