File tree Expand file tree Collapse file tree 1 file changed +23
-19
lines changed
Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change @@ -77,22 +77,26 @@ const getGridClasses = (rank: string, count: number) => {
7777---
7878
7979<Heading >企業スポンサー</Heading >
80- {
81- rankOrder .map (
82- (rank ) =>
83- sponsorsByRank [rank ] && (
84- <>
85- <h4 class = " mb-6 text-center text-2xl font-bold text-gray-800" >
86- { rankNameMap [rank ]}
87- </h4 >
88- <div
89- class = { getGridClasses (rank , sponsorsByRank [rank ].length ).join (" " )}
90- >
91- { sponsorsByRank [rank ].sort ().map ((sponsor ) => (
92- <Company { sponsor } />
93- ))}
94- </div >
95- </>
96- ),
97- )
98- }
80+ <div class =" container mx-auto px-4" >
81+ {
82+ rankOrder .map (
83+ (rank ) =>
84+ sponsorsByRank [rank ] && (
85+ <>
86+ <h4 class = " mb-6 text-center text-2xl font-bold text-gray-800" >
87+ { rankNameMap [rank ]}
88+ </h4 >
89+ <div
90+ class = { getGridClasses (rank , sponsorsByRank [rank ].length ).join (
91+ " " ,
92+ )}
93+ >
94+ { sponsorsByRank [rank ].sort ().map ((sponsor ) => (
95+ <Company { sponsor } />
96+ ))}
97+ </div >
98+ </>
99+ ),
100+ )
101+ }
102+ </div >
You can’t perform that action at this time.
0 commit comments