adjust missing details from notion

This commit is contained in:
amirhouieh 2023-08-28 19:29:39 +02:00
parent 4a5a093a19
commit 4ea557ccb4
7 changed files with 37 additions and 11 deletions

View File

@ -5,10 +5,16 @@ export const FooterLink = styled(Typography)`
width: fit-content;
&:not(:last-child) {
&:after {
content: '•';
margin-left: 8px;
text-decoration: none;
width: 2px;
height: 2px;
background: rgb(var(--lsd-surface-secondary));
display: inline-block;
content: ' ';
margin-left: 8px;
border-radius: 50%;
transform: translateY(-2px);
//text-decoration: none;
//display: inline-block;
}
}
`

View File

@ -17,7 +17,7 @@ export default function Footer() {
<FooterOrgPanel />
<FooterBuPanel />
<ScrollToTop size="small" onClick={handleScrollToTop}>
Back to up
Back to top
</ScrollToTop>
</FooterSectionContainer>
)

View File

@ -407,6 +407,15 @@ PostCard.styles = {
.show-details__logo {
width: 16px;
}
.post-card__label {
margin-bottom: 0;
}
.post-card__title {
margin-bottom: -8px;
margin-top: -8px;
}
.show-details__title {
${lsdUtils.typography('subtitle3')}
}
@ -418,7 +427,7 @@ PostCard.styles = {
padding: 24px 0;
display: grid;
gap: 8px 16px;
gap: 16px 16px;
grid-template-columns: repeat(7, 1fr);
&.post-card__article {

View File

@ -98,7 +98,7 @@ const Container = styled.div`
gap: 16px 0;
.post-card__label {
margin-bottom: -8px;
margin-bottom: 0 !important;
}
.post-card__title {

View File

@ -16,6 +16,7 @@ export const SearchResultListPosts = ({ posts, shows }: Props) => {
data={{
...data,
coverImage: post.type === 'podcast' ? data.coverImage : undefined,
authors: [],
}}
className={'post-card__search-result'}
size={'large'}

View File

@ -101,10 +101,13 @@ export const SearchResultsExploreView = (props: Props) => {
case LPE.ContentTypes.Podcast:
return (
<PostCard
data={PostCard.toData(
result.data as LPE.Post.Document,
shows,
)}
data={{
...PostCard.toData(
result.data as LPE.Post.Document,
shows,
),
authors: [],
}}
size={'medium'}
contentType={result.type as LPE.PostType}
/>
@ -118,6 +121,7 @@ export const SearchResultsExploreView = (props: Props) => {
shows,
),
coverImage: null,
authors: [],
}}
size={'medium'}
contentType={result.type as LPE.PostType}

View File

@ -101,7 +101,13 @@ export default function SearchPage({ topics, shows }: SearchPageProps) {
SearchPage.getLayout = (page: ReactNode) => (
<QueryParamProvider adapter={NextAdapterPages}>
<DefaultLayout>{page}</DefaultLayout>
<DefaultLayout
mainProps={{
spacing: false,
}}
>
{page}
</DefaultLayout>
</QueryParamProvider>
)