File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script setup>
22import { get , log } from ' ../firebase.js'
3+ import { InformationCircleIcon } from ' @heroicons/vue/24/outline'
4+
35log (' web/waitz' )
46
57let data = $ref (undefined )
@@ -15,9 +17,19 @@ function getClass (c) {
1517
1618<template >
1719 <div class =" p-4 sm:p-10" >
20+ <div class =" flex items-center justify-between flex-wrap" >
21+ <div >
1822 <h1 class =" text-2xl" >Building Capacity</h1 >
1923 <p v-if =" !data" class =" text-sm text-gray-500" >Loading...</p >
2024 <p v-else class =" text-sm text-gray-500" >Data from waitz.io</p >
25+ </div >
26+ <a
27+ href =" https://recreation.ucsb.edu/facilities/livecount"
28+ target =" _blank"
29+ class =" cursor-pointer my-2 px-3 py-1 text-sm sm:text-base sm:px-4 sm:py-2 rounded-full border
30+ font-bold text-blue-500 bg-white flex items-center all-transition hover:shadow" >
31+ <InformationCircleIcon class="w-5 mr-1" /> Recreation Center Capacity </a >
32+ </div >
2133 <div class =" my-2 sm:my-4 p-4 sm:p-6 bg-white shadow rounded" v-for =" (l, name) in data" >
2234 <div class =" flex items-center flex-wrap" >
2335 <div class =" flex-grow" >
You can’t perform that action at this time.
0 commit comments