Compare commits
5 Commits
6603c458d4
...
4ce7d2ec07
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ce7d2ec07 | ||
|
|
13857628bb | ||
|
|
5878b63a0a | ||
|
|
e1aeb9ccd7 | ||
|
|
618b3064c3 |
@ -2,6 +2,9 @@
|
||||
NEXT_PUBLIC_API_URL=http://localhost:4000
|
||||
NEXT_PUBLIC_API_PREFIX=api/v1
|
||||
|
||||
# App Configuration
|
||||
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
||||
|
||||
# Authentication
|
||||
NEXTAUTH_URL=http://localhost:3000
|
||||
NEXTAUTH_SECRET=your-nextauth-secret-change-this-in-production
|
||||
|
||||
@ -32,7 +32,8 @@ export default function CarrierAcceptPage() {
|
||||
|
||||
try {
|
||||
// Appeler l'API backend pour accepter le booking
|
||||
const response = await fetch(`http://localhost:4000/api/v1/csv-booking-actions/accept/${token}`, {
|
||||
const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4000';
|
||||
const response = await fetch(`${apiUrl}/api/v1/csv-booking-actions/accept/${token}`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
@ -32,7 +32,8 @@ export default function CarrierRejectPage() {
|
||||
|
||||
try {
|
||||
// Appeler l'API backend pour refuser le booking
|
||||
const response = await fetch(`http://localhost:4000/api/v1/csv-booking-actions/reject/${token}`, {
|
||||
const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4000';
|
||||
const response = await fetch(`${apiUrl}/api/v1/csv-booking-actions/reject/${token}`, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
14
apps/frontend/app/icon.svg
Normal file
14
apps/frontend/app/icon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 35 KiB |
@ -4,8 +4,40 @@ import { manrope, montserrat } from '@/lib/fonts';
|
||||
import { Providers } from '@/components/providers';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL(process.env.NEXT_PUBLIC_APP_URL || 'https://xpeditis.com'),
|
||||
title: {
|
||||
default: 'Xpeditis - Maritime Freight Booking Platform',
|
||||
template: '%s | Xpeditis',
|
||||
},
|
||||
description: 'Search, compare, and book maritime freight in real-time. Get instant LCL shipping quotes and manage your shipments with Xpeditis.',
|
||||
icons: {
|
||||
icon: '/assets/logos/logo-black.svg',
|
||||
shortcut: '/assets/logos/logo-black.svg',
|
||||
apple: '/assets/logos/logo-black.svg',
|
||||
},
|
||||
manifest: '/manifest.json',
|
||||
openGraph: {
|
||||
type: 'website',
|
||||
locale: 'fr_FR',
|
||||
url: 'https://xpeditis.com',
|
||||
siteName: 'Xpeditis',
|
||||
title: 'Xpeditis - Maritime Freight Booking Platform',
|
||||
description: 'Search, compare, and book maritime freight in real-time',
|
||||
images: [
|
||||
{
|
||||
url: '/assets/logos/logo-black.svg',
|
||||
width: 1875,
|
||||
height: 1699,
|
||||
alt: 'Xpeditis Logo',
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title: 'Xpeditis - Maritime Freight Booking Platform',
|
||||
description: 'Search, compare, and book maritime freight in real-time',
|
||||
images: ['/assets/logos/logo-black.svg'],
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
|
||||
14
apps/frontend/public/assets/logos/logo-white.svg
Normal file
14
apps/frontend/public/assets/logos/logo-white.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 35 KiB |
@ -1,5 +0,0 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="48" height="48" rx="8" fill="#10183A"/>
|
||||
<path d="M14 14L34 34M34 14L14 34" stroke="#34CCCD" stroke-width="4" stroke-linecap="round"/>
|
||||
<circle cx="24" cy="24" r="3" fill="#34CCCD"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 308 B |
@ -1,11 +0,0 @@
|
||||
<svg width="180" height="48" viewBox="0 0 180 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- Icon/Symbol -->
|
||||
<rect width="48" height="48" rx="8" fill="#10183A"/>
|
||||
<path d="M14 14L34 34M34 14L14 34" stroke="#34CCCD" stroke-width="4" stroke-linecap="round"/>
|
||||
<circle cx="24" cy="24" r="3" fill="#34CCCD"/>
|
||||
|
||||
<!-- Text "XPEDITIS" -->
|
||||
<text x="58" y="34" font-family="Manrope, sans-serif" font-size="24" font-weight="700" fill="#10183A" letter-spacing="-0.5">
|
||||
XPEDITIS
|
||||
</text>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 517 B |
17
apps/frontend/public/manifest.json
Normal file
17
apps/frontend/public/manifest.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "Xpeditis - Maritime Freight Booking",
|
||||
"short_name": "Xpeditis",
|
||||
"description": "Search, compare, and book maritime freight in real-time",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#ffffff",
|
||||
"theme_color": "#10183A",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/logos/logo-black.svg",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user