-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
80 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<template> | ||
<v-card> | ||
<v-card-title class="big-title"> | ||
Welcome to WIS2 in a box! | ||
</v-card-title> | ||
<v-card-item> | ||
At this page you can submit FM 12 SYNOP bulletin and monitor notifications from topics found in your wis2box. | ||
</v-card-item> | ||
<v-card-item v-html="homeContent"></v-card-item> | ||
</v-card> | ||
</template> | ||
|
||
<script setup> | ||
import { ref, onMounted } from 'vue'; | ||
const homeContent = ref('If you encounter any issues, please contact: <a href = "mailto: abc@example.com">abc@example.com</a>') | ||
if (import.meta.env.VITE_HOME_CONTENT_PATH != undefined) { | ||
onMounted(async () => { | ||
const response = await fetch(import.meta.env.VITE_HOME_CONTENT_PATH); | ||
if (response.ok) { | ||
homeContent.value = await response.text(); | ||
} | ||
}); | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.big-title { | ||
font-size: 1.4rem; | ||
font-weight: 700; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<template> | ||
<HomePage /> | ||
</template> | ||
|
||
<script setup> | ||
// | ||
import HomePage from '@/components/HomePage.vue' | ||
</script> |