Skip to content

Commit d682760

Browse files
Lokesh rLokesh r
authored andcommitted
initial commit
1 parent 62fa062 commit d682760

33 files changed

+19146
-104
lines changed

index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import React, { Suspense } from 'react';
2-
import ReactDOM from 'react-dom';
3-
import Loader from 'uielements/loader/loader.component';
1+
import React, { Suspense } from "react";
2+
import ReactDOM from "react-dom";
3+
import Loader from "./src/components/loader/loader.component";
44

5-
const App = React.lazy(() => import('./src/app'));
5+
const App = React.lazy(() => import("./src/app"));
66

77
const Index = () => (
8-
<Suspense fallback={<Loader />}>
9-
<App />
10-
</Suspense>
8+
<Suspense fallback={<Loader />}>
9+
<App />
10+
</Suspense>
1111
);
1212

13-
ReactDOM.render(<Index />, document.getElementById('root'));
13+
ReactDOM.render(<Index />, document.getElementById("root"));

package-lock.json

Lines changed: 14455 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@
2828
"@babel/core": "^7.9.0",
2929
"@babel/preset-env": "^7.9.0",
3030
"@babel/preset-react": "^7.9.4",
31+
"@risingstack/react-easy-state": "^6.3.0",
32+
"animejs": "^3.2.0",
33+
"antd": "^4.2.4",
3134
"autoprefixer": "^9.7.6",
3235
"babel-loader": "^8.1.0",
36+
"dynamics.js": "^1.1.5",
37+
"kute.js": "^1.6.6",
3338
"postcss-cli": "^7.1.0",
3439
"prop-types": "^15.7.2",
3540
"react": "^16.13.1",

src/app.jsx

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
import React from 'react';
2-
import Button from 'uielements/button/button.component';
3-
import logo from './logo.png';
4-
import 'assets/css/main.css';
5-
import './app.scss';
1+
import React, { useEffect } from "react";
2+
import { store, autoEffect } from "@risingstack/react-easy-state";
3+
import "antd/dist/antd.css";
4+
import "assets/css/main.css";
5+
import "./app.scss";
6+
import Grid from "./components/layout/grid";
7+
import { appStore } from "./store";
8+
import animator from "./services/animator";
9+
10+
autoEffect(() => {
11+
animator(appStore.path);
12+
});
613

714
export default function App() {
8-
return (
9-
<div className="bg-blue-900 flex flex-col justify-center items-center p-20">
10-
<p className="text-4xl text-blue-100">Welcom To React Boilerplate!</p>
11-
<img src={logo} className="app--image" alt="logo" />
12-
<Button buttonText="Get Started!" />
13-
</div>
14-
);
15+
return <Grid />;
1516
}

src/app.scss

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1-
.app--image {
2-
height: 200px;
3-
animation: rotation 10s infinite linear;
4-
-webkit-animation:rotation 10s infinite linear;
1+
#blob {
2+
fill: #b33771;
3+
}
4+
5+
.ant-slider-step {
6+
background: rgba(179, 55, 113, 0.16);
7+
}
8+
9+
.ant-slider-handle {
10+
border: solid 3px #b33771;
11+
width: 24px;
12+
height: 24px;
13+
margin-top: -9px;
14+
&:focus,
15+
&.ant-tooltip-open {
16+
border-color: #6d214f;
17+
}
18+
}
19+
.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {
20+
border-color: #6d214f;
521
}

0 commit comments

Comments
 (0)