Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed background and typos #542

Merged
merged 3 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 26 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ setInterval(() => {

setInterval(() => {
scheduleStore.refreshSchedule()
}, 1 * 60 * 1000) // 1 minute
}, 60 * 1000) // 1 minute

onMounted(() => {
window.addEventListener('keyup', (event) => {
Expand All @@ -37,6 +37,7 @@ onMounted(() => {

<template>
<template v-if="!disabled">
<div class="background" />
<Notification />
<AppHeader :is-fullscreen="isFullscreen" />
<main>
Expand All @@ -54,18 +55,38 @@ onMounted(() => {
body {
padding: 0;
margin: 0;
background-attachment: fixed;
background-color: $bg-color;
background-image: url('@/assets/img/stars.jpeg');
background-repeat: repeat;
cursor: url('assets/img/rocket.png'), auto;
font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.background {
position: fixed;
z-index: -1;
top: 0;
left: 0;
width: 100%;
min-width: 100vw;
height: 100%;
min-height: 100vh;
background-image: url('@/assets/img/stars_desktop.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;

@media (max-width: 900px) {
background-image: url('@/assets/img/stars_mobile.jpg');
}
}

a {
color: $highlight-color;
color: $links-color;
cursor: url('assets/img/rocket-fire.png'), auto;
text-decoration: none;

&:hover {
color: $links-color-hover;
}
}
</style>
Binary file added src/assets/img/stars_desktop.jpg
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 src/assets/img/stars_mobile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ const hideWifiConfig = ref(config.hideWifiConfig)
Sant Celoni or Maçanet-Massanes) from Terminal 2B (a free shuttle bus
from Terminal 1 to Terminal 2B departs every 5 minutes), but the train
only runs every 30 minutes. You will have to get down at
<b>Sants Estació</b> (3rd stop) and take the metro as explained below.
<b>Sants Estació</b> (3rd stop) and take the metro as explained in the
following section (By train).
</p>
<h3 class="travel__subtitle text-centered">Leaving</h3>
<p>
Expand Down
Loading