import { localeStrings } from '../../locales' ; export interface CardData { imageUrl : string ; title : string ; description : string ; linkUrl : string ; } export const resourceCards = [ { imageUrl : '/assets/images/blog-card.webp' , title : localeStrings . text . resource_hub . titles . blog , description : localeStrings . text . resource_hub . description . blog , linkUrl : 'https://blog.pwabuilder.com' , } , { imageUrl : '/assets/images/demo-card.webp' , title : localeStrings . text . resource_hub . titles . demo , description : localeStrings . text . resource_hub . description . demo , linkUrl : 'https://blog.pwabuilder.com/demos' , } , { imageUrl : '/assets/images/docs-card.webp' , title : localeStrings . text . resource_hub . titles . documentation , description : localeStrings . text . resource_hub . description . documentation , linkUrl : 'https://blog.pwabuilder.com/docs' , } , ] ; export function landingCards ( ) { return resourceCards ; } export function publishCards ( ) { return resourceCards . slice ( 1 ) ; }