Skip to content

Commit eed3785

Browse files
authored
Feature/update links page v2 (#33)
* DONE: add links, fix broken timekeeping link, reorganize links, link to websites/new line for phone numbers, add descriptions & add icons. TODO: turn groups into drop downs with headers? * test commit to check connection to issue #29
1 parent 3c44819 commit eed3785

3 files changed

Lines changed: 66 additions & 31 deletions

File tree

src/components/LinkCard.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup>
2-
const props = defineProps(['href', 'icon', 'title', 'description'])
2+
const props = defineProps(['href', 'icon', 'title', 'description', 'phone'])
33
</script>
44

55
<template>
@@ -11,6 +11,7 @@ const props = defineProps(['href', 'icon', 'title', 'description'])
1111
<div class="flex-grow">
1212
<h4 class="font-bold">{{ props.title }}</h4>
1313
<p class="text-xs text-gray-500">{{ props.description }}</p>
14+
<p class="text-xs text-gray-500">{{ props.phone }}</p>
1415
</div>
1516
</a>
1617
</template>

src/utils/links.js

Lines changed: 63 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,82 @@ export default [[{
1111
title: 'GOLD',
1212
href: 'https://my.sa.ucsb.edu/gold/',
1313
description: 'Student Registration Services'
14-
}],
15-
[{
16-
title: 'Library Room',
17-
href: 'https://libcal.library.ucsb.edu/',
18-
description: 'Study Room Booking'
1914
}, {
15+
title: 'BARC',
16+
href: 'https://mybarc.ucsb.edu/SIWeb/login.jsp',
17+
description: 'Billing Information'
18+
}],
19+
[ {
2020
title: 'CLAS',
2121
href: 'https://myclas.sa.ucsb.edu/login.aspx?ReturnUrl=%2f',
2222
description: 'Learning Assistance',
2323
icon: '/icons/links/CLAS.png'
24+
}, {
25+
title: 'Library Room',
26+
href: 'https://libcal.library.ucsb.edu/spaces?lid=17859&gid=0',
27+
description: 'Study Room Booking'
28+
} , {
29+
title: 'Disabled Students (DSP)',
30+
icon: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS5sFLow2UaR_rlscTrUOE1DWolaKL3fIiIWTcsoJhJ7BMevUeGn2jzrcAT5pShvH7CEsk&usqp=CAU',
31+
description: 'Learning Accommodations',
32+
href: 'https://dsp.sa.ucsb.edu/services/'
33+
} , {
34+
title: 'Associated Students (AS)',
35+
description: 'Student Government',
36+
href: 'https://www.as.ucsb.edu/',
37+
icon: 'https://www.as.ucsb.edu/files/2022/04/logo2022-420px-72x72.png'
2438
}],
2539
[{
2640
title: 'Student Health',
41+
description: 'Campus Healthcare Services',
2742
href: 'https://sso.ucsb.edu/cas/login?service=https%3a%2f%2fmyhealth.ucsb.edu%2f',
2843
icon: '/icons/links/SH.png'
2944
}, {
30-
title: 'Disabled Students',
31-
href: 'https://dsp.sa.ucsb.edu/services/'
45+
title: 'Basic Needs',
46+
href: 'https://basicneeds.ucsb.edu/',
47+
icon: 'https://basicneeds.ucsb.edu/sites/default/files/2023-08/thrivelogowithbacund.gif',
48+
description: 'Essential Student Resources'
49+
}, {
50+
title: 'CAPS (24/7)',
51+
href: 'https://caps.sa.ucsb.edu/',
52+
description: 'Counseling & Psychological Services',
53+
phone: '(805) 893-4411',
54+
// href: 'tel:8058934411',
55+
icon: 'http://www.ucsbmhp.com/uploads/1/0/8/8/108877365/editor/caps-logo-color-fw_1.png'
3256
}],
3357
[{
34-
title: 'BARC',
35-
href: 'https://mybarc.ucsb.edu/SIWeb/login.jsp',
36-
description: 'Billing Information'
58+
title: 'UC Police',
59+
href: 'https://www.police.ucsb.edu/',
60+
icon: 'https://www.police.ucsb.edu/sites/default/files/UCPD_Badge-High-ResNoBackground.png',
61+
// href: 'tel:8058933446',
62+
phone: '(805) 893-3446'
3763
}, {
64+
title: 'CSO Escort',
65+
href: 'https://www.police.ucsb.edu/cso/cso-safety-escorts',
66+
icon: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQUkO2XdcKHxNQPLOmxSQ0cWiJ9Eap2Epx_Mg&s',
67+
description: 'Free Safety Campus Escort',
68+
phone: '(805) 893-2000'
69+
// href: 'tel:8058932000',
70+
}, {
71+
title: 'ICE Sighting Tracker',
72+
description: 'Daily Nexus',
73+
href: 'https://dailynexus.com/2025-07-04/daily-nexus-i-c-e-sighting-tracker/',
74+
icon: 'https://dailynexus.s3.us-west-1.amazonaws.com/dailynexus/wp-content/uploads/2015/10/cropped-new-logo-192x192.png'
75+
}],
76+
[ {
3877
title: 'Access Card',
3978
href: 'https://ucsb-sp.transactcampus.com/eaccounts/AccountSummary.aspx?menu=0',
4079
description: 'GauchoBuck & Meal Plan'
4180
}, {
42-
title: 'Kronos',
43-
href: 'https://logon.timekeeping.ucsb.edu/wfc/navigator/logon',
81+
title: 'Timekeeping',
82+
href: 'https://ucsb-sso.prd.mykronos.com/wfd/home',
4483
description: 'Electronic Working Timecard',
45-
icon: '/icons/links/Kronos.jpg'
46-
}],
47-
[{
84+
}, {
85+
title: 'ScholarshipUniverse',
86+
href: 'https://www.finaid.ucsb.edu/scholarships/scholarship-universe',
87+
description: 'UCSB Scholarship Tool'
88+
} ],
89+
[ {
4890
title: 'Gaucho Print',
4991
href: 'https://gauchoprint.ucsb.edu/user',
5092
icon: 'https://gauchoprint.ucsb.edu/images/icons3/favicon.ico'
@@ -53,21 +95,13 @@ export default [[{
5395
href: 'https://sso.services.box.net/sp/startSSO.ping?PartnerIdpId=urn:mace:incommon:ucsb.edu&TargetResource=https%3A%2F%2Fucsb.account.box.com%2Fsso%2Fping_federate%3Ffrom%3Dbox%26redirect_url%3D%252F',
5496
icon: '/icons/links/Box.png',
5597
description: 'Box Cloud Storage'
56-
}, {
57-
title: 'AS',
58-
href: 'https://www.as.ucsb.edu/',
59-
icon: 'https://www.as.ucsb.edu/files/2022/04/logo2022-420px-72x72.png'
6098
}],
6199
[{
62-
title: 'UC Police',
63-
href: 'tel:8058933446',
64-
description: '(805) 893-3446'
65-
}, {
66-
title: 'CSO Escort',
67-
href: 'tel:8058932000',
68-
description: '(805) 893-2000'
100+
title: 'UCSB Platinum',
101+
href: 'https://ucsbplat.com/',
102+
icon: 'https://ucsbplat.com/static/gaucho.png'
69103
}, {
70-
title: 'CAPS (24/7)',
71-
href: 'tel:8058934411',
72-
description: '(805) 893-4411'
104+
title: 'StorkeCentral',
105+
href: 'https://apps.apple.com/pl/app/storkecentral/id1594777645',
106+
icon: 'https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/e8/9f/22/e89f22bf-4dae-3373-f927-4121d971a97d/AppIcon-0-0-1x_U007emarketing-0-7-0-85-220.png/230x0w.webp'
73107
}]]

src/views/Link.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ log('web/link')
1414
<template v-for="c in links">
1515
<hr>
1616
<div class="my-4 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-5 gap-1 sm:gap-3">
17-
<LinkCard v-for="l in c" :title="l.title" :description="l.description" :icon="l.icon" :href="l.href" />
17+
<LinkCard v-for="l in c" :title="l.title" :description="l.description" :icon="l.icon" :href="l.href" :phone="l.phone" />
1818
</div>
1919
</template>
2020
</div>

0 commit comments

Comments
 (0)