Skip to content

Commit

Permalink
revert dashboard changes
Browse files Browse the repository at this point in the history
revert dashboard changes
  • Loading branch information
vraja-pro committed Jan 10, 2025
1 parent 6677dbd commit 510a743
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions packages/js/src/dashboard/components/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ export const Dashboard = ( { contentTypes, userName, features, endpoints, header
return (
<>
<PageTitle userName={ userName } features={ features } links={ links } />
<div className="yst-flex yst-flex-row">
<div className="yst-flex yst-flex-col yst-gap-6 yst-my-6 yst-basis-2/3">
{ features.indexables && features.seoAnalysis && (
<Scores analysisType="seo" contentTypes={ contentTypes } endpoint={ endpoints.seoScores } headers={ headers } />
) }
{ features.indexables && features.readabilityAnalysis && (
<Scores analysisType="readability" contentTypes={ contentTypes } endpoint={ endpoints.readabilityScores } headers={ headers } />
) }
</div>
<div className="yst-flex yst-flex-col @7xl:yst-flex-row yst-gap-6 yst-my-6">
{ features.indexables && features.seoAnalysis && (
<Scores analysisType="seo" contentTypes={ contentTypes } endpoint={ endpoints.seoScores } headers={ headers } />
) }
{ features.indexables && features.readabilityAnalysis && (
<Scores analysisType="readability" contentTypes={ contentTypes } endpoint={ endpoints.readabilityScores } headers={ headers } />
) }
</div>
</>
);
Expand Down

0 comments on commit 510a743

Please sign in to comment.