Skip to content

Commit 8482212

Browse files
authored
Merge pull request #299 from Web3-API/prealpha-dev
Prep 0.0.1-prealpha.20
2 parents 5317517 + 2df1bf1 commit 8482212

File tree

5 files changed

+23
-10
lines changed

5 files changed

+23
-10
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Web3API 0.0.1-prealpha.20
2+
## Bugs
3+
* Fix the `w3 create app react ...` template project's styling to be responsive.
4+
15
# Web3API 0.0.1-prealpha.19
26
## Features
37
* `@web3api/ipfs-plugin-js`: Added options for request timeouts, provider overrides, and fallback providers. Additionally a new method has been added, `resolve`, which allows the caller to try and resolve a given IFPS CID to ensure the document exists.

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1-prealpha.19
1+
0.0.1-prealpha.20

packages/templates/app/react/src/App.css

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.main {
22
display: flex;
3+
width: 100%;
34
flex-direction: column;
45
justify-content: center;
5-
height: 100vh;
66
align-items: center;
7+
position: relative;
8+
min-height: 100vh;
79
}
810

911
.main__logo {
@@ -12,10 +14,11 @@
1214
}
1315

1416
.main__heading {
15-
font-size: 45px;
17+
font-size: 2.25rem;
1618
margin-top: 2rem;
1719
font-weight: 700;
1820
margin-bottom: 20px;
21+
text-align: center;
1922
color: white;
2023
}
2124

@@ -39,7 +42,8 @@
3942
.main__input {
4043
font: inherit;
4144
color: #60c093;
42-
width: 40rem;
45+
width: 400px;
46+
max-width: 75%;
4347
border: 3px solid #529dad;
4448
height: 1.1876em;
4549
margin: 2.5rem 0;
@@ -85,10 +89,9 @@
8589
}
8690

8791
.footer__link {
88-
text-decoration: none;
8992
font-size: 12px;
9093
font-weight: 600;
91-
margin-top: 2rem;
94+
margin-top: 200px;
9295
margin-right: 20px;
9396
color: white;
9497
}

packages/templates/app/react/src/App.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ export const App: React.FC = () => {
2222
isClickToPauseDisabled={true}
2323
height={"300px"}
2424
width={"300px"}
25+
style={{
26+
width: "50%",
27+
height: "auto",
28+
maxWidth: "300px"
29+
}}
2530
/>
2631
<HelloWorld />
2732
</Web3ApiProvider>

packages/templates/app/react/src/HelloWorld.tsx

+5-4
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export const HelloWorld: React.FC = () => {
2727

2828
return (
2929
<>
30-
<div className="main__heading">"Hello World" from Web3API!</div>
30+
<div className="main__heading">"Hello World"<br/>from Web3API!</div>
3131
<div className="main__text">
32-
Try out the "Hello World" Web3API by:<br/>
32+
Test the "Hello World" Web3API by:<br/>
3333
1. type into the input below<br/>
3434
2. click the submit button<br/>
3535
3. view the output in <a
@@ -58,6 +58,7 @@ export const HelloWorld: React.FC = () => {
5858
Checkout Our Documentation
5959
</a>
6060
</div>
61+
<div style={{ width: "100%", height: "100px" }}/>
6162
<div className="footer__container">
6263
<a
6364
className="footer__link"
@@ -71,14 +72,14 @@ export const HelloWorld: React.FC = () => {
7172
href="https://app.ens.domains/name/helloworld.web3api.eth"
7273
target="_blank"
7374
>
74-
ENS Domain (mainnet)
75+
ENS Domain
7576
</a>
7677
<a
7778
className="footer__link"
7879
href="https://bafybeig7r7vm6vg7fkv4u57p6pj3t3a7li56zeiiu6nn7sx5lrlacy7lpi.ipfs.dweb.link/"
7980
target="_blank"
8081
>
81-
IPFS Payload
82+
IPFS Package
8283
</a>
8384
</div>
8485
</>

0 commit comments

Comments
 (0)