diff --git a/.eslintrc.js b/.eslintrc.js index 403ca3e..15cd681 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -22,10 +22,6 @@ module.exports = { "error", 4 ], - "quotes": [ - "error", - "single" - ], "semi": [ "error", "always" diff --git a/app/app.js b/app/app.js index a31614b..bc83130 100644 --- a/app/app.js +++ b/app/app.js @@ -3,13 +3,15 @@ import ReactDOM from 'react-dom'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import Wrapper from './Wrapper'; +import Home from './pages/Home/Home'; import Soundboard from './pages/Soundboard/Soundboard'; import NotFound from './pages/NotFound/NotFound'; ReactDOM.render( - + + diff --git a/app/components/Navbar/Navbar.component.js b/app/components/Navbar/Navbar.component.js index 14be98a..6d67912 100644 --- a/app/components/Navbar/Navbar.component.js +++ b/app/components/Navbar/Navbar.component.js @@ -8,8 +8,9 @@ export default class Navbar extends React.Component { render() { return (
-
Sound
Bot
- Soundboard +
Go Discord Bot
+ Home + Soundboard
); } diff --git a/app/components/Navbar/Navbar.scss b/app/components/Navbar/Navbar.scss index cf088b6..32a8a27 100644 --- a/app/components/Navbar/Navbar.scss +++ b/app/components/Navbar/Navbar.scss @@ -33,8 +33,7 @@ justify-content: center; text-align: center; color: $white; - transition: background-color 0.1s linear; - transition: color 0.1s linear; + transition: background-color 0.1s linear, color 0.2s linear; &:hover { background-color: $gray1; diff --git a/app/pages/Home/Home.js b/app/pages/Home/Home.js new file mode 100644 index 0000000..ab359e0 --- /dev/null +++ b/app/pages/Home/Home.js @@ -0,0 +1,26 @@ +import React from 'react'; + +import './Home.scss'; + +export default class Home extends React.Component { + render() { + return ( +
+
+
+ Go Discord Bot +
+

Drag and drop files to upload. Sounds can be played in discord by typing the commands on the next page.

+
+

Gif command now supported! Example: !gif awesome cat gifs

+
+

Check out the source code on + GitHub +