Skip to content

Commit 1ae655c

Browse files
authored
Homepage design tweaks (#399)
1 parent 65118fe commit 1ae655c

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

backend/vapor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
id: 68983
1+
id: 69938
22
name: HiEvents
33
environments:
44
production:
@@ -8,8 +8,8 @@ environments:
88
cli-memory: 512
99
runtime: 'php-8.3:al2'
1010
warm: 3
11-
cache: hievents-redis-prod
12-
database: hievents-db-prod
11+
cache: hievents-redis
12+
database: hievents-postgres
1313
queues:
1414
- hievents-queue-prod
1515
- hievents-webhook-queue-prod
@@ -28,8 +28,8 @@ environments:
2828
cli-memory: 512
2929
runtime: 'php-8.3:al2'
3030
warm: 3
31-
cache: hievents-redis-prod
32-
database: hievents-db-prod
31+
cache: hievents-redis
32+
database: hievents-postgres
3333
queue:
3434
- hievents-queue-prod
3535
- hievents-webhook-queue-staging

frontend/src/components/layouts/EventHomepage/EventHomepage.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
@include respond-below(md) {
6565
min-height: 100vh;
6666
justify-content: space-between;
67+
padding: 20px;
6768
}
6869

6970
a {

frontend/src/components/layouts/EventHomepage/EventInformation/EventInformation.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
place-self: flex-start;
4444
margin-right: 10px;
4545
color: var(--homepage-secondary-color, var(--tk-primary));
46+
min-width: 20px;
4647
}
4748
}
4849

frontend/src/components/layouts/EventHomepage/EventInformation/index.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {IconCalendar, IconExternalLink, IconMapPin} from "@tabler/icons-react";
22
import classes from "./EventInformation.module.scss";
3-
import {prettyDate} from "../../../../utilites/dates.ts";
43
import {formatAddress} from "../../../../utilites/formatAddress.tsx";
54
import {t} from "@lingui/macro";
65
import {Button} from "@mantine/core";
@@ -22,8 +21,8 @@ export const EventInformation: FC<{
2221
return (
2322
<>
2423
<div className={classes.preHeading}>
25-
<div className={classes.date}>
26-
{prettyDate(event.start_date, event.timezone)}
24+
<div className={classes.organizer}>
25+
{event.organizer?.name}
2726
</div>
2827
<div className={classes.shareButtons}>
2928
<ShareComponent
@@ -37,7 +36,6 @@ export const EventInformation: FC<{
3736
<h1 className={classes.eventTitle}>{event.title}</h1>
3837
<div className={classes.eventInfo}>
3938
<div className={classes.eventDetail}>
40-
<h2>{t`Date & Time`}</h2>
4139
<div className={classes.details}>
4240
<IconCalendar size={20}/>
4341
<div>
@@ -48,9 +46,8 @@ export const EventInformation: FC<{
4846

4947
{event.settings?.location_details && (
5048
<div className={classes.eventDetail}>
51-
<h2>{t`Location`}</h2>
5249
<div className={classes.details}>
53-
<IconMapPin size={25}/>
50+
<IconMapPin size={20}/>
5451
<div className={classes.detail}>
5552
<b>{event.settings?.location_details?.venue_name}</b>
5653
<div>{formatAddress(event.settings?.location_details)}</div>

0 commit comments

Comments
 (0)