a tool for shared writing and social publishing

fixed header

+6 -6
+6 -6
app/lish/[did]/[publication]/[rkey]/PostContent.tsx
··· 156 156 case PubLeafletBlocksHeader.isMain(b.block): { 157 157 if (b.block.level === 1) 158 158 return ( 159 - <h1 className={`${className}`}> 159 + <h2 className={`${className}`}> 160 160 <TextBlock {...b.block} /> 161 - </h1> 161 + </h2> 162 162 ); 163 163 if (b.block.level === 2) 164 164 return ( 165 - <h2 className={`${className}`}> 165 + <h3 className={`${className}`}> 166 166 <TextBlock {...b.block} /> 167 - </h2> 167 + </h3> 168 168 ); 169 169 if (b.block.level === 3) 170 170 return ( 171 - <h3 className={`${className}`}> 171 + <h4 className={`${className}`}> 172 172 <TextBlock {...b.block} /> 173 - </h3> 173 + </h4> 174 174 ); 175 175 // if (b.block.level === 4) return <h4>{b.block.plaintext}</h4>; 176 176 // if (b.block.level === 5) return <h5>{b.block.plaintext}</h5>;