Skip to content

Commit

Permalink
Fix component file structure and paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Rami Ouanes committed Nov 9, 2024
1 parent 56c6bd0 commit 0591a9d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 24 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions src/app.jsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion src/components/PresentationSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ const PresentationSection = ({ title, icon: Icon, children }) => {
);
};

export default PresentationSection;
export default PresentationSection;
2 changes: 1 addition & 1 deletion src/components/PricingTier.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ const PricingTier = ({ title, features, highlighted = false }) => (
</div>
);

export default PricingTier;
export default PricingTier;
2 changes: 1 addition & 1 deletion src/components/ProcessStep.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ const ProcessStep = ({ number, title, description, icon: Icon }) => (
</div>
);

export default ProcessStep;
export default ProcessStep;
2 changes: 1 addition & 1 deletion src/components/pillar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ const Pillar = ({ title, icon: Icon, items }) => (
</div>
);

export default Pillar;
export default Pillar;

0 comments on commit 0591a9d

Please sign in to comment.