Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c2423c379 | |||
| 95e7bb895e | |||
| f5eedabc71 | |||
| 5d2b86d27e |
@@ -1 +0,0 @@
|
||||
frontend
|
||||
@@ -1,31 +0,0 @@
|
||||
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 }}
|
||||
@@ -1,30 +0,0 @@
|
||||
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,3 +102,30 @@ dist
|
||||
|
||||
# TernJS port file
|
||||
.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?
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# 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).
|
||||
@@ -0,0 +1,13 @@
|
||||
<!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>
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
export default {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<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>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,10 @@
|
||||
<script setup>
|
||||
import Navbar from '@/components/NavBar.vue'
|
||||
import Footer from '@/components/Footer.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Navbar />
|
||||
<router-view />
|
||||
<Footer />
|
||||
</template>
|
||||
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 4.0 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 207 B |
|
After Width: | Height: | Size: 280 B |
|
After Width: | Height: | Size: 122 B |
|
After Width: | Height: | Size: 339 B |
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 369 B |
|
After Width: | Height: | Size: 217 B |
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 239 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 448 B |
|
After Width: | Height: | Size: 104 B |
|
After Width: | Height: | Size: 312 B |
|
After Width: | Height: | Size: 166 B |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 167 B |
|
After Width: | Height: | Size: 235 B |
|
After Width: | Height: | Size: 179 B |
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 114 B |
|
After Width: | Height: | Size: 145 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 125 B |
|
After Width: | Height: | Size: 383 B |
|
After Width: | Height: | Size: 102 B |
|
After Width: | Height: | Size: 627 B |
|
After Width: | Height: | Size: 536 B |
|
After Width: | Height: | Size: 685 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 344 B |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 451 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 113 B |
|
After Width: | Height: | Size: 228 B |
|
After Width: | Height: | Size: 428 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 299 B |
|
After Width: | Height: | Size: 360 B |
|
After Width: | Height: | Size: 176 B |
|
After Width: | Height: | Size: 142 B |
|
After Width: | Height: | Size: 129 B |
|
After Width: | Height: | Size: 97 B |
|
After Width: | Height: | Size: 367 B |
|
After Width: | Height: | Size: 132 B |
|
After Width: | Height: | Size: 133 B |
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 101 B |
|
After Width: | Height: | Size: 223 B |
|
After Width: | Height: | Size: 258 B |
|
After Width: | Height: | Size: 208 B |
|
After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 373 B |
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 189 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 296 B |
|
After Width: | Height: | Size: 132 B |
|
After Width: | Height: | Size: 290 B |
|
After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 197 B |
|
After Width: | Height: | Size: 349 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 173 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 239 B |
|
After Width: | Height: | Size: 314 B |
|
After Width: | Height: | Size: 135 B |
|
After Width: | Height: | Size: 477 B |
|
After Width: | Height: | Size: 560 B |
|
After Width: | Height: | Size: 147 B |
|
After Width: | Height: | Size: 151 B |
|
After Width: | Height: | Size: 98 B |
|
After Width: | Height: | Size: 117 B |
|
After Width: | Height: | Size: 102 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 274 B |
|
After Width: | Height: | Size: 741 B |
|
After Width: | Height: | Size: 298 B |