Renameed component
This commit is contained in:
parent
1c2653ad07
commit
fcd303fe6a
|
@ -172,10 +172,10 @@ export default function ThumbnailPreview(props: Props): JSX.Element {
|
|||
))}
|
||||
</div>
|
||||
)}
|
||||
<div>
|
||||
{pre_title && <p>{pre_title}</p>}
|
||||
{title && <h1 className="text-lg">{title}</h1>}
|
||||
{subtitle && <h2>{subtitle}</h2>}
|
||||
<div className="my-1">
|
||||
{pre_title && <p className="leading-none mb-1">{pre_title}</p>}
|
||||
{title && <p className="font-headers text-lg leading-none">{title}</p>}
|
||||
{subtitle && <p className="leading-none">{subtitle}</p>}
|
||||
</div>
|
||||
{description && <p>{description}</p>}
|
||||
{bottomChips && bottomChips.length > 0 && (
|
|
@ -47,10 +47,12 @@ export default function PreviewLine(props: Props): JSX.Element {
|
|||
))}
|
||||
</div>
|
||||
)}
|
||||
<div className="flex flex-col">
|
||||
{pre_title && <p>{pre_title}</p>}
|
||||
{title && <h1 className="text-lg">{title}</h1>}
|
||||
{subtitle && <h2>{subtitle}</h2>}
|
||||
<div className="flex flex-col my-1">
|
||||
{pre_title && <p className="leading-none mb-1">{pre_title}</p>}
|
||||
{title && (
|
||||
<p className="font-headers text-lg leading-none">{title}</p>
|
||||
)}
|
||||
{subtitle && <p className="leading-none">{subtitle}</p>}
|
||||
</div>
|
||||
{bottomChips && bottomChips.length > 0 && (
|
||||
<div className="grid grid-flow-col gap-1 overflow-hidden place-content-start">
|
||||
|
|
|
@ -8,7 +8,7 @@ import ContentPanel, {
|
|||
} from "components/Panels/ContentPanel";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import Switch from "components/Switch";
|
||||
import ThumbnailPreview from "components/ThumbnailPreview";
|
||||
import ThumbnailPreview from "components/PreviewCard";
|
||||
import { GetVideoChannelQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import {
|
||||
|
|
|
@ -9,7 +9,7 @@ import ContentPanel, {
|
|||
} from "components/Panels/ContentPanel";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import Switch from "components/Switch";
|
||||
import ThumbnailPreview from "components/ThumbnailPreview";
|
||||
import ThumbnailPreview from "components/PreviewCard";
|
||||
import { GetVideosPreviewQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
|
|
|
@ -7,7 +7,7 @@ import ContentPanel, {
|
|||
import SubPanel from "components/Panels/SubPanel";
|
||||
import Select from "components/Select";
|
||||
import Switch from "components/Switch";
|
||||
import ThumbnailPreview from "components/ThumbnailPreview";
|
||||
import ThumbnailPreview from "components/PreviewCard";
|
||||
import { GetContentsQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
|
|
|
@ -14,7 +14,7 @@ import ContentPanel, {
|
|||
} from "components/Panels/ContentPanel";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import Switch from "components/Switch";
|
||||
import ThumbnailPreview from "components/ThumbnailPreview";
|
||||
import ThumbnailPreview from "components/PreviewCard";
|
||||
import { useAppLayout } from "contexts/AppLayoutContext";
|
||||
import {
|
||||
Enum_Componentmetadatabooks_Binding_Type,
|
||||
|
|
|
@ -7,7 +7,7 @@ import ContentPanel, {
|
|||
import SubPanel from "components/Panels/SubPanel";
|
||||
import Select from "components/Select";
|
||||
import Switch from "components/Switch";
|
||||
import ThumbnailPreview from "components/ThumbnailPreview";
|
||||
import ThumbnailPreview from "components/PreviewCard";
|
||||
import { GetLibraryItemsPreviewQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
|
|
|
@ -5,7 +5,7 @@ import ContentPanel, {
|
|||
} from "components/Panels/ContentPanel";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import Switch from "components/Switch";
|
||||
import ThumbnailPreview from "components/ThumbnailPreview";
|
||||
import ThumbnailPreview from "components/PreviewCard";
|
||||
import { GetPostsPreviewQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
|
|
Loading…
Reference in New Issue