Skip to content

Commit

Permalink
feat: add link to view schedule in StopPane component
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Nov 18, 2024
1 parent d953ff9 commit 6097065
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/stops/StopPane.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
{/if}
{#if arrivalsAndDepartures}
<a
href={`/stops/${stop.id}/schedule`}
class="mb-4 inline-block text-green-500 hover:underline"
target="_blank"
>
View Schedule
</a>
<div class="space-y-4">
<div>
<div class="flex flex-col gap-y-1 rounded-lg bg-[#1C1C1E] bg-opacity-80 p-4">
Expand Down

0 comments on commit 6097065

Please sign in to comment.