Skip to content

Commit

Permalink
Fixed background and typos (#542)
Browse files Browse the repository at this point in the history
* more feedback

* more feedback

* more feedback
  • Loading branch information
carlotacb authored Apr 15, 2024
1 parent 341941b commit 179d3fd
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
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

0 comments on commit 179d3fd

Please sign in to comment.