/* eslint-disable */ /* This is a auto generated file for building the project */ import type { PageMeta } from "@webstudio-is/sdk"; import type { System, ResourceRequest } from "@webstudio-is/sdk"; export const getResources = (_props: { system: System }) => { let ghostUrl = "https://blog.jamericanbar.com" let ghostContentApiKey = "c9014d5d9ceabb1dd08f0ec0a3" let postsPerPage = 50 const system = _props.system const ghostPosts_1: ResourceRequest = { name: "ghostPosts", url: `${ghostUrl}/ghost/api/content/posts/?key=${ghostContentApiKey}&include=authors,tags&limit=${postsPerPage}&filter=visibility:public${system?.search?.search ? `%2Btitle:~'${system?.search?.search}'` : ''}${system?.search?.page ? `&page=${system?.search?.page}` : ''}`, searchParams: [ ], method: "get", headers: [ { name: "Accept-Version", value: "v5.0" }, ], } const _data = new Map([ ["ghostPosts_1", ghostPosts_1], ]) const _action = new Map([ ]) return { data: _data, action: _action } } export const getPageMeta = ({ system, resources, }: { system: System; resources: Record; }): PageMeta => { return { title: "Blog | Jamaican-American Bar Association", description: "Keep up-to-date with the latest at JABA, an association of lawyers, primarily catering to South Florida.", excludePageFromSearch: true, language: "", socialImageAssetName: undefined, socialImageUrl: "", status: 200, redirect: "", custom: [ ], }; }; type Params = Record; export const getRemixParams = ({ ...params }: Params): Params => { return params } export const contactEmail = "jabaflorida@gmail.com";