Skip to content

Commit

Permalink
Revert accidental commit
Browse files Browse the repository at this point in the history
This reverts commit 684b2fd.
  • Loading branch information
jagtalon committed Dec 19, 2024
1 parent 684b2fd commit 1dc6df0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 40 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ dist-xdc
.vscode/*
.idea
.DS_Store
*~
pnpm-lock.yaml
*~
32 changes: 1 addition & 31 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,10 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="webxdc.js"></script>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

body {
display: flex;
}

header {
width: 100%;
height: fit-content;
padding: 1rem;
text-align: center;
font-size: 1rem;
font-weight: bold;
}
</style>
</head>
<body>
<script type="module">
import { h, render } from 'preact';
import htm from 'htm';

const html = htm.bind(h);

function App (props) {
return html`<header>Split Bill</header>`;
}

render(html`<${App} />`, document.body);
window.webxdc.sendUpdate({ payload: "hello world!" }, "");
</script>
</body>
</html>
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@
"build": "vite build"
},
"devDependencies": {
"@webxdc/vite-plugins": "latest",
"@webxdc/webxdc-dev": "latest",
"concurrently": "latest",
"prettier": "latest",
"vite": "latest"
},
"dependencies": {
"htm": "^3.1.1",
"preact": "^10.25.3"
"vite": "latest",
"@webxdc/webxdc-dev": "latest",
"@webxdc/vite-plugins": "latest"
}
}

0 comments on commit 1dc6df0

Please sign in to comment.