Skip to content

Commit

Permalink
demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed Feb 9, 2021
1 parent 2fc41f9 commit 1f378c2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/src/components/Dapp.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect } from 'react';
import { Route, BrowserRouter as Router } from 'react-router-dom';
import { Route, Link, BrowserRouter as Router } from 'react-router-dom';
// import DeckPreview from '../components/DeckPreview';
// import Loading from './Loading';
import "../css/main.css";
Expand Down Expand Up @@ -199,6 +199,7 @@ export function Dapp() {
<Route path="/new-creator/" component={() =>
<NewCreator connectedAddress={connectedAddress} poolFactory={poolFactory}/>
}></Route>
<Link className="demo-link" to="/creator/0x39a7baa3fcb68ad38377ea4ebb402296dd69d981">Visit demo page (must be on Kovan)</Link>
</Router>
</div>
);
Expand Down
7 changes: 7 additions & 0 deletions frontend/src/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/src/css/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions frontend/src/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ html{
// overflow-y: auto;
}

.demo-link {
position: absolute;
z-index: 5;
top: 30px;
color: black;
}

#tsparticles {
position: absolute;
width: 100%;
Expand Down

0 comments on commit 1f378c2

Please sign in to comment.