Skip to content

Commit

Permalink
adds back alert modal for preview that student meal sites are coming …
Browse files Browse the repository at this point in the history
…soon
  • Loading branch information
ajrothwell committed Jun 10, 2024
1 parent 2035ef1 commit 5e35846
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/assets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.aml-even {
background-color: rgb(216, 216, 216)
}

.aml-odd {
background-color: rgb(240, 240, 240)
}
17 changes: 14 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ if (process.env.NODE_ENV === 'production') {
}
console.log('main.js process.env.NODE_ENV:', process.env.NODE_ENV, 'process.env.VUE_APP_PUBLICPATH:', process.env.VUE_APP_PUBLICPATH);

import './assets/style.css';

// Font Awesome Icons
import { library } from '@fortawesome/fontawesome-svg-core';
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons/faExclamationTriangle';
Expand Down Expand Up @@ -437,9 +439,18 @@ pinboard({
},
alerts: {
modal: {
enabled: false,
header: 'Fourth of July closures',
body: '<p>Most food and meal sites will be closed for the 4th of July. Please contact the site before you go to get the most up to date schedule.</p>',
enabled: true,
header: 'Student meal sites',
body: '<ul class="alert-modal-list">\
<li class="aml-odd">Starting on 6/17 use this app to find summer meals sites for youth.</li>\
<li class="aml-even">A partir del 17 de junio, utilice esta aplicación para encontrar sitios de comidas de verano para jóvenes.</li>\
<li class="aml-odd">从 6 月 17 日开始,使用此应用程序查找适合青少年的夏季聚餐网站.</li>\
<li class="aml-even">Bắt đầu từ ngày 6/17 sử dụng ứng dụng này để tìm các trang web bữa ăn mùa hè cho thanh thiếu niên.</li>\
<li class="aml-odd">Начиная с 17 июня используйте это приложение, чтобы найти сайты с летними блюдами для молодежи.</li>\
<li class="aml-even">À partir du 17 juin, utilisez cette application pour trouver des sites de repas d\'été pour les jeunes.</li>\
</ul>',
// header: 'Fourth of July closures',
// body: '<p>Most food and meal sites will be closed for the 4th of July. Please contact the site before you go to get the most up to date schedule.</p>',
// header: 'Student meal sites',
// body: '<ul><li>Effective September 3. Student ID is required.</li><li>To find additional food near you, text your zip code to <br>1 (800) 548-6479.</li></ul>',

Expand Down

0 comments on commit 5e35846

Please sign in to comment.