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 4
4
display : grid;
5
5
gap : 16px ;
6
6
grid-template-columns : repeat (auto-fill, minmax (240px , 1fr ));
7
+ width : 100% ;
7
8
}
Original file line number Diff line number Diff line change 1
1
import Preview from '@node-core/ui-components/Common/Preview' ;
2
2
import type { FC , PropsWithChildren } from 'react' ;
3
3
4
+ import Link from '#site/components/Link' ;
4
5
import WithAvatarGroup from '#site/components/withAvatarGroup' ;
5
6
import WithBlogCrossLinks from '#site/components/withBlogCrossLinks' ;
6
7
import WithFooter from '#site/components/withFooter' ;
@@ -11,6 +12,7 @@ import { mapAuthorToCardAuthors } from '#site/util/author';
11
12
import { mapBlogCategoryToPreviewType } from '#site/util/blog' ;
12
13
13
14
import styles from './layouts.module.css' ;
15
+ import PartnersLogoList from '../components/Common/Partners/PartnersLogoList' ;
14
16
15
17
const PostLayout : FC < PropsWithChildren > = ( { children } ) => {
16
18
const { frontmatter } = useClientContext ( ) ;
@@ -37,7 +39,17 @@ const PostLayout: FC<PropsWithChildren> = ({ children }) => {
37
39
< Preview title = { frontmatter . title ! } type = { type } />
38
40
39
41
{ 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
+ ) }
41
53
< WithBlogCrossLinks />
42
54
</ main >
43
55
</ div >
You can’t perform that action at this time.
0 commit comments