Skip to content

Commit

Permalink
Merge pull request #2 from LuBingtan/add-dashboard
Browse files Browse the repository at this point in the history
feat: Add simple dashboard
  • Loading branch information
kuilei-bot[bot] committed Jan 14, 2023
2 parents aa883af + bc3ddbb commit 0ba5479
Show file tree
Hide file tree
Showing 31 changed files with 4,964 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin/
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
test:
go test -v --race ./...
go test -v --race ./...

generate:
cd web/dashboard && \
npm run build
24 changes: 24 additions & 0 deletions web/dashboard/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
22 changes: 22 additions & 0 deletions web/dashboard/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="public/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Go-Probot</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

<style>
#root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
/* text-align: center; */
}
</style>
Loading

0 comments on commit 0ba5479

Please sign in to comment.