├── .DS_Store ├── .editorconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── build ├── assets.js ├── package.json ├── public │ ├── apple-touch-icon.png │ ├── browserconfig.xml │ ├── crossdomain.xml │ ├── css │ │ ├── bootstrap-social.css │ │ ├── bootstrap-theme.css │ │ ├── bootstrap-theme.css.map │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap-theme.min.css.map │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.css.map │ │ ├── font-awesome.css │ │ ├── font-awesome.css.map │ │ ├── font-awesome.min.css │ │ └── sb-admin.css │ ├── favicon.ico │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── fontawesome-webfont.woff2 │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ ├── humans.txt │ ├── logo.png │ ├── robots.txt │ ├── tile-wide.png │ └── tile.png ├── server.js └── server.js.map ├── package.json ├── src ├── client.js ├── components │ ├── .DS_Store │ ├── App │ │ ├── App.css │ │ ├── App.js │ │ ├── App.test.js │ │ └── package.json │ ├── Donut │ │ └── index.js │ ├── Header │ │ ├── Header.css │ │ ├── Header.js │ │ ├── logo-small.png │ │ ├── logo-small@2x.png │ │ ├── logo.png │ │ └── package.json │ ├── Html.js │ ├── Link │ │ ├── Link.js │ │ └── package.json │ ├── Sidebar │ │ └── index.js │ ├── Widget │ │ └── index.js │ ├── common │ │ └── styles │ │ │ └── sb-admin.css │ ├── variables.css │ └── withViewport.js ├── config.js ├── content │ ├── about.md │ ├── index.md │ └── privacy.md ├── core │ ├── DOMUtils.js │ ├── fetch │ │ ├── fetch.client.js │ │ ├── fetch.server.js │ │ └── package.json │ ├── history.js │ └── passport.js ├── data │ ├── models │ │ ├── .eslintrc │ │ ├── User.js │ │ ├── UserClaim.js │ │ ├── UserLogin.js │ │ ├── UserProfile.js │ │ └── index.js │ ├── queries │ │ ├── content.js │ │ ├── me.js │ │ └── news.js │ ├── schema.js │ ├── sequelize.js │ └── types │ │ ├── ContentType.js │ │ ├── NewsItemType.js │ │ └── UserType.js ├── public │ ├── apple-touch-icon.png │ ├── browserconfig.xml │ ├── crossdomain.xml │ ├── favicon.ico │ ├── humans.txt │ ├── logo.png │ ├── robots.txt │ ├── tile-wide.png │ └── tile.png ├── routes │ ├── dashboardPages │ │ ├── blank │ │ │ ├── blank.js │ │ │ └── index.js │ │ ├── buttons │ │ │ ├── Button.js │ │ │ └── index.js │ │ ├── flotCharts │ │ │ ├── FlotCharts.js │ │ │ └── index.js │ │ ├── forms │ │ │ ├── forms.js │ │ │ └── index.js │ │ ├── grid │ │ │ ├── Grid.js │ │ │ └── index.js │ │ ├── icons │ │ │ ├── Icons.js │ │ │ └── index.js │ │ ├── morrisjsCharts │ │ │ ├── MorrisjsCharts.js │ │ │ └── index.js │ │ ├── notification │ │ │ ├── Notification.js │ │ │ └── index.js │ │ ├── panelWells │ │ │ ├── PanelWells.js │ │ │ └── index.js │ │ ├── tables │ │ │ ├── Table.js │ │ │ └── index.js │ │ └── typography │ │ │ ├── Typography.js │ │ │ └── index.js │ ├── error │ │ ├── ErrorPage.css │ │ ├── ErrorPage.js │ │ └── index.js │ ├── home │ │ ├── Home.css │ │ ├── Home.js │ │ └── index.js │ ├── index.js │ └── login │ │ ├── Login.css │ │ ├── Login.js │ │ └── index.js ├── server.js └── vendor │ └── recharts │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── demo │ ├── .babelrc │ ├── component │ │ ├── AreaChart.js │ │ ├── BarChart.js │ │ ├── BrushDemo.js │ │ ├── CartesianAxis.js │ │ ├── CartesianGrid.js │ │ ├── ComposedChart.js │ │ ├── Curve.js │ │ ├── CustomLineDot.js │ │ ├── DemoRadarItem.js │ │ ├── DemoSankeyLink.js │ │ ├── DemoSankeyNode.js │ │ ├── DemoTreemapItem.js │ │ ├── Legend.js │ │ ├── LineChart.js │ │ ├── Pie.js │ │ ├── PieChart.js │ │ ├── PolarAngleAxis.js │ │ ├── PolarGrid.js │ │ ├── PolarRadiusAxis.js │ │ ├── RadarChart.js │ │ ├── RadialBarChart.js │ │ ├── Rectangle.js │ │ ├── Sankey.js │ │ ├── ScatterChart.js │ │ ├── Sector.js │ │ ├── TextDemo.js │ │ ├── Treemap.js │ │ ├── index.js │ │ └── utils.js │ ├── container │ │ └── App.js │ ├── index.html │ ├── index.js │ └── webpack.config.js │ ├── es6 │ ├── cartesian │ │ ├── Area.js │ │ ├── Bar.js │ │ ├── Brush.js │ │ ├── CartesianAxis.js │ │ ├── CartesianGrid.js │ │ ├── Line.js │ │ ├── ReferenceArea.js │ │ ├── ReferenceDot.js │ │ ├── ReferenceLine.js │ │ ├── Scatter.js │ │ ├── XAxis.js │ │ ├── YAxis.js │ │ └── ZAxis.js │ ├── chart │ │ ├── AreaChart.js │ │ ├── BarChart.js │ │ ├── ComposedChart.js │ │ ├── LineChart.js │ │ ├── PieChart.js │ │ ├── RadarChart.js │ │ ├── RadialBarChart.js │ │ ├── Sankey.js │ │ ├── ScatterChart.js │ │ ├── Treemap.js │ │ └── generateCategoricalChart.js │ ├── component │ │ ├── Background.js │ │ ├── Cell.js │ │ ├── DefaultLegendContent.js │ │ ├── DefaultTooltipContent.js │ │ ├── Legend.js │ │ ├── ResponsiveContainer.js │ │ ├── Text.js │ │ └── Tooltip.js │ ├── container │ │ ├── Layer.js │ │ └── Surface.js │ ├── index.js │ ├── polar │ │ ├── Pie.js │ │ ├── PolarAngleAxis.js │ │ ├── PolarGrid.js │ │ ├── PolarRadiusAxis.js │ │ ├── Radar.js │ │ └── RadialBar.js │ ├── polyfill.js │ ├── shape │ │ ├── Cross.js │ │ ├── Curve.js │ │ ├── Dot.js │ │ ├── Polygon.js │ │ ├── Rectangle.js │ │ ├── Sector.js │ │ └── Symbols.js │ └── util │ │ ├── AnimationDecorator.js │ │ ├── CartesianUtils.js │ │ ├── CssPrefixUtils.js │ │ ├── DOMUtils.js │ │ ├── DataUtils.js │ │ ├── Events.js │ │ ├── LogUtils.js │ │ ├── PolarUtils.js │ │ ├── PureRender.js │ │ └── ReactUtils.js │ ├── lib │ ├── cartesian │ │ ├── Area.js │ │ ├── Bar.js │ │ ├── Brush.js │ │ ├── CartesianAxis.js │ │ ├── CartesianGrid.js │ │ ├── Line.js │ │ ├── ReferenceArea.js │ │ ├── ReferenceDot.js │ │ ├── ReferenceLine.js │ │ ├── Scatter.js │ │ ├── XAxis.js │ │ ├── YAxis.js │ │ └── ZAxis.js │ ├── chart │ │ ├── AreaChart.js │ │ ├── BarChart.js │ │ ├── ComposedChart.js │ │ ├── LineChart.js │ │ ├── PieChart.js │ │ ├── RadarChart.js │ │ ├── RadialBarChart.js │ │ ├── Sankey.js │ │ ├── ScatterChart.js │ │ ├── Treemap.js │ │ └── generateCategoricalChart.js │ ├── component │ │ ├── Background.js │ │ ├── Cell.js │ │ ├── DefaultLegendContent.js │ │ ├── DefaultTooltipContent.js │ │ ├── Legend.js │ │ ├── ResponsiveContainer.js │ │ ├── Text.js │ │ └── Tooltip.js │ ├── container │ │ ├── Layer.js │ │ └── Surface.js │ ├── index.js │ ├── polar │ │ ├── Pie.js │ │ ├── PolarAngleAxis.js │ │ ├── PolarGrid.js │ │ ├── PolarRadiusAxis.js │ │ ├── Radar.js │ │ └── RadialBar.js │ ├── polyfill.js │ ├── shape │ │ ├── Cross.js │ │ ├── Curve.js │ │ ├── Dot.js │ │ ├── Polygon.js │ │ ├── Rectangle.js │ │ ├── Sector.js │ │ └── Symbols.js │ └── util │ │ ├── AnimationDecorator.js │ │ ├── CartesianUtils.js │ │ ├── CssPrefixUtils.js │ │ ├── DOMUtils.js │ │ ├── DataUtils.js │ │ ├── Events.js │ │ ├── LogUtils.js │ │ ├── PolarUtils.js │ │ ├── PureRender.js │ │ └── ReactUtils.js │ ├── package.json │ ├── src │ ├── cartesian │ │ ├── Area.js │ │ ├── Bar.js │ │ ├── Brush.js │ │ ├── CartesianAxis.js │ │ ├── CartesianGrid.js │ │ ├── Line.js │ │ ├── ReferenceArea.js │ │ ├── ReferenceDot.js │ │ ├── ReferenceLine.js │ │ ├── Scatter.js │ │ ├── XAxis.js │ │ ├── YAxis.js │ │ └── ZAxis.js │ ├── chart │ │ ├── AreaChart.js │ │ ├── BarChart.js │ │ ├── ComposedChart.js │ │ ├── LineChart.js │ │ ├── PieChart.js │ │ ├── RadarChart.js │ │ ├── RadialBarChart.js │ │ ├── Sankey.js │ │ ├── ScatterChart.js │ │ ├── Treemap.js │ │ └── generateCategoricalChart.js │ ├── component │ │ ├── Background.js │ │ ├── Cell.js │ │ ├── DefaultLegendContent.js │ │ ├── DefaultTooltipContent.js │ │ ├── Legend.js │ │ ├── ResponsiveContainer.js │ │ ├── Text.js │ │ └── Tooltip.js │ ├── container │ │ ├── Layer.js │ │ └── Surface.js │ ├── index.js │ ├── polar │ │ ├── Pie.js │ │ ├── PolarAngleAxis.js │ │ ├── PolarGrid.js │ │ ├── PolarRadiusAxis.js │ │ ├── Radar.js │ │ └── RadialBar.js │ ├── polyfill.js │ ├── shape │ │ ├── Cross.js │ │ ├── Curve.js │ │ ├── Dot.js │ │ ├── Polygon.js │ │ ├── Rectangle.js │ │ ├── Sector.js │ │ └── Symbols.js │ └── util │ │ ├── AnimationDecorator.js │ │ ├── CartesianUtils.js │ │ ├── CssPrefixUtils.js │ │ ├── DOMUtils.js │ │ ├── DataUtils.js │ │ ├── Events.js │ │ ├── LogUtils.js │ │ ├── PolarUtils.js │ │ ├── PureRender.js │ │ └── ReactUtils.js │ └── umd │ ├── Recharts.js │ └── Recharts.min.js ├── test ├── .eslintrc └── setup.js └── tools ├── .eslintrc ├── README.md ├── build.js ├── bundle.js ├── clean.js ├── copy.js ├── deploy.js ├── lib ├── fetch.js └── fs.js ├── render.js ├── run.js ├── runServer.js ├── start.js └── webpack.config.js /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/.DS_Store -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # http://editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | 9 | # Change these settings to your own preference 10 | indent_style = space 11 | indent_size = 2 12 | 13 | # We recommend you to keep these unchanged 14 | end_of_line = lf 15 | charset = utf-8 16 | trim_trailing_whitespace = true 17 | insert_final_newline = true 18 | 19 | [*.md] 20 | trim_trailing_whitespace = false 21 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | .*/build 3 | .*/config 4 | .*/node_modules 5 | .*/gulpfile.js 6 | 7 | [include] 8 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Automatically normalize line endings for all text-based files 2 | # http://git-scm.com/docs/gitattributes#_end_of_line_conversion 3 | * text=auto 4 | 5 | # For the following file types, normalize line endings to LF on 6 | # checkin and prevent conversion to CRLF when they are checked out 7 | # (this is required in order to prevent newline related issues like, 8 | # for example, after the build script is run) 9 | .* text eol=lf 10 | *.css text eol=lf 11 | *.html text eol=lf 12 | *.jade text eol=lf 13 | *.js text eol=lf 14 | *.json text eol=lf 15 | *.less text eol=lf 16 | *.scss text eol=lf 17 | *.md text eol=lf 18 | *.sh text eol=lf 19 | *.txt text eol=lf 20 | *.xml text eol=lf 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Include your project-specific ignores in this file 2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files 3 | 4 | database.sqlite 5 | node_modules 6 | ncp-debug.log 7 | npm-debug.log 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '6' 4 | - '5' 5 | env: 6 | - CXX=g++-4.8 7 | addons: 8 | apt: 9 | sources: 10 | - ubuntu-toolchain-r-test 11 | packages: 12 | - g++-4.8 13 | script: 14 | - npm run lint 15 | - npm run test 16 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing to React Starter Kit 2 | 3 | React Starter Kit is currently the most widely adopted Node.js/React boilerplate used by many 4 | tech startups around the globe. We're working hard to keep it up to date, making sure that it 5 | follows best practices and high coding standards, paying extremely close attention to details. 6 | 7 | Your contributions are welcome and are greatly appreciated! Every little bit helps, and credit 8 | will always be given. 9 | 10 | Please take a moment to review this document in order to make the contribution process easy and 11 | effective for everyone involved. 12 | 13 | ### Conduct 14 | 15 | Please, follow the [golden rule](https://en.wikipedia.org/wiki/Golden_Rule). Be respectful, even to 16 | those that are disrespectful. 17 | 18 | ### Feedback 19 | 20 | Feedback is the breakfast for champions! We'd love to hear your opinions, discuss potential 21 | improvements, architecture, theory, internal implementation, etc. Please, join or start a new 22 | conversation in our [issue tracker](https://github.com/kriasoft/react-starter-kit/issues), 23 | [Gitter](https://gitter.im/kriasoft/react-starter-kit) chat room, or let's talk face-to-face on 24 | [Appear.in](https://appear.in/react) or [Skype](http://hatscripts.com/addskype?koistya). 25 | 26 | ### Documentation 27 | 28 | We need your help with improving documentation to the project. This might be the easiest way for 29 | you to contribute, because you don't even need to clone the repo but can edit or create new `.md` 30 | files right from GitHub website as described [here](https://help.github.com/articles/editing-files-in-your-repository/). 31 | 32 | ### Bugs & Feature Requests 33 | 34 | Before opening an issue, please: 35 | 36 | * Check the [Getting Started](https://github.com/kriasoft/react-starter-kit/blob/master/docs/getting-started.md) guide. 37 | * Search the [issue tracker](https://github.com/kriasoft/react-starter-kit/issues) to make sure 38 | your issue hasn’t already been reported. 39 | * If your issue sounds more like a question, please post it on StackOverflow.com instead with the 40 | tag [react-starter-kit](http://stackoverflow.com/questions/tagged/react-starter-kit). 41 | 42 | ### Pull Requests 43 | 44 | Before you submit a [pull request](https://help.github.com/articles/using-pull-requests/) from your 45 | forked repo, check that it meets these guidelines: 46 | 47 | * If the pull request adds functionality, the docs should be updated as part of the same PR. 48 | * Create a separate PR for each small feature or bug fix. 49 | * [Squash](http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git) 50 | your commits into one for each PR. 51 | * Run `npm test` to make sure that your code style is OK and there are no any regression bugs. 52 | * When contributing to an opt-in feature, apply the `[feature/...]` tag as a prefix to your PR title 53 | 54 | #### Style Guide 55 | 56 | Our linter will catch most styling issues that may exist in your code. You can check the status 57 | of your code styling by simply running: `npm run lint` 58 | 59 | However, there are still some styles that the linter cannot pick up. If you are unsure about 60 | something, looking at [Airbnb's Style Guide](https://github.com/airbnb/javascript) will guide you 61 | in the right direction. 62 | 63 | ### License 64 | 65 | By contributing to React Starter Kit, you agree that your contributions will be licensed under its 66 | [MIT license](https://github.com/kriasoft/react-starter-kit/blob/master/LICENSE.txt). 67 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2017 GeekyAnts 2 | 3 | Copyright (c) 2014-Present GeekyAnts 4 | 5 | Unless required by applicable law or agreed to in writing, software 6 | distributed under the License is distributed on an "AS IS" BASIS, 7 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 8 | See the License for the specific language governing permissions and 9 | limitations under the License. 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## SB Admin v2.0 rewritten in React.js 2 | 3 | [![Join the chat at https://gitter.im/start-react/sb-admin-react](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/start-react/sb-admin-react?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 4 | 5 | This project is a port of the famous Free Admin Bootstrap Theme [SB Admin v2.0](http://startbootstrap.com/template-overviews/sb-admin-2/) to React.js Theme based on [React Starter Kit](https://github.com/kriasoft/react-starter-kit) using ES6 & Webpack. 6 | 7 | Find out more [Free React.js and React Native Themes at StartReact.com](http://www.startreact.com/). 8 | 9 | ## [Demo](http://sb-admin-react.geekydev.com:3009/) 10 | 11 | ## Installation 12 | ####1. Clone this project or Download that ZIP file 13 | 14 | ```sh 15 | $ git clone https://github.com/start-react/sb-admin-react.git 16 | ``` 17 | 18 | ####2. Make sure you have [npm](https://www.npmjs.org/) installed globally 19 | 20 | More details here 21 | https://nodejs.org/en/download/ 22 | 23 | ####3. On the command prompt run the following commands 24 | 25 | ```sh 26 | $ cd `project-directory` 27 | ``` 28 | ```sh 29 | $ npm install 30 | ``` 31 | ```sh 32 | $ npm start 33 | ``` 34 | 35 | ####4. To build 36 | ```sh 37 | $ npm run build 38 | ``` 39 | 40 | ####5. To clean up old build products 41 | ```sh 42 | $ npm run clean 43 | ``` 44 | 45 | ## Roadmap 46 | 47 | - Add sample AJAX calls (using Flux / Reflux) and make the components more modular 48 | - Lazy loading of Pages 49 | - MobX integration 50 | 51 | 52 | ### Automation tools used 53 | - [Webpack](https://webpack.github.io/) 54 | -------------------------------------------------------------------------------- /build/assets.js: -------------------------------------------------------------------------------- 1 | module.exports = {"main":{"js":"/assets/main.fca5bd48c861a7ba4a5b.js"}}; -------------------------------------------------------------------------------- /build/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "engines": { 4 | "node": ">=5.0 <7", 5 | "npm": ">=3.3 <4" 6 | }, 7 | "dependencies": { 8 | "babel-polyfill": "6.13.0", 9 | "babel-runtime": "6.11.6", 10 | "bluebird": "3.4.5", 11 | "body-parser": "1.15.2", 12 | "bootstrap": "^3.3.7", 13 | "bootstrap-social": "^5.0.0", 14 | "chart.js": "^1.1.1", 15 | "classnames": "2.2.5", 16 | "cookie-parser": "1.4.3", 17 | "core-js": "2.4.1", 18 | "eventemitter3": "1.2.0", 19 | "express": "4.14.0", 20 | "express-graphql": "0.5.4", 21 | "express-jwt": "3.4.0", 22 | "fastclick": "1.0.6", 23 | "fbjs": "0.8.4", 24 | "font-awesome": "^4.6.3", 25 | "front-matter": "2.1.0", 26 | "graphiql": "0.7.8", 27 | "graphql": "0.7.0", 28 | "history": "3.0.0", 29 | "isomorphic-style-loader": "1.0.0", 30 | "jquery": "^3.1.1", 31 | "jsonwebtoken": "7.1.9", 32 | "markdown-it": "7.0.1", 33 | "node-fetch": "1.6.0", 34 | "normalize.css": "4.2.0", 35 | "passport": "0.3.2", 36 | "passport-facebook": "2.1.1", 37 | "pretty-error": "2.0.0", 38 | "react": "15.3.1", 39 | "react-bootstrap": "^0.30.3", 40 | "react-chartjs": "^0.8.0", 41 | "react-dom": "15.3.1", 42 | "recharts": "^0.15.1", 43 | "sequelize": "3.24.1", 44 | "source-map-support": "0.4.2", 45 | "sqlite3": "3.1.4", 46 | "universal-router": "1.2.2", 47 | "whatwg-fetch": "1.0.0" 48 | }, 49 | "scripts": { 50 | "start": "node server.js" 51 | } 52 | } -------------------------------------------------------------------------------- /build/public/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/apple-touch-icon.png -------------------------------------------------------------------------------- /build/public/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /build/public/crossdomain.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /build/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/favicon.ico -------------------------------------------------------------------------------- /build/public/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /build/public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /build/public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /build/public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /build/public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /build/public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /build/public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /build/public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /build/public/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /build/public/humans.txt: -------------------------------------------------------------------------------- 1 | # humanstxt.org/ 2 | # The humans responsible & technology colophon 3 | 4 | # TEAM 5 | 6 | -- -- 7 | 8 | # THANKS 9 | 10 | 11 | 12 | # TECHNOLOGY COLOPHON 13 | 14 | CSS3, HTML5, JavaScript 15 | React, Flux, SuperAgent 16 | -------------------------------------------------------------------------------- /build/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/logo.png -------------------------------------------------------------------------------- /build/public/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org/ 2 | 3 | # Allow crawling of all content 4 | User-agent: * 5 | Disallow: 6 | -------------------------------------------------------------------------------- /build/public/tile-wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/tile-wide.png -------------------------------------------------------------------------------- /build/public/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/build/public/tile.png -------------------------------------------------------------------------------- /src/components/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/src/components/.DS_Store -------------------------------------------------------------------------------- /src/components/App/App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * React Starter Kit (https://www.reactstarterkit.com/) 3 | * 4 | * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. 5 | * 6 | * This source code is licensed under the MIT license found in the 7 | * LICENSE.txt file in the root directory of this source tree. 8 | */ 9 | 10 | import React, { Component, PropTypes } from 'react'; 11 | import emptyFunction from 'fbjs/lib/emptyFunction'; 12 | import s from './App.css'; 13 | import Header from '../Header'; 14 | // import Feedback from '../Feedback'; 15 | // import Footer from '../Footer'; 16 | 17 | class App extends Component { 18 | 19 | static propTypes = { 20 | context: PropTypes.shape({ 21 | insertCss: PropTypes.func, 22 | setTitle: PropTypes.func, 23 | setMeta: PropTypes.func, 24 | }), 25 | children: PropTypes.element.isRequired, 26 | error: PropTypes.object, 27 | }; 28 | 29 | static childContextTypes = { 30 | insertCss: PropTypes.func.isRequired, 31 | setTitle: PropTypes.func.isRequired, 32 | setMeta: PropTypes.func.isRequired, 33 | }; 34 | 35 | getChildContext() { 36 | const context = this.props.context; 37 | return { 38 | insertCss: context.insertCss || emptyFunction, 39 | setTitle: context.setTitle || emptyFunction, 40 | setMeta: context.setMeta || emptyFunction, 41 | }; 42 | } 43 | 44 | componentWillMount() { 45 | const { insertCss } = this.props.context; 46 | this.removeCss = insertCss(s); 47 | } 48 | 49 | componentWillUnmount() { 50 | 51 | this.removeCss(); 52 | } 53 | 54 | render() { 55 | // console.log('\n********\n', this.props, '\n********12334\n'); 56 | return this.props.children; 57 | } 58 | 59 | } 60 | 61 | export default App; 62 | -------------------------------------------------------------------------------- /src/components/App/App.test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * React Starter Kit (https://www.reactstarterkit.com/) 3 | * 4 | * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. 5 | * 6 | * This source code is licensed under the MIT license found in the 7 | * LICENSE.txt file in the root directory of this source tree. 8 | */ 9 | 10 | /* eslint-env mocha */ 11 | /* eslint-disable padded-blocks, no-unused-expressions */ 12 | 13 | import React from 'react'; 14 | import { expect } from 'chai'; 15 | import { shallow } from 'enzyme'; 16 | import App from './App'; 17 | 18 | describe('App', () => { 19 | 20 | it('renders children correctly', () => { 21 | const wrapper = shallow( 22 | {} }}> 23 |
24 | 25 | ); 26 | 27 | expect(wrapper.contains(
)).to.be.true; 28 | }); 29 | 30 | }); 31 | -------------------------------------------------------------------------------- /src/components/App/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "App", 3 | "version": "0.0.0", 4 | "private": true, 5 | "main": "./App.js" 6 | } 7 | -------------------------------------------------------------------------------- /src/components/Header/logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/src/components/Header/logo-small.png -------------------------------------------------------------------------------- /src/components/Header/logo-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/src/components/Header/logo-small@2x.png -------------------------------------------------------------------------------- /src/components/Header/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/start-react/sb-admin-react/e5a9c58780dece135372075fd87ab8ac62c0e7c6/src/components/Header/logo.png -------------------------------------------------------------------------------- /src/components/Header/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Header", 3 | "version": "0.0.0", 4 | "private": true, 5 | "main": "./Header.js" 6 | } 7 | -------------------------------------------------------------------------------- /src/components/Html.js: -------------------------------------------------------------------------------- 1 | import React, { PropTypes } from 'react'; 2 | import { analytics } from '../config'; 3 | 4 | function Html({ title, description, style, script, children }) { 5 | return ( 6 | 7 | 8 | 9 | 10 | {title} 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |