Skip to content

Commit ae6d100

Browse files
committed
ui sett 2.0
1 parent 01c126d commit ae6d100

File tree

4 files changed

+42
-17
lines changed

4 files changed

+42
-17
lines changed

public/index.html

+1-6
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@
1414
<title>Hox</title>
1515
</head>
1616
<body style="
17-
background-image: url('https://wallpaperaccess.com/full/4785394.jpg');
18-
background-size: cover;
19-
20-
background-position: center;
21-
22-
background-repeat: no-repeat;
17+
2318
2419
2520
" >

src/components/Main.css

+26-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
}
55

66
input{
7-
margin-bottom: 20px;
7+
width: 120px;
8+
89

910
}
1011
input[type=text]{
1112
width: 100%;
12-
padding: 12px 20px;
13-
margin: 8px 0;
13+
14+
1415
box-sizing: border-box;
1516
border: none;
1617
background-color: #f1f1f1;
@@ -21,6 +22,25 @@ input[type=text]:focus{
2122

2223

2324
}
24-
td{
25-
color: white;
26-
}
25+
td,a{
26+
color: black !important;
27+
}
28+
29+
.onelinee{
30+
display: inline-block;
31+
padding-right: 5px;
32+
width: 100px;
33+
34+
35+
}
36+
.onelinee button{
37+
38+
39+
font-size: 12px;
40+
41+
}
42+
43+
.h2ahne{
44+
font-size: 122px !important;
45+
font-weight: bold;
46+
}

src/components/Main.js

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import React, { Component } from 'react';
22
import { convertBytes } from './helpers';
33
import moment from 'moment'
4+
import { Card, Grid } from '@geist-ui/react';
5+
import { Spacer } from '@geist-ui/react';
6+
import { Input } from '@geist-ui/react';
7+
import { Text, Link, Image, Button,Textarea } from '@geist-ui/react';
8+
49

510
import './Main.css';
611

@@ -15,7 +20,7 @@ class Main extends Component {
1520
<div className="content">
1621
<p>&nbsp;</p>
1722
<div className="card mb-3 mx-auto " id="onee" style={{ maxWidth: '512px'}} >
18-
<h2 className="text-black text-monospace" ><b><span style={{color:'red'}}>Hox</span> <span style={{color:'rd'}}>it</span> <span style={{color:' '}}>today!</span></b></h2>
23+
<h2 className="h2ahne" className="text-black text-monospace" ><b><span style={{color:'red', fontSize:55}}>Hox</span> <span style={{color:'rd'}}>it</span> <span style={{color:' '}}>today!</span></b></h2>
1924
<br></br>
2025
<form onSubmit={(event) => {
2126
event.preventDefault()
@@ -33,14 +38,19 @@ class Main extends Component {
3338
placeholder="description..."
3439
required />
3540
</div>
36-
<input type="file" onChange={this.props.captureFile} className="text-white text-monospace"/>
37-
<button type="submit" style={{ color: "grey", background: "black"}} className="btn-primary btn-block"><b>Upload!</b></button>
41+
<div class="onelinee" > <input type="file" onChange={this.props.captureFile} className="btn btn-grey"/> </div>
42+
43+
<div class="onelinee" > <button type="submit" style={{ color: "white", background: "black"}} className="btn btn-dark"><b>Upload!</b></button>
44+
</div>
45+
46+
47+
3848

3949

4050
</form>
4151
</div>
4252
<p>&nbsp;</p>
43-
<table className="table-sm table-bordered text-monospace" style={{ width: '1000px', maxHeight: '450px'}}>
53+
<table className="table table-striped table-hover" style={{ width: '1000px', maxHeight: '450px'}}>
4454
<thead style={{ 'fontSize': '15px' }}>
4555
<tr className="bg-dark text-white">
4656

src/components/Navbar.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nav,a{
1+
nav a{
22

33
color: #eceff4 !important;
44

0 commit comments

Comments
 (0)