Skip to content

Commit fac789c

Browse files
committed
Add frontend files to copy/paste during lecture
1 parent c9ebe8e commit fac789c

3 files changed

Lines changed: 78 additions & 0 deletions

File tree

frontend/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

frontend/public/index.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<link href="https://fonts.googleapis.com/css?family=Quicksand" rel="stylesheet">
5+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
6+
<title>Pychain</title>
7+
</head>
8+
<body>
9+
<div id="root"></div>
10+
</body>
11+
</html>

frontend/src/index.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
body {
2+
background-color: #444;
3+
color: #fff;
4+
text-align: center;
5+
font-size: 18px;
6+
font-family: 'Quicksand';
7+
padding-top: 5%;
8+
word-wrap: break-word;
9+
}
10+
11+
.logo {
12+
width: 250px;
13+
height: 250px;
14+
}
15+
16+
.App {
17+
display: flex;
18+
flex-direction: column;
19+
align-items: center;
20+
}
21+
22+
.WalletInfo {
23+
width: 500px;
24+
}
25+
26+
.Block {
27+
border: 1px solid #fff;
28+
padding: 10%;
29+
margin: 2%;
30+
}
31+
32+
.Transaction {
33+
padding: 5%;
34+
}
35+
36+
.Blockchain, .ConductTransaction, .TransactionPool {
37+
margin: 10%;
38+
margin-top: 5%;
39+
}
40+
41+
a, a:hover {
42+
color: #e66;
43+
text-decoration: underline;
44+
}

0 commit comments

Comments
 (0)