Re-add public folder
2
.gitignore
vendored
@@ -2,5 +2,5 @@
|
||||
.DS_STORE
|
||||
.idea
|
||||
node_modules
|
||||
public
|
||||
/public
|
||||
yarn-error.log
|
||||
@@ -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}\"",
|
||||
|
||||
26
beta/plugins/sandbox-templates/cra/public/index.html
Normal file
@@ -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>
|
||||
BIN
beta/public/external.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
beta/public/favicon.ico
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
beta/public/favicon_dark.ico
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
beta/public/fonts/SourceCodePro-Regular.ttf
Normal file
36
beta/public/html/single-file-example.html
Normal file
@@ -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
beta/public/icons/logo-white.svg
Normal file
@@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-11.5 -10.23174 23 20.46348">
|
||||
<title>React Logo</title>
|
||||
<circle cx="0" cy="0" r="2.05" fill="#fff"/>
|
||||
<g stroke="#fff" stroke-width="1" fill="none">
|
||||
<ellipse rx="11" ry="4.2"/>
|
||||
<ellipse rx="11" ry="4.2" transform="rotate(60)"/>
|
||||
<ellipse rx="11" ry="4.2" transform="rotate(120)"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 360 B |
9
beta/public/icons/logo.svg
Normal file
@@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-11.5 -10.23174 23 20.46348">
|
||||
<title>React Logo</title>
|
||||
<circle cx="0" cy="0" r="2.05" fill="#61dafb"/>
|
||||
<g stroke="#61dafb" stroke-width="1" fill="none">
|
||||
<ellipse rx="11" ry="4.2"/>
|
||||
<ellipse rx="11" ry="4.2" transform="rotate(60)"/>
|
||||
<ellipse rx="11" ry="4.2" transform="rotate(120)"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 366 B |
BIN
beta/public/images/blog/animal-sounds.jpg
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
beta/public/images/blog/chatapp.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
beta/public/images/blog/cra-better-output.png
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
beta/public/images/blog/cra-dynamic-import.gif
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
beta/public/images/blog/cra-jest-search.gif
Normal file
|
After Width: | Height: | Size: 907 KiB |
BIN
beta/public/images/blog/cra-pwa.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
beta/public/images/blog/cra-runtime-error.gif
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
beta/public/images/blog/cra-update-exports.gif
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 122 KiB |
BIN
beta/public/images/blog/devtools-component-filters.gif
Normal file
|
After Width: | Height: | Size: 399 KiB |
BIN
beta/public/images/blog/devtools-full.gif
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
beta/public/images/blog/devtools-highlight-updates.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
beta/public/images/blog/devtools-search.gif
Normal file
|
After Width: | Height: | Size: 929 KiB |
BIN
beta/public/images/blog/devtools-side-pane.gif
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
beta/public/images/blog/devtools-tree-view.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
beta/public/images/blog/devtools-v4-screenshot.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
beta/public/images/blog/dog-tutorial.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
beta/public/images/blog/first-look.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
beta/public/images/blog/flux-chart.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
beta/public/images/blog/flux-diagram.png
Normal file
|
After Width: | Height: | Size: 130 KiB |
BIN
beta/public/images/blog/genesis_skeleton.png
Normal file
|
After Width: | Height: | Size: 143 KiB |
BIN
beta/public/images/blog/gpu-cursor-move.gif
Normal file
|
After Width: | Height: | Size: 790 KiB |
BIN
beta/public/images/blog/guess_filter.jpg
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
beta/public/images/blog/hacker-news-react-native.png
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
beta/public/images/blog/highlight-updates-example.gif
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 314 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 393 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 658 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 414 KiB |
|
After Width: | Height: | Size: 225 KiB |
|
After Width: | Height: | Size: 357 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 768 KiB |
BIN
beta/public/images/blog/jsx-compiler.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
beta/public/images/blog/kendoui.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
beta/public/images/blog/khan-academy-editor.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
beta/public/images/blog/landoflisp.png
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
beta/public/images/blog/lights-out.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
beta/public/images/blog/makona-editor.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
beta/public/images/blog/markdown_refactor.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
beta/public/images/blog/modus-create.gif
Normal file
|
After Width: | Height: | Size: 992 KiB |
BIN
beta/public/images/blog/monkeys.gif
Normal file
|
After Width: | Height: | Size: 532 KiB |
BIN
beta/public/images/blog/ngreact.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
beta/public/images/blog/om-backbone.png
Normal file
|
After Width: | Height: | Size: 126 KiB |
BIN
beta/public/images/blog/parse-react.jpg
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
beta/public/images/blog/polarr.jpg
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
beta/public/images/blog/propeller-logo.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
beta/public/images/blog/property-finder.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
beta/public/images/blog/quiztime.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
beta/public/images/blog/react-50k-mock-full.jpg
Normal file
|
After Width: | Height: | Size: 127 KiB |
BIN
beta/public/images/blog/react-50k-mock.jpg
Normal file
|
After Width: | Height: | Size: 83 KiB |
BIN
beta/public/images/blog/react-50k-tshirt.jpg
Normal file
|
After Width: | Height: | Size: 633 KiB |
BIN
beta/public/images/blog/react-browserify-gulp.jpg
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
beta/public/images/blog/react-dev-tools.jpg
Normal file
|
After Width: | Height: | Size: 70 KiB |
BIN
beta/public/images/blog/react-diff-tree.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
beta/public/images/blog/react-draggable.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
beta/public/images/blog/react-hackathon.jpg
Normal file
|
After Width: | Height: | Size: 49 KiB |
BIN
beta/public/images/blog/react-page.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
beta/public/images/blog/react-perf-chrome-timeline.png
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
beta/public/images/blog/react-php.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
beta/public/images/blog/react-svg-fbp.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 25 KiB |
BIN
beta/public/images/blog/react-v16.9.0/codemod.gif
Normal file
|
After Width: | Height: | Size: 677 KiB |
BIN
beta/public/images/blog/react-v16.9.0/cwm-warning.png
Normal file
|
After Width: | Height: | Size: 106 KiB |
BIN
beta/public/images/blog/react-v17-rc/react_17_delegation.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
beta/public/images/blog/reactive-bookmarklet.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
BIN
beta/public/images/blog/reflux-flux.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
beta/public/images/blog/relay-components/relay-architecture.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 27 KiB |
BIN
beta/public/images/blog/relay-components/relay-containers.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
beta/public/images/blog/relay-components/sample-newsfeed.png
Normal file
|
After Width: | Height: | Size: 57 KiB |
BIN
beta/public/images/blog/relay-visual-architecture-tour.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
beta/public/images/blog/release-script-build-confirmation.png
Normal file
|
After Width: | Height: | Size: 98 KiB |