···3434import { MoreOptionsTiny } from "components/Icons/MoreOptionsTiny";
3535import { PaintSmall } from "components/Icons/PaintSmall";
3636import { ShareSmall } from "components/Icons/ShareSmall";
3737-import Link from "next/link";
3737+import { PublicationMetadata } from "./PublicationMetadata";
38383939export function Pages(props: { rootPage: string }) {
4040 let rootPage = useEntity(props.rootPage, "root/page")[0];
···231231 }}
232232 />
233233 ) : null}
234234- <div
235235- className={`flex flex-col px-3 sm:px-4 pb-4 sm:pb-6 ${cardBorderHidden?.data.value ? "sm:pt-4 pt-0" : "sm:pt-6 pt-2"}`}
236236- >
237237- <Link
238238- href="/"
239239- className="text-accent-contrast font-bold hover:no-underline"
240240- >
241241- Publication Name
242242- </Link>
243243- <h2 className="">Titles Are Cool</h2>
244244- <p className="italic text-secondary">
245245- This is a description! What happens if it's just a little but longer,
246246- since it's nice to be able to say a few more words...
247247- </p>
248248- <p className="text-sm text-tertiary">Draft</p>
249249- </div>
234234+ <PublicationMetadata cardBorderHidden={!!cardBorderHidden?.data.value} />
250235 <Blocks entityID={props.entityID} />
251236 {/* we handle page bg in this sepate div so that
252237 we can apply an opacity the background image