Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dhanyn10 committed Jan 15, 2019
1 parent 2fc0325 commit 9ef21e7
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 419 deletions.
1 change: 0 additions & 1 deletion src/App.js → src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
Helmet
} from 'react-helmet';

import Sidebar from './Sidebar.jsx';
import Komponen from './Komponen.jsx';

class App extends Component {
Expand Down
8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

Empty file removed src/Content.jsx
Empty file.
58 changes: 0 additions & 58 deletions src/Komponen.js

This file was deleted.

11 changes: 2 additions & 9 deletions src/Komponen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,19 @@ import {
Switch
} from 'react-router-dom';

import {
Container, Row, Col
} from 'reactstrap';

import Beranda from './halaman/Beranda.jsx';
import mIndex from './halaman/minini/Index.jsx';
import Navigasi from './Navigasi.jsx';

var minini = "minini";
class Komponen extends React.Component
{
render()
{
return(
<div>
<Navigasi/>
<Switch>
<Route exact path="/" component={Beranda}/>
</Switch>
<Switch>
<Route exact path={`${minini}/`} component={mIndex}/>
</Switch>
</div>
);
}
Expand Down
Empty file removed src/Navbar.jsx
Empty file.
112 changes: 0 additions & 112 deletions src/Navigasi.js

This file was deleted.

66 changes: 0 additions & 66 deletions src/Sidebar.js

This file was deleted.

29 changes: 0 additions & 29 deletions src/Sidebar.jsx

This file was deleted.

1 change: 0 additions & 1 deletion src/halaman/Beranda.js

This file was deleted.

44 changes: 1 addition & 43 deletions src/halaman/Beranda.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,60 +8,18 @@ import {
Row
} from 'reactstrap';

import Navigasi from '../Navigasi.jsx';
import Navigasi from '../komponen/Navigasi.jsx';
import './css/Beranda.css';
import 'bootstrap/dist/css/bootstrap.css';

class Beranda extends React.Component
{
componentWillMount() {
const script = document.createElement("script");
script.src = "//cdn.jsdelivr.net/github-cards/latest/widget.js";
document.body.appendChild(script);
}
render()
{
return(
<div>
<Navigasi/>
<Container fluid>
<Row>
<div className="col-lg-4">
<div
className="github-card"
data-github="dhanyn10"
data-width="400"
data-height="319"
data-theme="medium">
</div>
</div>
<div className="col-lg-8">
<Card className="border-secondary">
<CardHeader className="bg-secondary text-white">Minini Framework</CardHeader>
<CardBody>
Simple and small css framework, similar to miligram.css.
This framework pic color for elements from flatuicolors.com
<hr/>
<a className="btn btn-success btn-sm" target="_blank" href="https://github.com/dhanyn10/minini">Check to Github</a> | <a className="btn btn-outline-secondary btn-sm" target="_blank" href="">Test It</a>
</CardBody>
</Card>
<Card className="border-secondary">
<CardHeader className="bg-secondary text-white">Blogger Templates</CardHeader>
<CardBody>
Templates for blogspot blogger
<hr/>
<a className="btn btn-success btn-sm" target="_blank" href="https://github.com/dhanyn10/blogger-templates">Check to Github</a>
</CardBody>
</Card>
<Card className="border-secondary">
<CardHeader className="bg-secondary text-white">Simple chat SocketIO</CardHeader>
<CardBody>
Simpe example realtime chat web based application with SocketIO
<hr/>
<a className="btn btn-success btn-sm" target="_blank" href="https://github.com/dhanyn10/simple-chat-socketio">Check to Github</a> | <a className="btn btn-outline-secondary btn-sm" target="_blank" href="https://d-chat.herokuapp.com/">Test it</a>
</CardBody>
</Card>
</div>
</Row>
</Container>
</div>
Expand Down
Loading

0 comments on commit 9ef21e7

Please sign in to comment.