Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fcf1d1f6f | |||
| 30eb6b96e0 | |||
| ebb7611a92 | |||
| 77c71a501f | |||
| c5988f94b0 | |||
| d1150ed84d | |||
| 5dfb7b79d7 | |||
| 19abd94069 | |||
| c0f96b35de | |||
| dedc16fb73 | |||
| f8d4478d35 | |||
| 738721119e | |||
| b8a5db6d48 | |||
| cc48fe2ffc | |||
| a307a3cd9f | |||
| 9a2a10499d | |||
| 3daa559a67 | |||
| e459538f18 | |||
| 0065093ca3 | |||
| 391f634d65 | |||
| 838a33b4d5 | |||
| 647ab8bda9 | |||
| 8b37e854d8 | |||
| 23ec17460e |
@@ -0,0 +1 @@
|
|||||||
|
frontend
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
name: Build Docker image and push to release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
# Sequence of patterns matched against refs/tags
|
||||||
|
tags:
|
||||||
|
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
-
|
||||||
|
name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
-
|
||||||
|
name: Login to Docker Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ secrets.REGISTRY_URL }}
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
-
|
||||||
|
name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: registry.beammp.com/beammp/website:${{ github.ref_name }}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
name: Build Docker image and push to staging
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "dev"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
-
|
||||||
|
name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
-
|
||||||
|
name: Login to Docker Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ secrets.REGISTRY_URL }}
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
-
|
||||||
|
name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: registry.beammp.com/beammp/website:staging
|
||||||
@@ -102,30 +102,3 @@ dist
|
|||||||
|
|
||||||
# TernJS port file
|
# TernJS port file
|
||||||
.tern-port
|
.tern-port
|
||||||
*.exe
|
|
||||||
*.zip
|
|
||||||
|
|
||||||
# Logs
|
|
||||||
frontend/logs
|
|
||||||
frontend/*.log
|
|
||||||
frontend/npm-debug.log*
|
|
||||||
frontend/yarn-debug.log*
|
|
||||||
frontend/yarn-error.log*
|
|
||||||
frontend/pnpm-debug.log*
|
|
||||||
frontend/lerna-debug.log*
|
|
||||||
|
|
||||||
frontend/node_modules
|
|
||||||
frontend/dist
|
|
||||||
frontend/dist-ssr
|
|
||||||
frontend/*.local
|
|
||||||
|
|
||||||
# Editor directories and files
|
|
||||||
frontend/.vscode/*
|
|
||||||
frontend/!.vscode/extensions.json
|
|
||||||
frontend/.idea
|
|
||||||
frontend/.DS_Store
|
|
||||||
frontend/*.suo
|
|
||||||
frontend/*.ntvs*
|
|
||||||
frontend/*.njsproj
|
|
||||||
frontend/*.sln
|
|
||||||
frontend/*.sw?
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# Vue 3 + Vite
|
|
||||||
|
|
||||||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
||||||
|
|
||||||
## Recommended IDE Setup
|
|
||||||
|
|
||||||
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<title>BeamMP</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="app"></div>
|
|
||||||
<script type="module" src="/src/main.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "beammp-website-frontend",
|
|
||||||
"private": true,
|
|
||||||
"version": "0.0.0",
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
|
||||||
"dev": "vite",
|
|
||||||
"build": "vite build",
|
|
||||||
"preview": "vite preview"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@headlessui/vue": "^1.7.16",
|
|
||||||
"@heroicons/vue": "^2.0.18",
|
|
||||||
"@statnett/vue-plotly": "^0.3.2",
|
|
||||||
"axios": "^1.6.2",
|
|
||||||
"plotly.js": "^2.27.1",
|
|
||||||
"plotly.js-dist": "^2.27.1",
|
|
||||||
"plotly.js-dist-min": "^2.27.1",
|
|
||||||
"uuid": "^9.0.1",
|
|
||||||
"vue": "^3.3.8",
|
|
||||||
"vue-router": "^4.2.5"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@vitejs/plugin-vue": "^4.5.0",
|
|
||||||
"autoprefixer": "^10.4.16",
|
|
||||||
"postcss": "^8.4.32",
|
|
||||||
"tailwindcss": "^3.3.6",
|
|
||||||
"vite": "^5.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
export default {
|
|
||||||
plugins: {
|
|
||||||
tailwindcss: {},
|
|
||||||
autoprefixer: {},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1,10 +0,0 @@
|
|||||||
<script setup>
|
|
||||||
import Navbar from '@/components/NavBar.vue'
|
|
||||||
import Footer from '@/components/Footer.vue'
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<Navbar />
|
|
||||||
<router-view />
|
|
||||||
<Footer />
|
|
||||||
</template>
|
|
||||||
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 280 B |
|
Before Width: | Height: | Size: 122 B |
|
Before Width: | Height: | Size: 339 B |
|
Before Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 369 B |
|
Before Width: | Height: | Size: 217 B |
|
Before Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 235 B |
|
Before Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 162 B |
|
Before Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 104 B |
|
Before Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 167 B |
|
Before Width: | Height: | Size: 235 B |
|
Before Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 190 B |
|
Before Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 145 B |
|
Before Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 125 B |
|
Before Width: | Height: | Size: 383 B |
|
Before Width: | Height: | Size: 102 B |
|
Before Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 536 B |
|
Before Width: | Height: | Size: 685 B |
|
Before Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 352 B |
|
Before Width: | Height: | Size: 344 B |
|
Before Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 152 B |
|
Before Width: | Height: | Size: 113 B |
|
Before Width: | Height: | Size: 228 B |
|
Before Width: | Height: | Size: 428 B |
|
Before Width: | Height: | Size: 249 B |
|
Before Width: | Height: | Size: 299 B |
|
Before Width: | Height: | Size: 360 B |
|
Before Width: | Height: | Size: 176 B |
|
Before Width: | Height: | Size: 142 B |
|
Before Width: | Height: | Size: 129 B |
|
Before Width: | Height: | Size: 97 B |
|
Before Width: | Height: | Size: 367 B |
|
Before Width: | Height: | Size: 132 B |
|
Before Width: | Height: | Size: 133 B |
|
Before Width: | Height: | Size: 144 B |
|
Before Width: | Height: | Size: 101 B |
|
Before Width: | Height: | Size: 223 B |
|
Before Width: | Height: | Size: 258 B |
|
Before Width: | Height: | Size: 208 B |
|
Before Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 189 B |
|
Before Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 296 B |
|
Before Width: | Height: | Size: 132 B |
|
Before Width: | Height: | Size: 290 B |
|
Before Width: | Height: | Size: 165 B |
|
Before Width: | Height: | Size: 197 B |
|
Before Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 284 B |
|
Before Width: | Height: | Size: 304 B |
|
Before Width: | Height: | Size: 239 B |
|
Before Width: | Height: | Size: 314 B |
|
Before Width: | Height: | Size: 135 B |
|
Before Width: | Height: | Size: 477 B |
|
Before Width: | Height: | Size: 560 B |
|
Before Width: | Height: | Size: 147 B |
|
Before Width: | Height: | Size: 151 B |
|
Before Width: | Height: | Size: 98 B |
|
Before Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 102 B |
|
Before Width: | Height: | Size: 304 B |
|
Before Width: | Height: | Size: 274 B |
|
Before Width: | Height: | Size: 741 B |
|
Before Width: | Height: | Size: 298 B |