Skip to content

Commit 394c807

Browse files
dploegerDennis Ploeger
authored andcommitted
feat: Rewrote the CCC web client
1 parent 62064c3 commit 394c807

55 files changed

Lines changed: 2692 additions & 25333 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/logo.png

20 KB
Loading

assets/logo.svg

Lines changed: 23 additions & 0 deletions
Loading

build/Dockerfile.prefix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM node:lts-slim as cccClientBuild
22

33
WORKDIR /build
4-
COPY ccc/client /build
4+
COPY ccc-client /build
55
RUN npm config set update-notifier false
66
RUN npm install
7-
RUN npm run-script build
7+
RUN npm run-script build -- --base=/client/
88

99
FROM golang:1.19 AS cccBuild
1010

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
> 1%
22
last 2 versions
33
not dead
4+
not ie 11

ccc-client/.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[*.{js,jsx,ts,tsx,vue}]
2+
indent_style = space
3+
indent_size = 2
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
node_modules
33
/dist
44

5-
/tests/e2e/videos/
6-
/tests/e2e/screenshots/
7-
85

96
# local env files
107
.env.local
@@ -24,6 +21,3 @@ pnpm-debug.log*
2421
*.njsproj
2522
*.sln
2623
*.sw?
27-
28-
src/**/*.js
29-
src/**/*.js.map

ccc-client/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# default
2+
3+
## Project setup
4+
5+
```
6+
# yarn
7+
yarn
8+
9+
# npm
10+
npm install
11+
12+
# pnpm
13+
pnpm install
14+
15+
# bun
16+
bun install
17+
```
18+
19+
### Compiles and hot-reloads for development
20+
21+
```
22+
# yarn
23+
yarn dev
24+
25+
# npm
26+
npm run dev
27+
28+
# pnpm
29+
pnpm dev
30+
31+
# bun
32+
bun run dev
33+
```
34+
35+
### Compiles and minifies for production
36+
37+
```
38+
# yarn
39+
yarn build
40+
41+
# npm
42+
npm run build
43+
44+
# pnpm
45+
pnpm build
46+
47+
# bun
48+
bun run build
49+
```
50+
51+
### Customize configuration
52+
53+
See [Configuration Reference](https://vitejs.dev/config/).

ccc-client/index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
7+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
8+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
9+
<link rel="manifest" href="/site.webmanifest">
10+
<meta name="msapplication-TileColor" content="#da532c">
11+
<meta name="theme-color" content="#ffffff">
12+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
13+
<title>CloudControl</title>
14+
</head>
15+
16+
<body>
17+
<div id="app"></div>
18+
<script type="module" src="/src/main.ts"></script>
19+
</body>
20+
21+
</html>

0 commit comments

Comments
 (0)