Skip to content

Commit 28cd20b

Browse files
committed
add new button Nutrition Facts
1 parent af73f53 commit 28cd20b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/views/Dining.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { watch } from 'vue'
33
import { get, log } from '../firebase.js'
44
import { cache } from '../model.js'
5-
import { CreditCardIcon, HeartIcon, VideoCameraIcon, ArrowRightCircleIcon, ArrowLeftCircleIcon } from '@heroicons/vue/24/outline'
5+
import { CreditCardIcon, HeartIcon, VideoCameraIcon, ArrowRightCircleIcon, ArrowLeftCircleIcon,InformationCircleIcon } from '@heroicons/vue/24/outline'
66
import Wrapper from '../components/Wrapper.vue'
77
log('web/dining')
88
@@ -60,9 +60,14 @@ function showCam () {
6060
{{ date || 'Loading' }}
6161
<ArrowRightCircleIcon v-if="date && !isNext" class="cursor-pointer w-5 mx-2" @click="isNext = true" />
6262
</p>
63-
<div class="flex items-center my-4 flex-wrap">
63+
<div class="flex gap-6">
64+
<div class="flex items-center flex-wrap">
6465
<a class="cursor-pointer my-1 px-3 py-1 text-sm sm:text-base sm:px-4 sm:py-2 rounded-full border font-bold text-blue-500 bg-white flex items-center all-transition hover:shadow" href="https://ucsb-sp.transactcampus.com/eaccounts/AccountSummary.aspx?menu=0"><CreditCardIcon class="w-5 mr-1" />Check Meal Plan</a>
6566
</div>
67+
<div class="flex items-center flex-wrap ml-auto">
68+
<a class="cursor-pointer my-1 px-3 py-1 text-sm sm:text-base sm:px-4 sm:py-2 rounded-full border font-bold text-blue-500 bg-white flex items-center all-transition hover:shadow" href="https://nutrition.info.dining.ucsb.edu/NetNutrition/1"><InformationCircleIcon class="w-5 mr-1" />Nutrition Facts</a>
69+
</div>
70+
</div>
6671
<div class="rounded shadow-md p-3 my-4 bg-white" v-if="Object.keys(data).length" :key="date">
6772
<h2 class="text-2xl flex items-center">
6873
Meals

0 commit comments

Comments
 (0)