1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

chore: maintenance

This commit is contained in:
Divlo
2021-12-04 15:52:51 +01:00
parent e5f4615f7f
commit 729e540d04
69 changed files with 10182 additions and 18460 deletions

View File

@ -4,7 +4,7 @@ export const SectionHeading: React.FC<SectionHeadingProps> = (props) => {
const { children, ...rest } = props
return (
<h2 {...rest} className='text-4xl font-semibold text-center mt-1 mb-3'>
<h2 {...rest} className='mt-1 mb-3 text-center text-4xl font-semibold'>
{children}
</h2>
)

View File

@ -20,11 +20,11 @@ export const Section: React.FC<SectionProps> = (props) => {
if (isMain) {
return (
<div className='px-3 w-full'>
<div className='w-full px-3'>
<ShadowContainer style={{ marginTop: 50 }}>
<section {...rest}>
{heading != null && <SectionHeading>{heading}</SectionHeading>}
<div className='px-3 w-full'>{children}</div>
<div className='w-full px-3'>{children}</div>
</section>
</ShadowContainer>
</div>
@ -35,7 +35,7 @@ export const Section: React.FC<SectionProps> = (props) => {
return (
<section {...rest}>
{heading != null && <SectionHeading>{heading}</SectionHeading>}
<div className='px-3 w-full'>{children}</div>
<div className='w-full px-3'>{children}</div>
</section>
)
}
@ -52,9 +52,9 @@ export const Section: React.FC<SectionProps> = (props) => {
{description}
</p>
)}
<div className='px-3 w-full'>
<div className='w-full px-3'>
<ShadowContainer>
<div className='px-16 py-4 leading-8 w-full'>{children}</div>
<div className='w-full px-16 py-4 leading-8'>{children}</div>
</ShadowContainer>
</div>
</section>