Skip to content

Commit 39c5726

Browse files
authored
Add files via upload
1 parent a7650e8 commit 39c5726

15 files changed

+998
-0
lines changed

Diff for: frontend/package.json

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "hostify",
3+
"version": "0.2.0",
4+
"dependencies": {
5+
"@testing-library/jest-dom": "^5.15.0",
6+
"@testing-library/react": "^14.0.0",
7+
"@testing-library/user-event": "^13.5.0",
8+
"bootstrap": "^5.1.3",
9+
"jquery": "^3.6.0",
10+
"mdbreact": "^5.2.0",
11+
"popper.js": "^2.10.2",
12+
"react": "^18.2.0",
13+
"react-bootstrap": "^2.0.0-beta.6",
14+
"react-dom": "^18.0.0",
15+
"react-icons": "^4.3.1",
16+
"react-scripts": "^5.0.0",
17+
"web3": "^1.5.2"
18+
},
19+
"scripts": {
20+
"start": "react-scripts start",
21+
"build": "react-scripts build",
22+
"test": "react-scripts test",
23+
"lint": "eslint .",
24+
"prettier": "prettier --write .",
25+
"format": "npm run prettier && npm run lint -- --fix"
26+
},
27+
"eslintConfig": {
28+
"extends": [
29+
"react-app",
30+
"plugin:prettier/recommended"
31+
]
32+
},
33+
"browserslist": {
34+
"production": [
35+
"defaults"
36+
],
37+
"development": [
38+
"last 1 chrome version",
39+
"last 1 firefox version",
40+
"last 1 safari version"
41+
]
42+
}
43+
}

Diff for: frontend/public/favicon.ico

3.08 KB
Binary file not shown.

Diff for: frontend/public/index.html

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta
9+
name="description"
10+
content="Web site created using create-react-app"
11+
/>
12+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13+
<!--
14+
manifest.json provides metadata used when your web app is installed on a
15+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16+
-->
17+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18+
<!--
19+
Notice the use of %PUBLIC_URL% in the tags above.
20+
It will be replaced with the URL of the `public` folder during the build.
21+
Only files inside the `public` folder can be referenced from the HTML.
22+
23+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24+
work correctly both with client-side routing and a non-root public URL.
25+
Learn how to configure a non-root public URL by running `npm run build`.
26+
-->
27+
<title>React App</title>
28+
</head>
29+
<body>
30+
<noscript>You need to enable JavaScript to run this app.</noscript>
31+
<div id="root"></div>
32+
<!--
33+
This HTML file is a template.
34+
If you open it directly in the browser, you will see an empty page.
35+
36+
You can add webfonts, meta tags, or analytics to this file.
37+
The build step will place the bundled scripts into the <body> tag.
38+
39+
To begin the development, run `npm start` or `yarn start`.
40+
To create a production bundle, use `npm run build` or `yarn build`.
41+
-->
42+
</body>
43+
</html>

Diff for: frontend/public/logo192.png

5.22 KB
Loading

Diff for: frontend/public/logo512.png

9.44 KB
Loading

Diff for: frontend/public/manifest.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}

Diff for: frontend/public/robots.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:

Diff for: frontend/src/App.css

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
.App {
2+
text-align: left;
3+
background-color:rgb(255, 249, 240);
4+
border-radius: 10px;
5+
/* padding-bottom: 100px;
6+
margin-bottom: 40px; */
7+
}
8+
9+
.App-logo {
10+
height: 40vmin;
11+
pointer-events: none;
12+
}
13+
14+
@media (prefers-reduced-motion: no-preference) {
15+
.App-logo {
16+
animation: App-logo-spin infinite 20s linear;
17+
}
18+
}
19+
#content{
20+
/* text-align: center; */
21+
padding-top:25%;
22+
color: white;
23+
}
24+
h1{
25+
color: black;
26+
}
27+
h2{
28+
29+
font-weight: 700 !important;
30+
text-align: center;
31+
margin-top: 20px !important;
32+
margin-bottom: 0px !important ;
33+
}
34+
p{
35+
margin-bottom: 0.2rem !important;
36+
}
37+
38+
.App-header {
39+
background-color: #282c34;
40+
min-height: 100vh;
41+
display: flex;
42+
flex-direction: column;
43+
/* align-items: center; */
44+
/* justify-content: center; */
45+
font-size: calc(10px + 2vmin);
46+
color: white;
47+
}
48+
49+
.App-link {
50+
color: #61dafb;
51+
}
52+
body{
53+
margin-left : 100px;
54+
/* background: url("https://images.unsplash.com/photo-1587613865763-4b8b0d19e8ab?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=750&q=80"); */
55+
/* background-size: cover;
56+
background-position: center; */
57+
/* background-repeat: repeat; */
58+
font-family: Lato;
59+
}
60+
@keyframes App-logo-spin {
61+
from {
62+
transform: rotate(0deg);
63+
}
64+
to {
65+
transform: rotate(360deg);
66+
}
67+
}
68+
.form-group{
69+
/* width: 100%; */
70+
margin-top: 10px;
71+
/* margin-left: 500px; */
72+
color:rgb(34, 34, 34);
73+
}
74+
75+
76+
.btn-dark{
77+
margin-left:0 !important;
78+
}
79+
80+
.btn {
81+
width: 50%;
82+
}
83+
84+
.btn-primary {
85+
width: inherit;
86+
}
87+
88+
.b{
89+
margin-top: 10px ;
90+
margin-bottom: 20px;
91+
color:black;
92+
}
93+
94+
#learn-more{
95+
margin-top: 0.6rem;
96+
}
97+
98+
.btn-flat {
99+
width: inherit;
100+
background-color: #fb9902!important;
101+
color: white !important;
102+
}

0 commit comments

Comments
 (0)