From 946e7b51fe3bcc9bb7840e81699254fa6cae5ff0 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 23 Mar 2026 20:21:37 -0300 Subject: [PATCH] Prettier added and remake identation os project --- .prettierignore | 3 + .prettierrc | 1 + eslint.config.js | 22 +- package-lock.json | 17 + package.json | 1 + postcss.config.js | 2 +- src/App.jsx | 1240 +++++++++++++++++++++++++------------------- src/index.css | 2 +- src/main.jsx | 12 +- tailwind.config.js | 24 +- vite.config.js | 14 +- 11 files changed, 769 insertions(+), 569 deletions(-) create mode 100644 .prettierignore create mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..1b8ac88 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +# Ignore artifacts: +build +coverage diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/.prettierrc @@ -0,0 +1 @@ +{} diff --git a/eslint.config.js b/eslint.config.js index 4fa125d..6196e83 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,13 +1,13 @@ -import js from '@eslint/js' -import globals from 'globals' -import reactHooks from 'eslint-plugin-react-hooks' -import reactRefresh from 'eslint-plugin-react-refresh' -import { defineConfig, globalIgnores } from 'eslint/config' +import js from "@eslint/js"; +import globals from "globals"; +import reactHooks from "eslint-plugin-react-hooks"; +import reactRefresh from "eslint-plugin-react-refresh"; +import { defineConfig, globalIgnores } from "eslint/config"; export default defineConfig([ - globalIgnores(['dist']), + globalIgnores(["dist"]), { - files: ['**/*.{js,jsx}'], + files: ["**/*.{js,jsx}"], extends: [ js.configs.recommended, reactHooks.configs.flat.recommended, @@ -17,13 +17,13 @@ export default defineConfig([ ecmaVersion: 2020, globals: globals.browser, parserOptions: { - ecmaVersion: 'latest', + ecmaVersion: "latest", ecmaFeatures: { jsx: true }, - sourceType: 'module', + sourceType: "module", }, }, rules: { - 'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }], + "no-unused-vars": ["error", { varsIgnorePattern: "^[A-Z_]" }], }, }, -]) +]); diff --git a/package-lock.json b/package-lock.json index bb79ff7..837483a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,6 +22,7 @@ "eslint-plugin-react-refresh": "^0.5.2", "globals": "^17.4.0", "postcss": "^8.5.8", + "prettier": "3.8.1", "tailwindcss": "^3.4.1", "vite": "^8.0.1", "vite-plugin-eslint": "^1.8.1" @@ -2903,6 +2904,22 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.1.tgz", + "integrity": "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", diff --git a/package.json b/package.json index 7e68780..623b291 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "eslint-plugin-react-refresh": "^0.5.2", "globals": "^17.4.0", "postcss": "^8.5.8", + "prettier": "3.8.1", "tailwindcss": "^3.4.1", "vite": "^8.0.1", "vite-plugin-eslint": "^1.8.1" diff --git a/postcss.config.js b/postcss.config.js index 2e7af2b..2aa7205 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,4 +3,4 @@ export default { tailwindcss: {}, autoprefixer: {}, }, -} +}; diff --git a/src/App.jsx b/src/App.jsx index 3a3a95a..3e5ca95 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2,580 +2,762 @@ function App() { return ( <>
-
-
-
-
- Rwanda - - Canada -
- TRANSPORT -
- - - -
- - - -
+
+
+
+
+ Rwanda + + Canada
+ + TRANSPORT + +
+ + + +
+ + + +
+
-
-
-
-
-

Reliable Transport Services from Rwanda to Canada

-

We provide safe, efficient, and affordable shipping solutions for your personal and commercial goods between Rwanda and Canada.

-
- - -
-
-
- Cargo transport -
+
+
+
+
+

+ Reliable Transport Services from Rwanda to Canada +

+

+ We provide safe, efficient, and affordable shipping solutions + for your personal and commercial goods between Rwanda and + Canada. +

+
+ +
+
+
+ Cargo transport +
+
-
-
-
-
10+
-
Years Experience
-
-
-
5,000+
-
Successful Shipments
-
-
-
98%
-
On-Time Delivery
-
-
-
24/7
-
Customer Support
-
-
+
+
+
+
10+
+
Years Experience
+
+
+
5,000+
+
Successful Shipments
+
+
+
98%
+
On-Time Delivery
+
+
+
24/7
+
Customer Support
+
+
-
-

Our Transport Services

-

We offer comprehensive shipping solutions tailored to meet your specific needs between Rwanda and Canada.

- -
-
-
- Air Freight -
-
-
-
- -
-

Air Freight

-
-

Fast and secure air shipping for time-sensitive shipments. Delivery in 3-7 business days.

-
    -
  • - - Ideal for documents and small packages -
  • -
  • - - Door-to-door service available -
  • -
  • - - Real-time tracking -
  • -
- -
-
- -
-
- Sea Freight -
-
-
-
- -
-

Sea Freight

-
-

Cost-effective ocean shipping for larger shipments. Delivery in 4-6 weeks.

-
    -
  • - - Full container (FCL) and less than container (LCL) -
  • -
  • - - Ideal for household goods and commercial cargo -
  • -
  • - - Customs clearance included -
  • -
- -
-
- -
-
- Personal Belongings -
-
-
-
- -
-

Personal Belongings

-
-

Specialized service for individuals relocating between Rwanda and Canada.

-
    -
  • - - Door-to-door delivery -
  • -
  • - - Packing and unpacking services -
  • -
  • - - Insurance options available -
  • -
- -
-
+
+

Our Transport Services

+

+ We offer comprehensive shipping solutions tailored to meet your + specific needs between Rwanda and Canada. +

+ +
+
+
+ Air Freight
+
+
+
+ +
+

Air Freight

+
+

+ Fast and secure air shipping for time-sensitive shipments. + Delivery in 3-7 business days. +

+
    +
  • + + Ideal for documents and small packages +
  • +
  • + + Door-to-door service available +
  • +
  • + + Real-time tracking +
  • +
+ +
+
+ +
+
+ Sea Freight +
+
+
+
+ +
+

Sea Freight

+
+

+ Cost-effective ocean shipping for larger shipments. Delivery + in 4-6 weeks. +

+
    +
  • + + + Full container (FCL) and less than container (LCL) + +
  • +
  • + + Ideal for household goods and commercial cargo +
  • +
  • + + Customs clearance included +
  • +
+ +
+
+ +
+
+ Personal Belongings +
+
+
+
+ +
+

+ Personal Belongings +

+
+

+ Specialized service for individuals relocating between Rwanda + and Canada. +

+
    +
  • + + Door-to-door delivery +
  • +
  • + + Packing and unpacking services +
  • +
  • + + Insurance options available +
  • +
+ +
+
+
-
-

How Our Transport Service Works

-

Simple steps to get your goods from Rwanda to Canada safely and efficiently.

- -
-
-
-
1
-
-

Request a Quote

-

Fill out our online form or contact us directly to get a customized shipping quote.

-
- -
-
-
2
-
-

Prepare Your Shipment

-

Pack your items securely or use our professional packing services.

-
- -
-
-
3
-
-

We Handle Transport

-

We collect your shipment and manage all transport and customs procedures.

-
- -
-
-
4
-
-

Delivery to Destination

-

Your shipment arrives safely at its destination in Canada.

-
+
+

How Our Transport Service Works

+

+ Simple steps to get your goods from Rwanda to Canada safely and + efficiently. +

+ +
+
+
+
+ 1 +
+

+ Request a Quote +

+

+ Fill out our online form or contact us directly to get a + customized shipping quote. +

+
+ +
+
+
+ 2 +
+
+

+ Prepare Your Shipment +

+

+ Pack your items securely or use our professional packing + services. +

+
+ +
+
+
+ 3 +
+
+

+ We Handle Transport +

+

+ We collect your shipment and manage all transport and customs + procedures. +

+
+ +
+
+
+ 4 +
+
+

+ Delivery to Destination +

+

+ Your shipment arrives safely at its destination in Canada. +

+
+
-
-

Transport Pricing

-

Competitive rates for shipping between Rwanda and Canada.

- -
-
-
-

Air Freight

-

Fastest delivery option

-
-
-
From $8/kg
-
    -
  • - - 3-7 business days -
  • -
  • - - Ideal for urgent shipments -
  • -
  • - - Door-to-door service -
  • -
  • - - Real-time tracking -
  • -
- -
-
- -
-
- MOST POPULAR -
-
-

Sea Freight

-

Cost-effective for large shipments

-
-
-
From $1,200/m³
-
    -
  • - - 4-6 weeks transit time -
  • -
  • - - FCL and LCL options -
  • -
  • - - Ideal for household moves -
  • -
  • - - Customs clearance included -
  • -
- -
-
- -
-
-

Personal Effects

-

Relocation packages

-
-
-
Custom Pricing
-
    -
  • - - Tailored to your needs -
  • -
  • - - Packing services available -
  • -
  • - - Insurance options -
  • -
  • - - Storage solutions -
  • -
- -
-
+
+

Transport Pricing

+

+ Competitive rates for shipping between Rwanda and Canada. +

+ +
+
+
+

Air Freight

+

Fastest delivery option

- -
-

Factors Affecting Shipping Costs

-
-
-
- -
-
-

Weight & Volume

-

Heavier and larger shipments cost more to transport.

-
-
-
-
- -
-
-

Transit Time

-

Faster shipping methods like air freight cost more.

-
-
-
-
- -
-
-

Special Handling

-

Fragile, perishable, or high-value items may require special care.

-
-
-
-
- -
-
-

Customs Fees

-

Duties and taxes vary depending on the goods being shipped.

-
-
-
+
+
+ From $8/kg +
+
    +
  • + + 3-7 business days +
  • +
  • + + Ideal for urgent shipments +
  • +
  • + + Door-to-door service +
  • +
  • + + Real-time tracking +
  • +
+
+
+ +
+
+ MOST POPULAR +
+
+

Sea Freight

+

Cost-effective for large shipments

+
+
+
+ From $1,200/m³ +
+
    +
  • + + 4-6 weeks transit time +
  • +
  • + + FCL and LCL options +
  • +
  • + + Ideal for household moves +
  • +
  • + + Customs clearance included +
  • +
+ +
+
+ +
+
+

Personal Effects

+

Relocation packages

+
+
+
+ Custom Pricing +
+
    +
  • + + Tailored to your needs +
  • +
  • + + Packing services available +
  • +
  • + + Insurance options +
  • +
  • + + Storage solutions +
  • +
+ +
+
+ +
+

+ Factors Affecting Shipping Costs +

+
+
+
+ +
+
+

Weight & Volume

+

+ Heavier and larger shipments cost more to transport. +

+
+
+
+
+ +
+
+

Transit Time

+

+ Faster shipping methods like air freight cost more. +

+
+
+
+
+ +
+
+

Special Handling

+

+ Fragile, perishable, or high-value items may require special + care. +

+
+
+
+
+ +
+
+

Customs Fees

+

+ Duties and taxes vary depending on the goods being shipped. +

+
+
+
+
+
-
-

What Our Customers Say

-

Hear from people who have used our Rwanda-Canada transport services.

- -
-
-
-
- Alice U. -
-
-

Alice U.

-
- - - - - -
-
-
-

"I shipped my household goods from Kigali to Toronto and everything arrived perfectly. The team handled all the paperwork and customs clearance, making my relocation stress-free."

-
May 15, 2023
-
- -
-
-
- Jean P. -
-
-

Jean P.

-
- - - - - -
-
-
-

"As a business owner importing Rwandan coffee to Montreal, I rely on their sea freight service. Consistent, reliable, and excellent communication throughout the process."

-
March 2, 2023
-
- -
-
-
- Grace K. -
-
-

Grace K.

-
- - - - - -
-
-
-

"Sent important documents to my family in Vancouver via their air freight service. Arrived in 4 days with tracking updates every step of the way. Highly recommended!"

-
January 28, 2023
+
+

What Our Customers Say

+

+ Hear from people who have used our Rwanda-Canada transport services. +

+ +
+
+
+
+ Alice U. +
+
+

Alice U.

+
+ + + + +
+
+

+ "I shipped my household goods from Kigali to Toronto and + everything arrived perfectly. The team handled all the paperwork + and customs clearance, making my relocation stress-free." +

+
May 15, 2023
+
+ +
+
+
+ Jean P. +
+
+

Jean P.

+
+ + + + + +
+
+
+

+ "As a business owner importing Rwandan coffee to Montreal, I + rely on their sea freight service. Consistent, reliable, and + excellent communication throughout the process." +

+
March 2, 2023
+
+ +
+
+
+ Grace K. +
+
+

Grace K.

+
+ + + + + +
+
+
+

+ "Sent important documents to my family in Vancouver via their + air freight service. Arrived in 4 days with tracking updates + every step of the way. Highly recommended!" +

+
January 28, 2023
+
+
-
-
-
-

About Our Transport Company

-

With over 10 years of experience in international shipping, we specialize in transport services between Rwanda and Canada. Our team understands the unique challenges of this route and has developed efficient solutions to ensure your goods arrive safely and on time.

-

We pride ourselves on our Rwandan roots and Canadian connections, offering culturally sensitive service with international standards. Whether you're an individual relocating or a business expanding across continents, we've got you covered.

-
-
-
- -
- Licensed and insured -
-
-
- -
- Experienced customs brokers -
-
-
- -
- Bilingual support (English/French/Kinyarwanda) -
-
+
+
+
+

+ About Our Transport Company +

+

+ With over 10 years of experience in international shipping, we + specialize in transport services between Rwanda and Canada. Our + team understands the unique challenges of this route and has + developed efficient solutions to ensure your goods arrive safely + and on time. +

+

+ We pride ourselves on our Rwandan roots and Canadian + connections, offering culturally sensitive service with + international standards. Whether you're an individual relocating + or a business expanding across continents, we've got you + covered. +

+
+
+
+
-
-
-
- Warehouse -
-
- Shipping containers -
-
- Cargo plane -
-
- Delivery truck -
-
+ Licensed and insured +
+
+
+
+ Experienced customs brokers +
+
+
+ +
+ + Bilingual support (English/French/Kinyarwanda) + +
+
+
+
+
+ Warehouse +
+
+ Shipping containers +
+
+ Cargo plane +
+
+ Delivery truck +
+
+
+
-
-

Frequently Asked Questions

- -
-
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
+
+

Frequently Asked Questions

+ +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
- ) + ); } -export default App +export default App; diff --git a/src/index.css b/src/index.css index bd6213e..b5c61c9 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,3 @@ @tailwind base; @tailwind components; -@tailwind utilities; \ No newline at end of file +@tailwind utilities; diff --git a/src/main.jsx b/src/main.jsx index 5c50cc5..78429b0 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -1,10 +1,10 @@ -import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' -import App from './App' -import './index.css' +import { StrictMode } from "react"; +import { createRoot } from "react-dom/client"; +import App from "./App"; +import "./index.css"; -createRoot(document.getElementById('root')).render( +createRoot(document.getElementById("root")).render( , -) +); diff --git a/tailwind.config.js b/tailwind.config.js index 0613a62..eb19bc4 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,21 +1,17 @@ /** @type {import('tailwindcss').Config} */ export default { - content: [ - "./index.html", - "./src/**/*.{js,ts,jsx,tsx}", - ], + content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"], theme: { extend: { colors: { - 'rwanda-blue': '#20603d', - 'rwanda-yellow': '#fad201', - 'canada-red': '#d52b1e', - 'primary': '#20603d', - 'secondary': '#d52b1e', - 'accent': '#fad201', - } - } + "rwanda-blue": "#20603d", + "rwanda-yellow": "#fad201", + "canada-red": "#d52b1e", + primary: "#20603d", + secondary: "#d52b1e", + accent: "#fad201", + }, + }, }, plugins: [], -} - +}; diff --git a/vite.config.js b/vite.config.js index 89ccc9d..87980f6 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,12 +1,12 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' -import eslint from 'vite-plugin-eslint' +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import eslint from "vite-plugin-eslint"; // https://vite.dev/config/ export default defineConfig({ - plugins: [react(),eslint(),], + plugins: [react(), eslint()], build: { - outDir: '../Sites/AssadProd', + outDir: "../Sites/AssadProd", emptyOutDir: true, - } -}) + }, +});