File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
components/Common/Partners/PartnersLogoList Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 44 display : grid;
55 gap : 16px ;
66 grid-template-columns : repeat (auto-fill, minmax (240px , 1fr ));
7+ width : 100% ;
78}
Original file line number Diff line number Diff line change 11import Preview from '@node-core/ui-components/Common/Preview' ;
22import type { FC , PropsWithChildren } from 'react' ;
33
4+ import Link from '#site/components/Link' ;
45import WithAvatarGroup from '#site/components/withAvatarGroup' ;
56import WithBlogCrossLinks from '#site/components/withBlogCrossLinks' ;
67import WithFooter from '#site/components/withFooter' ;
@@ -11,6 +12,7 @@ import { mapAuthorToCardAuthors } from '#site/util/author';
1112import { mapBlogCategoryToPreviewType } from '#site/util/blog' ;
1213
1314import styles from './layouts.module.css' ;
15+ import PartnersLogoList from '../components/Common/Partners/PartnersLogoList' ;
1416
1517const PostLayout : FC < PropsWithChildren > = ( { children } ) => {
1618 const { frontmatter } = useClientContext ( ) ;
@@ -37,7 +39,17 @@ const PostLayout: FC<PropsWithChildren> = ({ children }) => {
3739 < Preview title = { frontmatter . title ! } type = { type } />
3840
3941 { children }
40-
42+ { type === 'vulnerability' && (
43+ < section className = "flex-col! flex w-full gap-4" >
44+ < h2 className = "text-center" > Thanks by Our Partners</ h2 >
45+ < p >
46+ We are able to offer security releases proudly due to the
47+ support of these partners
48+ < Link href = "/about/partners/" > and more</ Link > .
49+ </ p >
50+ < PartnersLogoList categories = "security" />
51+ </ section >
52+ ) }
4153 < WithBlogCrossLinks />
4254 </ main >
4355 </ div >
You can’t perform that action at this time.
0 commit comments