style: harmonize back link style on project subpages
This commit is contained in:
parent
58f784c59c
commit
8536dedc9e
4 changed files with 16 additions and 28 deletions
|
|
@ -147,16 +147,13 @@ export default function ProjectGraylog() {
|
|||
|
||||
return (
|
||||
<div className="space-y-6 p-8">
|
||||
<div className="flex items-center justify-between">
|
||||
<h2 className="text-xl font-bold">Graylog</h2>
|
||||
<div>
|
||||
{projectId && (
|
||||
<Link
|
||||
to={`/projects/${projectId}`}
|
||||
className="rounded bg-gray-200 px-4 py-2 text-sm text-gray-700 hover:bg-gray-300"
|
||||
>
|
||||
Retour
|
||||
<Link to={`/projects/${projectId}`} className="mb-1 inline-flex text-sm text-blue-600 hover:underline">
|
||||
Back
|
||||
</Link>
|
||||
)}
|
||||
<h2 className="text-xl font-bold">Graylog</h2>
|
||||
</div>
|
||||
|
||||
{error && (
|
||||
|
|
|
|||
|
|
@ -304,16 +304,13 @@ export default function ProjectLiveAgent() {
|
|||
|
||||
return (
|
||||
<div className="p-8 space-y-6">
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<h2 className="text-xl font-bold">Live agent</h2>
|
||||
<div>
|
||||
{projectId && (
|
||||
<Link
|
||||
to={`/projects/${projectId}`}
|
||||
className="rounded bg-gray-200 px-4 py-2 text-sm text-gray-700 hover:bg-gray-300"
|
||||
>
|
||||
Retour
|
||||
<Link to={`/projects/${projectId}`} className="mb-1 inline-flex text-sm text-blue-600 hover:underline">
|
||||
Back
|
||||
</Link>
|
||||
)}
|
||||
<h2 className="text-xl font-bold">Live agent</h2>
|
||||
</div>
|
||||
|
||||
{error && (
|
||||
|
|
|
|||
|
|
@ -43,16 +43,13 @@ export default function ProjectModules() {
|
|||
|
||||
return (
|
||||
<div className="p-8">
|
||||
<div className="mb-6 flex items-center justify-between gap-3">
|
||||
<h2 className="text-xl font-bold">Modules du projet</h2>
|
||||
<div className="mb-6">
|
||||
{projectId && (
|
||||
<Link
|
||||
to={`/projects/${projectId}`}
|
||||
className="rounded bg-gray-200 px-4 py-2 text-sm text-gray-700 hover:bg-gray-300"
|
||||
>
|
||||
Retour
|
||||
<Link to={`/projects/${projectId}`} className="mb-1 inline-flex text-sm text-blue-600 hover:underline">
|
||||
Back
|
||||
</Link>
|
||||
)}
|
||||
<h2 className="text-xl font-bold">Modules du projet</h2>
|
||||
</div>
|
||||
|
||||
{error && (
|
||||
|
|
|
|||
|
|
@ -153,16 +153,13 @@ export default function ProjectTasks() {
|
|||
|
||||
return (
|
||||
<div className="space-y-6 p-8">
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<h2 className="text-xl font-bold">Tâches agent</h2>
|
||||
<div>
|
||||
{projectId && (
|
||||
<Link
|
||||
to={`/projects/${projectId}`}
|
||||
className="rounded bg-gray-200 px-4 py-2 text-sm text-gray-700 hover:bg-gray-300"
|
||||
>
|
||||
Retour
|
||||
<Link to={`/projects/${projectId}`} className="mb-1 inline-flex text-sm text-blue-600 hover:underline">
|
||||
Back
|
||||
</Link>
|
||||
)}
|
||||
<h2 className="text-xl font-bold">Tâches agent</h2>
|
||||
</div>
|
||||
|
||||
{error && (
|
||||
|
|
|
|||
Loading…
Reference in a new issue