fix(offers): align private navigation with portal dropdown menus
tests / ci (push) Canceled after 0s
tests / ci (push) Canceled after 0s
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Head, Link, router } from '@inertiajs/react';
|
||||
import { Head, router } from '@inertiajs/react';
|
||||
import { useState } from 'react';
|
||||
import {
|
||||
TerritoryFields,
|
||||
@@ -16,6 +16,7 @@ import OfferParticularsFields, {
|
||||
import OfferPrivateResources from '@/components/offer-private-resources';
|
||||
import OfferConfidentialAccess from '@/components/offer-confidential-access';
|
||||
import OfferOperations from '@/components/offer-operations';
|
||||
import OfferNavigation from '@/components/offer-navigation';
|
||||
|
||||
type Offer = OfferParticulars & {
|
||||
price_mode?: string | null;
|
||||
@@ -169,12 +170,7 @@ export default function OfferPreparation({
|
||||
return (
|
||||
<main className="mx-auto w-full max-w-4xl space-y-6 p-4 md:p-8">
|
||||
<Head title="Preparar oferta" />
|
||||
<Link
|
||||
href="/minhas-oportunidades/ofertas"
|
||||
className="text-sm underline"
|
||||
>
|
||||
As minhas ofertas
|
||||
</Link>
|
||||
<OfferNavigation canCreate={contexts.length > 0} />
|
||||
<header>
|
||||
<h1 className="text-2xl font-semibold">Preparar oferta</h1>
|
||||
<p className="text-muted-foreground mt-2">
|
||||
|
||||
Reference in New Issue
Block a user