-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74df7d8
commit 048986c
Showing
13 changed files
with
5,153 additions
and
12,924 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from "react"; | ||
import * as ReactDOM from "react-dom/client"; | ||
import App from "./lib/interface"; | ||
|
||
// A dependency graph that contains any wasm must all be imported asynchronously. | ||
import("./lib/galaxy").catch((e) => | ||
console.error("Error importing `main`:", e) | ||
); | ||
|
||
ReactDOM.createRoot(document.getElementById("root")).render(<App />); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from "react"; | ||
import "./styles.css"; | ||
|
||
function MyButton() { | ||
return <button type="button" className="btn btn-primary">"I'm a button"</button>; | ||
} | ||
|
||
export default function MyApp() { | ||
return ( | ||
<div> | ||
<h1>Welcome to my app</h1> | ||
<MyButton /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
font-family: sans-serif; | ||
margin: 20px; | ||
padding: 0; | ||
} | ||
|
||
h1 { | ||
margin-top: 0; | ||
font-size: 22px; | ||
} | ||
|
||
h2 { | ||
margin-top: 0; | ||
font-size: 20px; | ||
} | ||
|
||
h3 { | ||
margin-top: 0; | ||
font-size: 18px; | ||
} | ||
|
||
h4 { | ||
margin-top: 0; | ||
font-size: 16px; | ||
} | ||
|
||
h5 { | ||
margin-top: 0; | ||
font-size: 14px; | ||
} | ||
|
||
h6 { | ||
margin-top: 0; | ||
font-size: 12px; | ||
} | ||
|
||
code { | ||
font-size: 1.2em; | ||
} | ||
|
||
ul { | ||
padding-inline-start: 20px; | ||
} | ||
|
Oops, something went wrong.