Simplify and make grid for organization.tsx

This commit is contained in:
MartinBraquet
2025-10-14 18:57:59 +02:00
parent baeb2a33fe
commit e9050d0aa0

View File

@@ -1,25 +1,26 @@
import {LovePage} from 'web/components/love-page'
import {GeneralButton} from "web/components/buttons/general-button";
import clsx from "clsx";
import {Col} from "web/components/layout/col";
export default function Organization() {
return (
<LovePage trackPageView={'social'}>
<div className="text-gray-600 dark:text-white min-h-screen p-6">
<div className="w-full">
<div className="relative py-8 mt-12 overflow-hidden">
<div className="relative z-10 max-w-3xl mx-auto px-4">
<h3 className="text-4xl font-bold text-center mt-8 mb-8">Organization</h3>
<GeneralButton url={'/support'} content={'Support'}/>
<GeneralButton url={'/constitution'} content={'Constitution'}/>
<GeneralButton url={'/financials'} content={'Financials'}/>
<GeneralButton url={'/charts'} content={'Growth & Stats'}/>
<GeneralButton url={'/terms'} content={'Terms and Conditions'}/>
<GeneralButton url={'/privacy'} content={'Privacy Policy'}/>
</div>
</div>
</div>
</div>
<h3 className="text-4xl font-bold text-center mt-8 mb-8">Organization</h3>
<Col
className={clsx(
'pb-[58px] lg:pb-0', // bottom bar padding
'text-ink-1000 mx-auto w-full grid grid-cols-1 gap-8 max-w-3xl sm:grid-cols-2 lg:min-h-0 lg:pt-4 mt-4',
)}
>
<GeneralButton url={'/support'} content={'Support'}/>
<GeneralButton url={'/constitution'} content={'Constitution'}/>
<GeneralButton url={'/financials'} content={'Financials'}/>
<GeneralButton url={'/stats'} content={'Growth & Stats'}/>
<GeneralButton url={'/terms'} content={'Terms and Conditions'}/>
<GeneralButton url={'/privacy'} content={'Privacy Policy'}/>
</Col>
</LovePage>
)
}