diff --git a/frontend/src/app/for-lawyers/components/Flowchart.tsx b/frontend/src/app/for-lawyers/components/Flowchart.tsx index fe460ee..b9526d2 100644 --- a/frontend/src/app/for-lawyers/components/Flowchart.tsx +++ b/frontend/src/app/for-lawyers/components/Flowchart.tsx @@ -13,7 +13,7 @@ const FlowchartItem: React.FC = ({ background, }) => { return ( -
+
= ({ items, background }) => { return ( -
+
{items.map((item) => ( ))} diff --git a/frontend/src/app/for-lawyers/components/Hero.tsx b/frontend/src/app/for-lawyers/components/Hero.tsx index fc49816..de4efff 100644 --- a/frontend/src/app/for-lawyers/components/Hero.tsx +++ b/frontend/src/app/for-lawyers/components/Hero.tsx @@ -1,6 +1,5 @@ import React from "react"; -import clsx from "clsx"; import Image from "next/image"; import Button from "@/components/Button"; @@ -18,7 +17,7 @@ const Hero: React.FC = async () => { return (
-

+

{header}

{subtitle}

@@ -34,10 +33,7 @@ const Hero: React.FC = async () => { span]:text-start [&>span]:text-primary-text", - )} + className="text-start lg:pb-9 [&>span]:text-primary-text" />
= ({ table, }) => { return ( -
+
{ ).forLawyersPageKlerosEscrowSection; return (
-

+

{header}

-

{subtitle}

+

+ {subtitle} +

-

{flowchartLabel}

+

+ {flowchartLabel} +

-

+

{secondHeader}

-

{secondSubtitle}

+

+ {secondSubtitle} +

- +
+ +
); }; diff --git a/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ResearchSection.tsx b/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ResearchSection.tsx index 48412f9..70aeafd 100644 --- a/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ResearchSection.tsx +++ b/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ResearchSection.tsx @@ -36,7 +36,7 @@ const ResearchSection: React.FC = ({ ); return ( -
+

{secondHeader}

diff --git a/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/index.tsx b/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/index.tsx index c344ba3..e846dc5 100644 --- a/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/index.tsx +++ b/frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/index.tsx @@ -32,10 +32,10 @@ const KlerosDisputeResolutionSection: React.FC = async () => { className={clsx( "bg-background-2", "flex flex-col gap-16", - "px-6 py-12 lg:px-32 lg:py-24", + "px-6 py-12 lg:py-24", )} > -
+

{headerSubtitle}

@@ -48,7 +48,7 @@ const KlerosDisputeResolutionSection: React.FC = async () => { -
+

{thirdHeader}

diff --git a/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/DisputeResolutionProcess.tsx b/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/DisputeResolutionProcess.tsx index a934146..63941bb 100644 --- a/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/DisputeResolutionProcess.tsx +++ b/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/DisputeResolutionProcess.tsx @@ -14,7 +14,7 @@ const DisputeResolutionProcess: React.FC = ({ processDiagram, }) => { return ( -
+
{ .lemonCashSection; return ( -
+

{header}

diff --git a/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/DesktopTable.tsx b/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/DesktopTable.tsx index 2240ff0..050e892 100644 --- a/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/DesktopTable.tsx +++ b/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/DesktopTable.tsx @@ -41,7 +41,9 @@ const DesktopTable: React.FC = ({ table }) => { rowIndex !== tableRows.length - 1 && "border-b border-b-stroke", )} > - + {rowHeading}
diff --git a/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/index.tsx b/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/index.tsx index 92efcb2..d63f1f3 100644 --- a/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/index.tsx +++ b/frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/index.tsx @@ -34,10 +34,10 @@ const KlerosEnterpriseSection: React.FC = async () => { className={clsx( "bg-background-2", "flex flex-col gap-12 lg:gap-16", - "px-6 py-12 lg:px-32 lg:py-24", + "px-6 py-12 lg:py-24", )} > -
+

{headerSubtitle}

{header} @@ -45,7 +45,7 @@ const KlerosEnterpriseSection: React.FC = async () => {

-
+
{cards.map((card) => ( ))} @@ -59,11 +59,9 @@ const KlerosEnterpriseSection: React.FC = async () => { /> - +
+ +
); diff --git a/frontend/src/app/for-lawyers/components/KlerosFellowSection/index.tsx b/frontend/src/app/for-lawyers/components/KlerosFellowSection/index.tsx index b1f33f5..4a68b18 100644 --- a/frontend/src/app/for-lawyers/components/KlerosFellowSection/index.tsx +++ b/frontend/src/app/for-lawyers/components/KlerosFellowSection/index.tsx @@ -56,7 +56,7 @@ const KlerosFellowSection: React.FC = async () => {
); diff --git a/frontend/src/app/for-lawyers/components/KlerosMediationSection/index.tsx b/frontend/src/app/for-lawyers/components/KlerosMediationSection/index.tsx index bd58225..adecd92 100644 --- a/frontend/src/app/for-lawyers/components/KlerosMediationSection/index.tsx +++ b/frontend/src/app/for-lawyers/components/KlerosMediationSection/index.tsx @@ -21,10 +21,10 @@ const KlerosMediationSection: React.FC = async () => { className={clsx( "bg-background-1", "flex flex-col gap-16", - "px-6 py-12 lg:px-32 lg:py-24", + "px-6 py-12 lg:py-24", )} > -
+

{header}

@@ -33,7 +33,7 @@ const KlerosMediationSection: React.FC = async () => { -
+

{benefitsHeader}

@@ -47,7 +47,7 @@ const KlerosMediationSection: React.FC = async () => {
); diff --git a/frontend/src/app/home/components/CaseStudies.tsx b/frontend/src/app/home/components/CaseStudies.tsx index 5e73bb0..90836f4 100644 --- a/frontend/src/app/home/components/CaseStudies.tsx +++ b/frontend/src/app/home/components/CaseStudies.tsx @@ -19,7 +19,7 @@ const CaseStudies: React.FC = async () => {

{title}

{subtitle}

-
+
{cards.map(({ title, subtitle, icon, link }) => ( { ).then((res) => res.homeGetInTouchSection); return ( -
+

{title} @@ -22,7 +26,7 @@ const GetInTouch: React.FC = async () => {

Kleros Logo { return (
-

{title}

+

{title}

{subtitle}

@@ -45,7 +45,7 @@ const Hero: React.FC = async () => {
diff --git a/frontend/src/app/home/components/LearnPosts.tsx b/frontend/src/app/home/components/LearnPosts.tsx index 65285c5..9164466 100644 --- a/frontend/src/app/home/components/LearnPosts.tsx +++ b/frontend/src/app/home/components/LearnPosts.tsx @@ -20,10 +20,14 @@ const LearnPosts: React.FC = async () => {

{title}

{subtitle}

-
+
{cards.map(({ icon, title, subtitle, link }) => ( diff --git a/frontend/src/app/home/components/TrustedBy.tsx b/frontend/src/app/home/components/TrustedBy.tsx index 0edd871..f4dd972 100644 --- a/frontend/src/app/home/components/TrustedBy.tsx +++ b/frontend/src/app/home/components/TrustedBy.tsx @@ -13,23 +13,25 @@ const TrustedBy: React.FC = async () => { await request(partnersQuery); return ( -
+

Trusted By

-
- - +
+
+ + +
{institutions.map(({ name, link, image }) => ( diff --git a/frontend/src/app/home/components/UseCases.tsx b/frontend/src/app/home/components/UseCases.tsx index c4b8175..1839f06 100644 --- a/frontend/src/app/home/components/UseCases.tsx +++ b/frontend/src/app/home/components/UseCases.tsx @@ -12,13 +12,17 @@ const UseCases: React.FC = async () => { ).then((res) => res.homeUseCasesSection); return ( -
+

{title}

); diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index 5f82d50..5798181 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -28,7 +28,7 @@ export default async function RootLayout({
- {children} +
{children}
diff --git a/frontend/src/components/BrandAssets/LogosPackageSection.tsx b/frontend/src/components/BrandAssets/LogosPackageSection.tsx index b738c72..3d19352 100644 --- a/frontend/src/components/BrandAssets/LogosPackageSection.tsx +++ b/frontend/src/components/BrandAssets/LogosPackageSection.tsx @@ -31,7 +31,6 @@ const LogosPackageSection: React.FC = ({
); diff --git a/frontend/src/components/Cooperative/MemberSection/index.tsx b/frontend/src/components/Cooperative/MemberSection/index.tsx index a81a3bc..67e8095 100644 --- a/frontend/src/components/Cooperative/MemberSection/index.tsx +++ b/frontend/src/components/Cooperative/MemberSection/index.tsx @@ -16,13 +16,16 @@ const MemberSection: React.FC = ({ memberData }) => { {memberData.subtitle}

-

+

{memberData.secondaryHeader}

); diff --git a/frontend/src/components/Cooperative/hero.tsx b/frontend/src/components/Cooperative/hero.tsx index 926f57e..0a90d6d 100644 --- a/frontend/src/components/Cooperative/hero.tsx +++ b/frontend/src/components/Cooperative/hero.tsx @@ -33,7 +33,9 @@ const Hero: React.FC = ({ heroData }) => { span]:text-base [&>span]:text-primary-text" + } />
= ({
) : null} diff --git a/frontend/src/components/Earn/Hero.tsx b/frontend/src/components/Earn/Hero.tsx index bbe9cf1..7203d8b 100644 --- a/frontend/src/components/Earn/Hero.tsx +++ b/frontend/src/components/Earn/Hero.tsx @@ -1,5 +1,6 @@ import React from "react"; +import clsx from "clsx"; import Image from "next/image"; import { HeroQueryType } from "@/queries/earn/hero"; @@ -16,7 +17,12 @@ const Hero: React.FC = ({ heroData }) => {

{title}

{subtitle}

-
+
icon = ({ "flex flex-col gap-8 px-6 py-8 md:px-8 md:py-12", )} > -
+
= ({ alt="Product Icon" />
-
{header}
-
+ {header} + {productName} -
+
+ Background Image
{arrowLinks.map((arrowLink) => ( diff --git a/frontend/src/components/Earn/TabSection/CuratorTabContent/index.tsx b/frontend/src/components/Earn/TabSection/CuratorTabContent/index.tsx index 082c811..7d3b0da 100644 --- a/frontend/src/components/Earn/TabSection/CuratorTabContent/index.tsx +++ b/frontend/src/components/Earn/TabSection/CuratorTabContent/index.tsx @@ -14,7 +14,7 @@ const CuratorTabContent: React.FC = ({ }) => { return (
-
+
{title}
{description}
@@ -26,7 +26,7 @@ const CuratorTabContent: React.FC = ({

{scoutExplanation}

diff --git a/frontend/src/components/Earn/TabSection/JurorTabContent/CourtsSection.tsx b/frontend/src/components/Earn/TabSection/JurorTabContent/CourtsSection.tsx index 2833ffd..29b95ff 100644 --- a/frontend/src/components/Earn/TabSection/JurorTabContent/CourtsSection.tsx +++ b/frontend/src/components/Earn/TabSection/JurorTabContent/CourtsSection.tsx @@ -1,3 +1,4 @@ +import clsx from "clsx"; import Image from "next/image"; import PlusIcon from "@/assets/svgs/icons/plus-icon.svg"; @@ -18,23 +19,24 @@ const CourtsSection: React.FC = ({ }) => { return ( <> -

+

{mostActiveCourtsHeader}

{mostActiveCourts.map((court) => ( - + ))} - +

{cta.notice}

+
+

{cta.cta_text}

+ +
); diff --git a/frontend/src/components/ForBuilders/UseCasesSection/DAOSection/Header.tsx b/frontend/src/components/ForBuilders/UseCasesSection/DAOSection/Header.tsx index 0811d88..7cc0dc4 100644 --- a/frontend/src/components/ForBuilders/UseCasesSection/DAOSection/Header.tsx +++ b/frontend/src/components/ForBuilders/UseCasesSection/DAOSection/Header.tsx @@ -18,12 +18,14 @@ const Header: React.FC = ({ useCasesData }) => {

= ({ useCasesData }) => {
); diff --git a/frontend/src/components/ForBuilders/UseCasesSection/index.tsx b/frontend/src/components/ForBuilders/UseCasesSection/index.tsx index b6498f6..bb9ddec 100644 --- a/frontend/src/components/ForBuilders/UseCasesSection/index.tsx +++ b/frontend/src/components/ForBuilders/UseCasesSection/index.tsx @@ -11,7 +11,7 @@ interface IUseCasesSection { const UseCasesSection: React.FC = ({ useCasesData }) => { return ( -
+

{useCasesData.sectionHeader}

diff --git a/frontend/src/components/IntegrateSection/index.tsx b/frontend/src/components/IntegrateSection/index.tsx index ec6b2cb..a02d849 100644 --- a/frontend/src/components/IntegrateSection/index.tsx +++ b/frontend/src/components/IntegrateSection/index.tsx @@ -34,7 +34,7 @@ const IntegrateSection: React.FC = async () => { className="!mt-12 lg:!mt-16" /> diff --git a/frontend/src/components/Navbar/AppsDropdownContent/Card.tsx b/frontend/src/components/Navbar/AppsDropdownContent/Card.tsx index ac5f0e6..06a27bb 100644 --- a/frontend/src/components/Navbar/AppsDropdownContent/Card.tsx +++ b/frontend/src/components/Navbar/AppsDropdownContent/Card.tsx @@ -28,6 +28,7 @@ const Card: React.FC = ({ solution, variant, onClick, className }) => { {...{ onClick }} > {solution?.solution_name} = ({
{appsSection?.solutions.map((solution, i) => ( @@ -49,9 +50,9 @@ const getVariant = (index: number): "large" | "medium" | "small" => { const getRowSpan = ( index: number, -): "lg:row-span-4" | "lg:row-span-2" | undefined => { - if (index === 0) return "lg:row-span-4"; - if (index < 3) return "lg:row-span-2"; +): "md:row-span-2 lg:row-span-4" | "md:row-span-2" | undefined => { + if (index === 0) return "md:row-span-2 lg:row-span-4"; + if (index < 3) return "md:row-span-2"; }; export default AppsDropdownContent; diff --git a/frontend/src/components/Navbar/index.tsx b/frontend/src/components/Navbar/index.tsx index 05f6637..89be30e 100644 --- a/frontend/src/components/Navbar/index.tsx +++ b/frontend/src/components/Navbar/index.tsx @@ -34,80 +34,93 @@ const Navbar: React.FC = ({ navbarData }) => { return (
- toggleMenuOpen(false)} - > - Kleros - +
+
+ toggleMenuOpen(false)} + > + Kleros + - + -
- -
+
+ +
-
- - - -
+
+ + + +
- - {menuOpen ? ( - toggleMenuOpen(false)} - > - - toggleMenuOpen(false)} - onClick={(e) => e.stopPropagation()} - /> - - - ) : null} - + + {menuOpen ? ( + toggleMenuOpen(false)} + > + + toggleMenuOpen(false)} + onClick={(e) => e.stopPropagation()} + /> + + + ) : null} + +
+
); }; diff --git a/frontend/src/components/PNKToken/TokenNeedSection/index.tsx b/frontend/src/components/PNKToken/TokenNeedSection/index.tsx index 68b6c71..7c73647 100644 --- a/frontend/src/components/PNKToken/TokenNeedSection/index.tsx +++ b/frontend/src/components/PNKToken/TokenNeedSection/index.tsx @@ -20,13 +20,11 @@ const TokenNeedSection: React.FC = ({ tokenNeedData }) => { ))}
-
- -
+
); }; diff --git a/frontend/src/components/PNKToken/TokenomicsSection/index.tsx b/frontend/src/components/PNKToken/TokenomicsSection/index.tsx index d209461..6afe06e 100644 --- a/frontend/src/components/PNKToken/TokenomicsSection/index.tsx +++ b/frontend/src/components/PNKToken/TokenomicsSection/index.tsx @@ -22,7 +22,7 @@ const TokenomicsSection: React.FC = ({
); diff --git a/frontend/src/components/ResearchDevelopment/Hero.tsx b/frontend/src/components/ResearchDevelopment/Hero.tsx index 3625dbe..dda1c4f 100644 --- a/frontend/src/components/ResearchDevelopment/Hero.tsx +++ b/frontend/src/components/ResearchDevelopment/Hero.tsx @@ -37,7 +37,9 @@ const Hero: React.FC = ({ heroData }) => { key={link.text} text={link.text} url={link.link.url} - className="[&>span]:text-base [&>span]:text-primary-text" + className={ + "text-start [&>span]:text-base [&>span]:text-primary-text" + } /> ))}
diff --git a/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/Fellows/FellowCard.tsx b/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/Fellows/FellowCard.tsx index 32dc8b7..051bcfa 100644 --- a/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/Fellows/FellowCard.tsx +++ b/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/Fellows/FellowCard.tsx @@ -13,7 +13,11 @@ const FellowCard: React.FC = ({ arrowLinkText, }) => { return ( -
+
= ({

- +
); diff --git a/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/WaitlistSection.tsx b/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/WaitlistSection.tsx index 460a3ac..86dbe64 100644 --- a/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/WaitlistSection.tsx +++ b/frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/WaitlistSection.tsx @@ -15,16 +15,15 @@ const WaitlistSection: React.FC = ({ return (
-
-

+
+

{header} -

-
+

+
= ({
-
- Icon -
+ Kleros Logo
); }; diff --git a/frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/PublicationCard.tsx b/frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/PublicationCard.tsx index 39eec27..534d766 100644 --- a/frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/PublicationCard.tsx +++ b/frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/PublicationCard.tsx @@ -39,7 +39,7 @@ const PublicationCard: React.FC = ({