mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-07-12 17:54:09 +00:00
Add docker-compose and MSI installer; fix paths
Add docker-compose.yml to run the website container (binds 127.0.0.1:3000 -> 80). Add BeamMP_Installer.msi to public/installer. Update src/views/Home.vue to use /landing-lq.jpg for the hero image (instead of /src/assets/landing-lq.jpg) and change the installer download link from BeamMP_Installer.zip to BeamMP_Installer.msi.
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
services:
|
||||||
|
website:
|
||||||
|
build:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
container_name: website
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:3000:80"
|
||||||
Binary file not shown.
+2
-2
@@ -20,7 +20,7 @@ const onlinePlayers = ref('...')
|
|||||||
const onlineServers = ref('...')
|
const onlineServers = ref('...')
|
||||||
const isLoading = ref(true)
|
const isLoading = ref(true)
|
||||||
const heroImageLoaded = ref(false)
|
const heroImageLoaded = ref(false)
|
||||||
const heroImageSrc = ref('/src/assets/landing-lq.jpg')
|
const heroImageSrc = ref('/landing-lq.jpg')
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
try {
|
try {
|
||||||
@@ -188,7 +188,7 @@ const faqs = computed(() => [
|
|||||||
<!-- CTA Buttons -->
|
<!-- CTA Buttons -->
|
||||||
<div class="flex flex-col sm:flex-row gap-4 justify-center items-center pt-4">
|
<div class="flex flex-col sm:flex-row gap-4 justify-center items-center pt-4">
|
||||||
<a
|
<a
|
||||||
href="/installer/BeamMP_Installer.zip"
|
href="/installer/BeamMP_Installer.msi"
|
||||||
download
|
download
|
||||||
class="group flex items-center gap-3 bg-linear-to-r from-beammp-orange to-red-600 hover:from-red-600 hover:to-beammp-orange px-8 py-4 rounded-lg font-semibold text-lg transition-all transform hover:scale-105 shadow-lg hover:shadow-beammp-orange/50 text-white"
|
class="group flex items-center gap-3 bg-linear-to-r from-beammp-orange to-red-600 hover:from-red-600 hover:to-beammp-orange px-8 py-4 rounded-lg font-semibold text-lg transition-all transform hover:scale-105 shadow-lg hover:shadow-beammp-orange/50 text-white"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user