refactor: remove unnecessary text-primary class from headings for consistent styling
This commit is contained in:
parent
a0d5faf972
commit
2082ea2c62
9 changed files with 18 additions and 27 deletions
|
|
@ -123,8 +123,8 @@ export const AllegatiComp = ({
|
|||
const not_from_admin = allegati.filter((a) => !a.from_admin);
|
||||
|
||||
return (
|
||||
<div className="flex flex-col space-y-5">
|
||||
<h1 className="font-bold text-2xl text-primary">{t.allegati.title}</h1>
|
||||
<div className="flex flex-col space-y-4">
|
||||
<h1 className="font-bold text-2xl">{t.allegati.title}</h1>
|
||||
<h1 className="font-semibold text-xl">{t.allegati.da_info}</h1>
|
||||
{from_admin && (
|
||||
<FileList
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ export const OrdiniTable = ({ data, isAdmin, userId }: PaymentsTableProps) => {
|
|||
];
|
||||
|
||||
return (
|
||||
<div className="mx-auto w-full py-10">
|
||||
<div className="mx-auto w-full">
|
||||
<DataTable
|
||||
columns={columns}
|
||||
columns_titles={columns_titles}
|
||||
|
|
|
|||
|
|
@ -22,16 +22,14 @@ const Ordini: NextPageWithLayout = () => {
|
|||
<title>{t.heads.area_riservata_titolo}</title>
|
||||
<meta content={t.heads.area_riservata_description} name="description" />
|
||||
</Head>
|
||||
<div className="mx-1 flex-1 overflow-auto">
|
||||
<div className="mx-auto pt-4">
|
||||
<div className="mx-3 items-start justify-between md:flex">
|
||||
<div className="flex max-w-lg items-center gap-3">
|
||||
<h3 className="font-bold text-2xl">Ordini</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<OrdiniTable data={data} isAdmin />
|
||||
<div className="mx-3 flex flex-1 flex-col gap-4 overflow-auto pt-5">
|
||||
<div className="items-start justify-between md:flex">
|
||||
<div className="mx-1 flex items-center">
|
||||
<h3 className="font-bold text-2xl">Ordini</h3>
|
||||
</div>
|
||||
</div>
|
||||
<OrdiniTable data={data} isAdmin />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ const OnboardUser: NextPageWithLayout<OnboardUserProps> = ({
|
|||
return (
|
||||
<div className="mx-auto max-w-8xl grow space-y-4">
|
||||
<div className="flex justify-between">
|
||||
<h3 className="font-bold text-2xl text-primary">
|
||||
<h3 className="font-bold text-2xl">
|
||||
Onboarding Utente (Versione Admin)
|
||||
</h3>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -23,16 +23,11 @@ const OrdiniUser: NextPageWithLayout<OrdiniUserProps> = ({
|
|||
if (isLoading) return <LoadingPage />;
|
||||
if (!data) return <Status500 />;
|
||||
return (
|
||||
<main className="flex flex-1 flex-col items-start gap-4 md:gap-8">
|
||||
<div className="grid w-full auto-rows-max items-start gap-2 md:gap-4">
|
||||
<div className="overflow-auto border-none">
|
||||
<h3 className="font-bold text-2xl">Ordini</h3>
|
||||
|
||||
<div className="w-full">
|
||||
<OrdiniTable data={data} isAdmin userId={userId} />
|
||||
</div>
|
||||
</div>
|
||||
<main className="flex flex-1 flex-col items-start gap-4">
|
||||
<div className="flex">
|
||||
<h3 className="font-bold text-2xl">Ordini</h3>
|
||||
</div>
|
||||
<OrdiniTable data={data} isAdmin userId={userId} />
|
||||
</main>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ const Comunicazioni: NextPageWithLayout = () => {
|
|||
|
||||
<div className="mx-auto max-w-8xl grow p-4">
|
||||
<div className="p-1">
|
||||
<h1 className="font-bold text-2xl text-primary">Comunicazioni</h1>
|
||||
<h1 className="font-bold text-2xl">Comunicazioni</h1>
|
||||
</div>
|
||||
|
||||
<EmailAccordion
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ const Dashboard: NextPageWithLayout = () => {
|
|||
/>
|
||||
|
||||
<div className="flex flex-col items-start justify-center pl-4">
|
||||
<h1 className="font-bold text-2xl text-primary">Profilo Utente</h1>
|
||||
<h1 className="font-bold text-2xl">Profilo Utente</h1>
|
||||
<p className="text-muted-foreground text-sm">
|
||||
Gestisci le tue informazioni personali e le preferenze di account.
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ const OnboardServizio: NextPageWithLayout<OnboardServizioProps> = ({
|
|||
return (
|
||||
<div className="mx-auto w-full max-w-6xl grow space-y-6 p-2 sm:px-8 sm:py-6">
|
||||
<div className="flex justify-center">
|
||||
<h3 className="font-bold text-3xl text-primary">
|
||||
<h3 className="font-bold text-3xl">
|
||||
{locale === "it" ? "Dettagli del servizio" : "Service Details"}
|
||||
</h3>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -34,9 +34,7 @@ const ServicePurchasePage: NextPageWithLayout<ServizioPurchaseProps> = ({
|
|||
return (
|
||||
<div className="mx-auto w-full max-w-6xl grow space-y-4 p-2 sm:px-8 sm:py-4">
|
||||
<div className="flex justify-between">
|
||||
<h3 className="font-bold text-3xl text-primary">
|
||||
{t.acquisto.pagamento}
|
||||
</h3>
|
||||
<h3 className="font-bold text-3xl">{t.acquisto.pagamento}</h3>
|
||||
</div>
|
||||
<AcquistoProcessing
|
||||
packId={data.ordine.packid}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue