mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-02 03:25:53 +01:00
Deploy static to gh-pages
This commit is contained in:
parent
b18a0efe2c
commit
7d9cc2ac56
47
docs/index.html
Normal file
47
docs/index.html
Normal file
@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
<title>Excalidraw</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg-color: #eee;
|
||||
--text-color: black;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 4em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
--bg-color: #333;
|
||||
--text-color: white;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="title">
|
||||
excalidraw
|
||||
</h1>
|
||||
</body>
|
||||
</html>
|
@ -14,6 +14,7 @@
|
||||
"devDependencies": {
|
||||
"@types/react": "16.9.17",
|
||||
"@types/react-dom": "16.9.4",
|
||||
"gh-pages": "2.1.1",
|
||||
"husky": "3.1.0",
|
||||
"lint-staged": "9.5.0",
|
||||
"prettier": "1.19.1",
|
||||
@ -23,7 +24,8 @@
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test --env=jsdom",
|
||||
"eject": "react-scripts eject"
|
||||
"eject": "react-scripts eject",
|
||||
"deploy": "gh-pages -d docs"
|
||||
},
|
||||
"browserslist": [
|
||||
">0.2%",
|
||||
|
Loading…
Reference in New Issue
Block a user