Changeset View
Changeset View
Standalone View
Standalone View
landing/asset-meta-data.js
// @flow | // @flow | ||||
import css from './landing.css'; | import css from './landing.css'; | ||||
export type Asset = { | export type ImageAsset = { | ||||
+alt: string, | +alt: string, | ||||
+url: string, | +url: string, | ||||
+title: string, | +title: string, | ||||
+description: string, | +description: string, | ||||
+imageStyle: string, | +imageStyle: string, | ||||
+infoStyle: string, | +infoStyle: string, | ||||
}; | }; | ||||
export const assetsCacheURLPrefix = 'https://dh9fld3hutpxf.cloudfront.net'; | export const assetsCacheURLPrefix = 'https://dh9fld3hutpxf.cloudfront.net'; | ||||
export const assetMetaData = [ | export const imageAssetMetaData = [ | ||||
{ | { | ||||
alt: 'a mobile phone screen highlighting chat and DAO voting', | alt: 'a mobile phone screen highlighting chat and DAO voting', | ||||
url: `${assetsCacheURLPrefix}/Header`, | url: `${assetsCacheURLPrefix}/Header`, | ||||
imageStyle: css.heroImage, | imageStyle: css.heroImage, | ||||
infoStyle: css.heroInfo, | infoStyle: css.heroInfo, | ||||
title: 'Header', | title: 'Header', | ||||
description: '', | description: '', | ||||
}, | }, | ||||
]; | ]; |