Include app/web/dist in repository

- Remove app/web/dist/** from .gitignore
- Add built web assets to repository for deployment
- Includes bundle.css, bundle.js, index.html and other static assets
This commit is contained in:
2025-10-16 11:41:57 +01:00
parent a84782bd52
commit 1cfd4a6dbe
8 changed files with 182 additions and 1 deletions

1
.gitignore vendored
View File

@@ -118,5 +118,4 @@ pkg/database/testrealy
/.idea/.name
/ctxproxy.config.yml
cmd/benchmark/external/**
app/web/dist/**
private*

72
app/web/dist/bundle.css vendored Normal file

File diff suppressed because one or more lines are too long

23
app/web/dist/bundle.js vendored Normal file

File diff suppressed because one or more lines are too long

1
app/web/dist/bundle.js.map vendored Normal file

File diff suppressed because one or more lines are too long

BIN
app/web/dist/favicon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

69
app/web/dist/global.css vendored Normal file
View File

@@ -0,0 +1,69 @@
html,
body {
position: relative;
width: 100%;
height: 100%;
}
body {
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
Cantarell, "Helvetica Neue", sans-serif;
}
a {
color: rgb(0, 100, 200);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: rgb(0, 80, 160);
}
label {
display: block;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
-webkit-padding: 0.4em 0;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
}
input:disabled {
color: #ccc;
}
button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled {
color: #999;
}
button:not(:disabled):active {
background-color: #ddd;
}
button:focus {
border-color: #666;
}

17
app/web/dist/index.html vendored Normal file
View File

@@ -0,0 +1,17 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>ORLY?</title>
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="stylesheet" href="/global.css" />
<link rel="stylesheet" href="/bundle.css" />
<script defer src="/bundle.js"></script>
</head>
<body></body>
</html>

BIN
app/web/dist/orly.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB