24 lines
539 B
TypeScript
24 lines
539 B
TypeScript
import type { Locale } from './i18n';
|
||
|
||
export interface VenueInfo {
|
||
name: string;
|
||
lat: number;
|
||
lng: number;
|
||
phone: string;
|
||
email: string;
|
||
hours: string;
|
||
}
|
||
|
||
export const VENUE: VenueInfo = {
|
||
name: 'Devodytyji',
|
||
lat: 50.4584,
|
||
lng: 30.5199,
|
||
phone: '+380 44 000 00 00',
|
||
email: 'hello@devodytyji.example',
|
||
hours: '10:00 – 23:00',
|
||
};
|
||
|
||
export function venueAddress(locale: Locale): string {
|
||
return locale === 'en' ? '12 Vifleemska St, Kyiv, Ukraine' : 'вул. Вифлеємська, 12, Київ, Україна';
|
||
}
|