File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 "svelte-multiselect" : " ^11.0.0-rc.1" ,
4545 "svelte-range-slider-pips" : " ^3.2.2"
4646 }
47- }
47+ }
Original file line number Diff line number Diff line change 223223 </div >
224224
225225 <!-- TypeFilter-->
226- <div class =" absolute top-0 right-0 z-10 mr-4" >
226+ <div class =" absolute top-0 right-0 z-10 mr-4 w-48 md:w-64 lg:w-80 xl:w-96 " >
227227 <TypeFilter bind:selectedVenueTypes />
228228 </div >
229229
Original file line number Diff line number Diff line change 1919 });
2020 </script >
2121
22- <div class =" card bg-base-100 z-100 m-1 w-full shadow sm:m-2 md:max-w-sm " >
22+ <div class =" card bg-base-100 z-100 m-1 w-full max-w-sm shadow sm:m-2" >
2323 <div class =" card-body p-2 sm:p-4 md:p-6" >
2424 <h2 class =" card-title text-xs sm:text-sm md:text-lg" >Filter</h2 >
2525 <p class =" text-xs sm:text-sm md:text-base" >Filter by venue type</p >
Original file line number Diff line number Diff line change 3535 <p class ="text-base-content/80 text-sm" >{dataset .description }</p >
3636
3737 {#if dataset .citation }
38- <div class =" text-base-content/70 mt-2 text-xs" >
38+ <div class =" mt-3 w-full self-start text-xs" >
3939 <p class =" font-semibold" >Citation:</p >
4040 <div class =" flex items-center gap-1" >
4141 <p class ="flex-grow italic" >{dataset .citation }</p >
5757 </div >
5858 {/if }
5959
60- <div class =" card-actions mt-4 justify-end" >
61- {#if dataset .url }
60+ <div class =" card-actions mt-4 flex items-end justify-between" >
61+ <div class =" text-base-content/60 text-xs" >
62+ {#if dataset .dateModified }
63+ Last modified: {new Date (dataset .dateModified ).toLocaleDateString (' en-US' , {
64+ year: ' numeric' ,
65+ month: ' short' ,
66+ day: ' numeric'
67+ })}
68+ {/if }
69+ </div >
70+
71+ <div class =" flex gap-2" >
6272 <a
63- href ={dataset . url }
73+ href ={dataset [ ' @id ' ] }
6474 target =" _blank"
6575 rel =" noopener noreferrer"
6676 class =" btn btn-sm btn-outline"
6777 >
68- Website
69- <ExternalLink class =" h-4 w-4" />
78+ JSON-LD Data
79+ <Download class =" h-4 w-4" />
7080 </a >
71- {/if }
72- <a
73- href ={dataset [' @id' ]}
74- target =" _blank"
75- rel =" noopener noreferrer"
76- class =" btn btn-sm btn-primary"
77- >
78- JSON Data
79- <Download class =" h-4 w-4" />
80- </a >
81+ {#if dataset .url }
82+ <a
83+ href ={dataset .url }
84+ target =" _blank"
85+ rel =" noopener noreferrer"
86+ class =" btn btn-sm btn-primary"
87+ >
88+ Website
89+ <ExternalLink class =" h-4 w-4" />
90+ </a >
91+ {/if }
92+ </div >
8193 </div >
8294 </div >
8395 </div >
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ type DataCatalog = {
1616 encodingFormat : string ;
1717 contentUrl : string ;
1818 } ;
19+ dateModified : string ;
1920 } > ;
2021} ;
2122
Original file line number Diff line number Diff line change 1313 "@type" : " DataDownload" ,
1414 "encodingFormat" : " application/ld+json" ,
1515 "contentUrl" : " cinema-context.json"
16- }
16+ },
17+ "dateModified" : " 2025-03-20"
1718 }
1819 ]
1920}
You can’t perform that action at this time.
0 commit comments