Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move summary block higher on project details page #557

Merged
merged 4 commits into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions frontend/src/pages/ProjectDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ const ProjectDetailsPage = () => {
<div className="mx-auto max-w-6xl">
<h1 className="mb-6 mt-4 text-4xl font-bold">{project.name}</h1>
<p className="mb-6 text-xl">{project.description}</p>

<div className="mb-8 rounded-lg bg-gray-100 p-6 shadow-md dark:bg-gray-800">
<h2 className="mb-4 text-2xl font-semibold">Summary</h2>
<p>{project.summary}</p>
</div>
<div className="mb-8 grid grid-cols-1 gap-6 md:grid-cols-3">
<div className="rounded-lg bg-gray-100 p-6 shadow-md dark:bg-gray-800 md:col-span-2">
<h2 className="mb-4 text-2xl font-semibold">Project Details</h2>
Expand Down Expand Up @@ -124,12 +127,6 @@ const ProjectDetailsPage = () => {
</div>
</div>
</div>

<div className="mb-8 rounded-lg bg-gray-100 p-6 shadow-md dark:bg-gray-800">
<h2 className="mb-4 text-2xl font-semibold">Summary</h2>
<p>{project.summary}</p>
</div>

<div className="mb-8 grid grid-cols-1 gap-6 md:grid-cols-2">
<div className="rounded-lg bg-gray-100 p-6 shadow-md dark:bg-gray-800">
<h2 className="mb-4 text-2xl font-semibold">Languages</h2>
Expand Down
Loading