damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README | LICENSE

commit 6e4738af95164ce33f1fa4dd8ae0c713c9ee86c6
parent 2c18c0d0d951440e3a6c4869c10a3710efd78cf4
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 27 Nov 2023 12:37:33 -0800

events: add unconfiscatable

Fixes: https://github.com/damus-io/damus/issues/1774

Diffstat:
Mcontent/compiled-locales/en.json | 6++++++
Mcontent/compiled-locales/ja.json | 6++++++
Mcontent/locales/en.json | 3+++
Mcontent/locales/ja.json | 3+++
Msrc/components/sections/DamusLiveEvents.tsx | 12++++++++++--
5 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/content/compiled-locales/en.json b/content/compiled-locales/en.json @@ -205,6 +205,12 @@ "value": "Bali, Indonesia" } ], + "events.location.las_vegas": [ + { + "type": 0, + "value": "Las Vegas, Nevada" + } + ], "events.location.los_angeles_california": [ { "type": 0, diff --git a/content/compiled-locales/ja.json b/content/compiled-locales/ja.json @@ -189,6 +189,12 @@ "value": "インドネシア、バリ" } ], + "events.location.las_vegas": [ + { + "type": 0, + "value": "ラスベガス、ネバダ" + } + ], "events.location.los_angeles_california": [ { "type": 0, diff --git a/content/locales/en.json b/content/locales/en.json @@ -98,6 +98,9 @@ "events.location.bali_indonesia": { "string": "Bali, Indonesia" }, + "events.location.las_vegas": { + "string": "Las Vegas, Nevada" + }, "events.location.los_angeles_california": { "string": "Los Angeles, California" }, diff --git a/content/locales/ja.json b/content/locales/ja.json @@ -101,6 +101,9 @@ "events.location.bali_indonesia": { "string": "インドネシア、バリ" }, + "events.location.las_vegas": { + "string": "ラスベガス、ネバダ" + }, "events.location.los_angeles_california": { "string": "アメリカ、カリフォルニア州ロサンゼルス" }, diff --git a/src/components/sections/DamusLiveEvents.tsx b/src/components/sections/DamusLiveEvents.tsx @@ -49,6 +49,14 @@ const events = [ startDate: new Date("2023-11-09"), endDate: new Date("2023-11-10"), }, + { + picture: "https://cdn.jb55.com/s/4311bfac2b5367c9.png", + linkUrl: "https://unconfiscatable.com/", + locationIntlString: "events.location.las_vegas", + name: "Unconfiscatable", + startDate: new Date("2023-12-07"), + endDate: new Date("2023-12-09"), + }, ] export function DamusLiveEvents({ className }: { className?: string }) { @@ -61,6 +69,7 @@ export function DamusLiveEvents({ className }: { className?: string }) { "events.location.amsterdam_netherlands": intl.formatMessage({ id: "events.location.amsterdam_netherlands", defaultMessage: "Amsterdam, Netherlands" }), "events.location.los_angeles_california": intl.formatMessage({ id: "events.location.los_angeles_california", defaultMessage: "Los Angeles, California" }), "events.location.nashville_tennessee": intl.formatMessage({ id: "events.location.nashville_tennessee", defaultMessage: "Nashville, Tennessee" }), + "events.location.las_vegas": intl.formatMessage({ id: "events.location.las_vegas", defaultMessage: "Las Vegas, Nevada" }), } return (<> @@ -127,4 +136,4 @@ export function DamusLiveEvents({ className }: { className?: string }) { </div> </div> </>) -}- \ No newline at end of file +}