Skip to content

Commit 0d83a8a

Browse files
committed
feat: Dynamic data loading & project structure improvements
- **Removed macOS & visionOS mockups** to streamline the portfolio design, focusing only on the iPhone mockup. - **Refactored all pages to load data dynamically from data json**, eliminating hardcoded content. - **Updated project details page** to fetch data based on os and id from the URL. - **Fixed data fetching bugs** where apps.find failed due to incorrect structure handling. - **Implemented structured OS-based navigation** for projects (iOS & macOS removed). - **Refactored project listing to display apps dynamically**, grouping them by OS category. - **Enhanced error handling & debugging logs** for better issue tracking. - **Pending: Contact screen dynamic data integration.**
1 parent e452c46 commit 0d83a8a

File tree

20 files changed

+624
-1483
lines changed

20 files changed

+624
-1483
lines changed

Portfolio/DashBoard/dashboard.html

-8
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ <h2>Hi, I'm Brahmendraprasad 👋</h2>
3333
</section>
3434
</div>
3535

36-
<!-- Middle Panel: OS Selector -->
37-
<div class="middle-panel">
38-
<button class="os-btn" data-platform="iPhone">iPhone</button>
39-
<button class="os-btn" data-platform="MacOS">macOS</button>
40-
<button class="os-btn" data-platform="VisionPro">visionOS</button>
41-
<button class="os-btn" data-platform="TabOS">TabOS</button>
42-
</div>
43-
4436
<!-- Right Panel: Dynamic Screen Display -->
4537
<div class="right-panel">
4638
<iframe id="os-display" src="../iPhone/index.html" frameborder="0"></iframe>

Portfolio/DashBoard/data/data.json

+357
Large diffs are not rendered by default.

Portfolio/DashBoard/styles/dashboard.css

+1-34
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/* Left Panel */
1414
.left-panel {
15-
width: 25%;
15+
width: 35%;
1616
background-color: #1e1e1e;
1717
color: white;
1818
display: flex;
@@ -23,30 +23,6 @@
2323
/* text-align: center; */
2424
}
2525

26-
/* Middle Panel */
27-
.middle-panel {
28-
width: 10%;
29-
background-color: #2c2c2c;
30-
display: flex;
31-
flex-direction: column;
32-
align-items: center;
33-
justify-content: center;
34-
gap: 15px;
35-
}
36-
37-
.os-btn {
38-
background-color: #444;
39-
color: white;
40-
border: none;
41-
padding: 10px 15px;
42-
cursor: pointer;
43-
border-radius: 5px;
44-
transition: 0.3s;
45-
}
46-
47-
.os-btn:hover {
48-
background-color: #666;
49-
}
5026

5127
/* Right Panel */
5228
.right-panel {
@@ -69,15 +45,6 @@
6945
.left-panel {
7046
display: none;
7147
}
72-
73-
.middle-panel {
74-
width: 100%;
75-
flex-direction: row;
76-
justify-content: center;
77-
gap: 10px;
78-
padding: 10px;
79-
}
80-
8148
.right-panel {
8249
width: 100%;
8350
}

Portfolio/MacOS/index.html

-215
This file was deleted.

Portfolio/MacOS/scripts/scripts.js

-63
This file was deleted.

0 commit comments

Comments
 (0)