From 0591a9dadcf7faa37f68bb6a1c247c72e9b71a0b Mon Sep 17 00:00:00 2001 From: Rami Ouanes Date: Sat, 9 Nov 2024 12:30:43 +0100 Subject: [PATCH] Fix component file structure and paths --- .github/workflows/deploy.yml | 23 ++++++++--------------- src/app.jsx | 10 +++++----- src/components/PresentationSection.jsx | 2 +- src/components/PricingTier.jsx | 2 +- src/components/ProcessStep.jsx | 2 +- src/components/pillar.jsx | 2 +- 6 files changed, 17 insertions(+), 24 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7967a2b..ea57211 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,27 +25,20 @@ jobs: with: node-version: '20' - - name: Debug directory structure before install + - name: Debug file structure run: | - echo "Current working directory:" - pwd - echo "\nDirectory contents:" - ls -la - echo "\nRepository root contents:" - ls -la $GITHUB_WORKSPACE - + echo "Current directory structure:" + tree + echo "\nContents of src directory:" + ls -la src/ + echo "\nContents of src/components directory:" + ls -la src/components/ + - name: Install dependencies run: | npm install npm install -g vite - - name: Debug directory structure after install - run: | - echo "src directory contents:" - ls -la src/ - echo "\nComponents directory contents:" - ls -la src/components/ - - name: Build run: | export NODE_OPTIONS="--max_old_space_size=4096" diff --git a/src/app.jsx b/src/app.jsx index 1fa0e60..f514511 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -1,9 +1,9 @@ import React from 'react'; -import { Building, Laptop, Users, Shield, Activity, Clock, MapPin, DollarSign, Calendar, Search, Database } from 'lucide-react'; -import PresentationSection from './components/PresentationSection.jsx'; -import Pillar from './components/Pillar.jsx'; -import ProcessStep from './components/ProcessStep.jsx'; -import PricingTier from './components/PricingTier.jsx'; +import { Building, Laptop, Users, Shield, Activity, Clock, MapPin, DollarSign, Calendar } from 'lucide-react'; +import PresentationSection from '/src/components/PresentationSection.jsx'; +import Pillar from '/src/components/Pillar.jsx'; +import ProcessStep from '/src/components/ProcessStep.jsx'; +import PricingTier from '/src/components/PricingTier.jsx'; export default function App() { return ( diff --git a/src/components/PresentationSection.jsx b/src/components/PresentationSection.jsx index b7cf8a7..87bf55e 100644 --- a/src/components/PresentationSection.jsx +++ b/src/components/PresentationSection.jsx @@ -22,4 +22,4 @@ const PresentationSection = ({ title, icon: Icon, children }) => { ); }; -export default PresentationSection; +export default PresentationSection; \ No newline at end of file diff --git a/src/components/PricingTier.jsx b/src/components/PricingTier.jsx index f0e37a1..51df213 100644 --- a/src/components/PricingTier.jsx +++ b/src/components/PricingTier.jsx @@ -15,4 +15,4 @@ const PricingTier = ({ title, features, highlighted = false }) => ( ); -export default PricingTier; +export default PricingTier; \ No newline at end of file diff --git a/src/components/ProcessStep.jsx b/src/components/ProcessStep.jsx index 84434e8..b84fb22 100644 --- a/src/components/ProcessStep.jsx +++ b/src/components/ProcessStep.jsx @@ -15,4 +15,4 @@ const ProcessStep = ({ number, title, description, icon: Icon }) => ( ); -export default ProcessStep; +export default ProcessStep; \ No newline at end of file diff --git a/src/components/pillar.jsx b/src/components/pillar.jsx index ba16e32..fa5b5d0 100644 --- a/src/components/pillar.jsx +++ b/src/components/pillar.jsx @@ -18,4 +18,4 @@ const Pillar = ({ title, icon: Icon, items }) => ( ); -export default Pillar; +export default Pillar; \ No newline at end of file