Skip to content

Commit

Permalink
ui: deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
dxstiny committed Jun 3, 2024
1 parent fbbb336 commit 23c6ff9
Show file tree
Hide file tree
Showing 17 changed files with 352 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:
- 80:80
volumes:
- ./nginx:/etc/nginx/conf.d:ro
- ./ui/dist:/var/www/html:ro
depends_on:
- stan
networks:
Expand Down
2 changes: 2 additions & 0 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ server {

server_name _;

root /var/www/html;

# api proxy
location /api {
auth_request /api/auth/me;
Expand Down
1 change: 0 additions & 1 deletion ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
coverage
*.local
Expand Down
1 change: 1 addition & 0 deletions ui/dist/assets/HomeView-CgXiBaxn.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import{_ as e,o,c as t,a as c}from"./index-BnolgutE.js";const n={},s=c("h1",null,"PR Toolkit",-1),a=[s];function _(r,l){return o(),t("main",null,a)}const d=e(n,[["render",_]]);export{d as default};
239 changes: 239 additions & 0 deletions ui/dist/assets/default-hat-B72TLDOC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions ui/dist/assets/index-BbvBLSp7.js

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions ui/dist/assets/index-BnolgutE.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ui/dist/assets/index-LVSzWPG3.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions ui/dist/assets/index-vJsV95CQ.css

Large diffs are not rendered by default.

Binary file added ui/dist/fonts/Ingra/Ingra-Bold.woff2
Binary file not shown.
Binary file added ui/dist/fonts/Ingra/Ingra-Regular.woff2
Binary file not shown.
21 changes: 21 additions & 0 deletions ui/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="icon"
href="/logo.png"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<title>STAIR Discord Bot</title>
<script type="module" crossorigin src="/assets/index-BnolgutE.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-vJsV95CQ.css">
</head>
<body>
<div id="app"></div>
</body>
</html>
Binary file added ui/dist/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions ui/dist/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/dist/logo_protected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ui/dist/logo_protected_inverted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions ui/src/views/AnnouncementView/Discord.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script setup lang="ts">
import { computed, watch, ref, type PropType, onMounted } from "vue";
import { useRoute, useRouter } from "vue-router";
import { api, ANNOUNCEMENT_TYPES, type IServer, type IAnnouncement } from "../../api";
import {
DiscordMarkdown,
Expand All @@ -9,8 +8,8 @@ import {
DiscordEmbedField,
DiscordMessage,
DiscordMessages,
// @ts-ignore
} from "@discord-message-components/vue";
import CardPicker from "@/components/CardPicker.vue";
const servers = ref<IServer[]>([]);
const server = ref<string>("");
Expand Down

0 comments on commit 23c6ff9

Please sign in to comment.