Skip to content

Commit 10a41d6

Browse files
committed
center button
1 parent b76d5a9 commit 10a41d6

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

src/pages/Home.tsx

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,44 +23,34 @@ const Home = () => {
2323
<h1 style={{ fontSize: "128px", color: "white", margin: 0 }}>
2424
Quantum Modeling
2525
</h1>
26-
<p>Quantum phenomena visualized & explained.</p>
26+
<p style={{fontSize: "28px"}}>Quantum phenomena visualized & explained.</p>
2727

2828
<Link
2929
to="/Tunneling"
3030
style={{
3131
textDecoration: "none",
3232
}}
3333
>
34-
<h2
35-
style={{
36-
color: "white",
37-
// padding: "0.25em 1em",
38-
// border: "2px solid white",
39-
// borderRadius: "3px",
40-
}}
41-
>
42-
43-
<button
34+
<button
4435
style={{
4536
backgroundColor: "white",
4637
borderRadius: "5px",
4738
borderStyle: "none",
4839
color: "navy",
4940
fontSize: "25px",
5041
padding: "10px",
51-
cursor: "pointer"
42+
cursor: "pointer",
43+
marginLeft: "20px",
44+
marginRight: "40px",
5245
}}
5346
> Start Modeling</button>
54-
55-
<div className="down-arrow"></div>
56-
57-
</h2>
5847
</Link>
48+
<div className="down-arrow"></div>
5949
</div>
6050
</div>
6151

6252
{/* Info */}
63-
<div style={{ margin: "5%" }}>
53+
<div style={{ padding: "25px" }}>
6454
<p>
6555
Welcome to the Quantum Computing Lab at the University of Florida! Our
6656
team works under Dr. Jing Guo in the Electrical Engineering Department
@@ -82,7 +72,7 @@ const Home = () => {
8272
<p>
8373
Our model generators and documentation to create your own models and
8474
more can be found{" "}
85-
<a href="https://github.com/imjoelrios/quantum_modeling_app">here</a>!
75+
<a href="https://github.com/uf-quantum-computing/quantum_modeling_app">here</a>!
8676
</p>
8777
</div>
8878
</div>

src/pages/Tunneling.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ const Tunneling = () => {
5959

6060
// ========= socket connection =========
6161
useEffect(() => {
62-
const socket = io(host, {
63-
transports: ['websocket']
64-
});
62+
const socket = io(host);
6563

6664
socket.on("connect", () => {
6765
console.log("Connected to server");

0 commit comments

Comments
 (0)