Skip to content

Commit

Permalink
New section: Meals v1 (#525)
Browse files Browse the repository at this point in the history
* remove live route

* cafeteria v1

* added hide variables

* meals v1 completed
  • Loading branch information
carlotacb authored Apr 14, 2024
1 parent b20eccd commit 48606e1
Show file tree
Hide file tree
Showing 11 changed files with 475 additions and 19 deletions.
Binary file added src/assets/img/meals/cocacola.png
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/meals/frit_ravich.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/assets/img/meals/incapto.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/assets/img/meals/nestle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/img/meals/nissin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ interface Config {
readonly disabled: boolean
readonly hideChallengesAndPrizes: boolean
readonly hideMission: boolean
readonly hideCafeteriaSchedule: boolean
readonly hideMeals: boolean
readonly hideWifiConfig: boolean
}

Expand All @@ -13,6 +15,8 @@ const config: Config = {
disabled: false,
hideChallengesAndPrizes: true,
hideMission: true,
hideCafeteriaSchedule: true,
hideMeals: true,
hideWifiConfig: true,
}

Expand Down
186 changes: 179 additions & 7 deletions src/data/meals.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,191 @@
export interface MealDescription {
readonly nameMeal: string
readonly ingredients: string
readonly isVegan?: boolean
readonly isVegetarian?: boolean
readonly isGlutenFree?: boolean
}
export interface Meals {
readonly title: string
readonly description: string
readonly provider?: string
readonly mealTitle?: string
readonly mealDescription: MealDescription[]
}

export const meals: Meals[] = [
{
title: 'Breakfast',
description: `We will provide you with a breakfast to start the day with energy.`,
title: "Friday's dinner",
provider: 'Bar de la FIB',
mealTitle: 'Warm Bocatas',
mealDescription: [
{
nameMeal: 'Croquetas',
ingredients: '',
},
{
nameMeal: 'Breaded chicken',
ingredients: '',
},
{
nameMeal: 'Bacon and cheese',
ingredients: '',
},
{
nameMeal: 'Hamburger and cheese',
ingredients: '',
},
{
nameMeal: 'Tortilla de patatas (spanish omelette)',
ingredients: '',
isVegetarian: true,
},
{
nameMeal: 'Vegan',
ingredients: '',
isVegan: true,
},
{
nameMeal: 'Hamburger and cheese - gluten free',
ingredients: '',
isGlutenFree: true,
},
],
},
{
title: 'Saturday Midnight snack',
mealTitle: 'Waffle or Crepe',
mealDescription: [
{
nameMeal: 'Waffle or Crepe',
ingredients: '',
},
{
nameMeal: 'Toppings',
ingredients: 'Chocolate, Strawberry, Whipped cream, Sugar',
},
],
},
{
title: 'Saturday Breakfast',
mealTitle: 'Cold bocatas and pasteries',
mealDescription: [
{
nameMeal: 'Bocatas',
ingredients:
'Fuet, Queso, Jamón York, Jamón Serrano, Tortilla de patatas',
},
{
nameMeal: 'Bolleria',
ingredients: 'Croissant de chocolate, Croissant de crema',
},
{
nameMeal: 'Zumos',
ingredients: 'Naranja, Piña',
},
],
},
{
title: 'Saturday Lunch',
provider: 'La bambina',
mealTitle: 'Paella',
mealDescription: [
{
nameMeal: 'Paella valenciana',
ingredients: '',
isGlutenFree: true,
},
{
nameMeal: 'Paella vegetariana',
ingredients: '',
isVegetarian: true,
isVegan: true,
isGlutenFree: true,
},
],
},
{
title: 'Saturday Afternoon snack',
provider: 'Pura fruta',
mealTitle: 'Ice cream time',
mealDescription: [
{
nameMeal: 'Chocolate',
ingredients: '',
isGlutenFree: true,
},
],
},
{
title: 'Saturday Dinner',
provider: 'Dominos',
mealTitle: 'Pizza time',
mealDescription: [
{
nameMeal: 'Gluten free pizza',
ingredients: 'Cheese, Tomato sauce, Ham',
isGlutenFree: true,
},
{
nameMeal: 'Campesina',
ingredients: '',
isVegetarian: true,
},
{
nameMeal: 'BBQ',
ingredients: '',
},
],
},
{
title: 'Sunday Midnight snack',
mealTitle: 'Make your own yogurt',
mealDescription: [
{
nameMeal: 'Yogurt',
ingredients: '',
isGlutenFree: true,
},
{
nameMeal: 'Vegetal Yogurt',
ingredients: '',
isVegetarian: true,
isVegan: true,
isGlutenFree: true,
},
{
nameMeal: 'Toppings',
ingredients: 'Chocolate, Strawberry, Whipped cream, Sugar',
},
],
},
{
title: 'Lunch',
description: `We will provide you with a lunch to keep you going through the day.`,
title: 'Sunday Breakfast',
mealTitle: 'Cold bocatas and pasteries',
mealDescription: [
{
nameMeal: 'Bocatas',
ingredients:
'Fuet, Queso, Jamón York, Jamón Serrano, Tortilla de patatas',
},
{
nameMeal: 'Bolleria',
ingredients: 'Croissant de chocolate, Croissant de crema',
},
{
nameMeal: 'Zumos',
ingredients: 'Naranja, Piña',
},
],
},
{
title: 'Dinner',
description: `We will provide you with a dinner to keep you going through the night.`,
title: 'Sunday Lunch',
provider: 'TBD',
mealTitle: 'TBD',
mealDescription: [
{
nameMeal: 'TBD',
ingredients: '',
},
],
},
]
4 changes: 2 additions & 2 deletions src/data/schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ export const schedule: RawSchedule = {
{
id: 'dinner2',
physicalLocation: {
text: 'Gym',
mapId: 'campus',
text: 'Meals zone',
mapId: 'indoors',
},
title: '🍕 Dinner',
start: '04/05/2024 20:00',
Expand Down
5 changes: 0 additions & 5 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ const routes: RouteRecordRaw[] = [
name: 'activities',
component: () => import('@/views/Activities.vue'),
},
{
path: '/live',
name: 'live',
component: () => import('@/components/LiveView.vue'),
},
{
path: '/fullscreen',
name: 'fullScreen',
Expand Down
1 change: 1 addition & 0 deletions src/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ $primary-color-light: #E3C3FF;
$links-color: #FF8886;
$links-color-hover: #FC5C5A;
$secondary-color: #E23532;
$secondary-color-light: #FF8886;
$secondary-light-color-intensity: 100;
$secondary-light-color: color.adjust($secondary-color, $red: $secondary-light-color-intensity, $green: $secondary-light-color-intensity, $blue: $secondary-light-color-intensity);
$secondary-text-color: #dadada;
Expand Down
Loading

0 comments on commit 48606e1

Please sign in to comment.