Skip to content

Commit

Permalink
make test file
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Mar 25, 2022
1 parent 4c67314 commit 97816ba
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cursor Chat Demo</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<div id="cursor-chat-layer">
<input type="text" id="cursor-chat-box">
</div>
<div id="app">
<h1>Cursor Chat</h1>
<p>A small library by <a href="https://twitter.com/_jzhao">@_jzhao</a> for digital co-existing + presence :)</p>
<p><a href="https://github.com/jackyzha0/cursor-chat">View Source</a></p>
</div>
<script src="./dist/cursor-chat.umd.js"></script>
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
</body>
<style>
#app {
font-family: Inter, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: absolute;
left: 0;
right: 0;
margin: 35vh auto;
height: 30vh;
width: 30vw;
}
</style>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>Cursor Chat</h1>
<p>A small library by <a href="https://twitter.com/_jzhao">@_jzhao</a> for digital co-existing + presence :)</p>
<p><a href="https://github.com/jackyzha0/cursor-chat">View Source</a></p>
</div>
<script type="module" src="/src/main.ts"></script>
<script type="module" src="./src/main.ts"></script>
</body>
<style>
#app {
Expand Down

0 comments on commit 97816ba

Please sign in to comment.