Compare commits
No commits in common. "4ce7d2ec07c280a53999ca11c5ab366b6fc8bfee" and "6603c458d43b9a83acec2ced7874bb18addbc81f" have entirely different histories.
4ce7d2ec07
...
6603c458d4
@ -2,9 +2,6 @@
|
|||||||
NEXT_PUBLIC_API_URL=http://localhost:4000
|
NEXT_PUBLIC_API_URL=http://localhost:4000
|
||||||
NEXT_PUBLIC_API_PREFIX=api/v1
|
NEXT_PUBLIC_API_PREFIX=api/v1
|
||||||
|
|
||||||
# App Configuration
|
|
||||||
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
||||||
|
|
||||||
# Authentication
|
# Authentication
|
||||||
NEXTAUTH_URL=http://localhost:3000
|
NEXTAUTH_URL=http://localhost:3000
|
||||||
NEXTAUTH_SECRET=your-nextauth-secret-change-this-in-production
|
NEXTAUTH_SECRET=your-nextauth-secret-change-this-in-production
|
||||||
|
|||||||
@ -32,8 +32,7 @@ export default function CarrierAcceptPage() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// Appeler l'API backend pour accepter le booking
|
// Appeler l'API backend pour accepter le booking
|
||||||
const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4000';
|
const response = await fetch(`http://localhost:4000/api/v1/csv-booking-actions/accept/${token}`, {
|
||||||
const response = await fetch(`${apiUrl}/api/v1/csv-booking-actions/accept/${token}`, {
|
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|||||||
@ -32,8 +32,7 @@ export default function CarrierRejectPage() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// Appeler l'API backend pour refuser le booking
|
// Appeler l'API backend pour refuser le booking
|
||||||
const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:4000';
|
const response = await fetch(`http://localhost:4000/api/v1/csv-booking-actions/reject/${token}`, {
|
||||||
const response = await fetch(`${apiUrl}/api/v1/csv-booking-actions/reject/${token}`, {
|
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 35 KiB |
@ -4,40 +4,8 @@ import { manrope, montserrat } from '@/lib/fonts';
|
|||||||
import { Providers } from '@/components/providers';
|
import { Providers } from '@/components/providers';
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
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',
|
title: 'Xpeditis - Maritime Freight Booking Platform',
|
||||||
description: 'Search, compare, and book maritime freight in real-time',
|
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 }) {
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 35 KiB |
5
apps/frontend/public/assets/logos/xpeditis-icon.svg
Normal file
5
apps/frontend/public/assets/logos/xpeditis-icon.svg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<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>
|
||||||
|
After Width: | Height: | Size: 308 B |
11
apps/frontend/public/assets/logos/xpeditis-logo.svg
Normal file
11
apps/frontend/public/assets/logos/xpeditis-logo.svg
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<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>
|
||||||
|
After Width: | Height: | Size: 517 B |
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"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