Spaces:
Sleeping
Sleeping
Update click button
Browse files- src/pages/Calendar.tsx +11 -11
src/pages/Calendar.tsx
CHANGED
|
@@ -266,7 +266,7 @@ const CalendarPage = () => {
|
|
| 266 |
<div className="border-b last:border-b-0 pb-4 last:pb-0 mb-4 last:mb-0">
|
| 267 |
<div className="flex justify-between items-start">
|
| 268 |
<div>
|
| 269 |
-
<h3 className="font-semibold text-lg">{conf.title}</h3>
|
| 270 |
{conf.full_name && (
|
| 271 |
<p className="text-sm text-neutral-600 mb-2">{conf.full_name}</p>
|
| 272 |
)}
|
|
@@ -276,7 +276,7 @@ const CalendarPage = () => {
|
|
| 276 |
href={conf.link}
|
| 277 |
target="_blank"
|
| 278 |
rel="noopener noreferrer"
|
| 279 |
-
className="text-
|
| 280 |
>
|
| 281 |
Website
|
| 282 |
<svg className="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
|
@@ -291,8 +291,8 @@ const CalendarPage = () => {
|
|
| 291 |
<div className="space-y-2 mt-3">
|
| 292 |
{deadlineDate && (
|
| 293 |
<div className="flex items-start gap-2">
|
| 294 |
-
<span className="
|
| 295 |
-
<div className="text-sm">
|
| 296 |
<div>{format(deadlineDate, 'MMMM d, yyyy')}</div>
|
| 297 |
{conf.timezone && (
|
| 298 |
<div className="text-neutral-500 text-xs">
|
|
@@ -305,8 +305,8 @@ const CalendarPage = () => {
|
|
| 305 |
|
| 306 |
{startDate && (
|
| 307 |
<div className="flex items-start gap-2">
|
| 308 |
-
<span className="
|
| 309 |
-
<div className="text-sm">
|
| 310 |
<div>
|
| 311 |
{format(startDate, 'MMMM d')}
|
| 312 |
{endDate ? ` - ${format(endDate, 'MMMM d, yyyy')}` :
|
|
@@ -318,15 +318,15 @@ const CalendarPage = () => {
|
|
| 318 |
|
| 319 |
{conf.place && (
|
| 320 |
<div className="flex items-start gap-2">
|
| 321 |
-
<span className="
|
| 322 |
-
<span className="text-sm">{conf.place}</span>
|
| 323 |
</div>
|
| 324 |
)}
|
| 325 |
|
| 326 |
{conf.note && (
|
| 327 |
<div className="flex items-start gap-2 mt-2">
|
| 328 |
-
<span className="
|
| 329 |
-
<div className="text-sm text-neutral-
|
| 330 |
dangerouslySetInnerHTML={{ __html: conf.note }}
|
| 331 |
/>
|
| 332 |
</div>
|
|
@@ -337,7 +337,7 @@ const CalendarPage = () => {
|
|
| 337 |
{Array.isArray(conf.tags) && conf.tags.map((tag) => (
|
| 338 |
<span
|
| 339 |
key={tag}
|
| 340 |
-
className="inline-flex items-center px-2 py-1 rounded-full text-xs bg-neutral-100"
|
| 341 |
>
|
| 342 |
<Tag className="h-3 w-3 mr-1" />
|
| 343 |
{categoryNames[tag] || tag}
|
|
|
|
| 266 |
<div className="border-b last:border-b-0 pb-4 last:pb-0 mb-4 last:mb-0">
|
| 267 |
<div className="flex justify-between items-start">
|
| 268 |
<div>
|
| 269 |
+
<h3 className="font-semibold text-lg text-neutral-900">{conf.title}</h3>
|
| 270 |
{conf.full_name && (
|
| 271 |
<p className="text-sm text-neutral-600 mb-2">{conf.full_name}</p>
|
| 272 |
)}
|
|
|
|
| 276 |
href={conf.link}
|
| 277 |
target="_blank"
|
| 278 |
rel="noopener noreferrer"
|
| 279 |
+
className="text-blue-500 hover:text-blue-600 flex items-center gap-1 text-sm"
|
| 280 |
>
|
| 281 |
Website
|
| 282 |
<svg className="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
|
|
|
| 291 |
<div className="space-y-2 mt-3">
|
| 292 |
{deadlineDate && (
|
| 293 |
<div className="flex items-start gap-2">
|
| 294 |
+
<span className="font-medium text-sm text-neutral-900">Deadline:</span>
|
| 295 |
+
<div className="text-sm text-neutral-900">
|
| 296 |
<div>{format(deadlineDate, 'MMMM d, yyyy')}</div>
|
| 297 |
{conf.timezone && (
|
| 298 |
<div className="text-neutral-500 text-xs">
|
|
|
|
| 305 |
|
| 306 |
{startDate && (
|
| 307 |
<div className="flex items-start gap-2">
|
| 308 |
+
<span className="font-medium text-sm text-neutral-900">Date:</span>
|
| 309 |
+
<div className="text-sm text-neutral-900">
|
| 310 |
<div>
|
| 311 |
{format(startDate, 'MMMM d')}
|
| 312 |
{endDate ? ` - ${format(endDate, 'MMMM d, yyyy')}` :
|
|
|
|
| 318 |
|
| 319 |
{conf.place && (
|
| 320 |
<div className="flex items-start gap-2">
|
| 321 |
+
<span className="font-medium text-sm text-neutral-900">Location:</span>
|
| 322 |
+
<span className="text-sm text-neutral-900">{conf.place}</span>
|
| 323 |
</div>
|
| 324 |
)}
|
| 325 |
|
| 326 |
{conf.note && (
|
| 327 |
<div className="flex items-start gap-2 mt-2">
|
| 328 |
+
<span className="font-medium text-sm text-neutral-900">Note:</span>
|
| 329 |
+
<div className="text-sm text-neutral-900"
|
| 330 |
dangerouslySetInnerHTML={{ __html: conf.note }}
|
| 331 |
/>
|
| 332 |
</div>
|
|
|
|
| 337 |
{Array.isArray(conf.tags) && conf.tags.map((tag) => (
|
| 338 |
<span
|
| 339 |
key={tag}
|
| 340 |
+
className="inline-flex items-center px-2 py-1 rounded-full text-xs bg-neutral-100 text-neutral-900"
|
| 341 |
>
|
| 342 |
<Tag className="h-3 w-3 mr-1" />
|
| 343 |
{categoryNames[tag] || tag}
|