Skip to content

Commit 15fa9c5

Browse files
authored
Merge pull request #16 from csprasad/dev
feature: update on home screen & universal color theme
2 parents 7770a76 + dd9aea2 commit 15fa9c5

20 files changed

+496
-427
lines changed

data/portfolio.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"name": "Brahmendraprasad",
44
"alias": "CSPrasad",
55
"bio": "Experienced iOS Engineer with a background in startups and freelance projects, specializing in Swift, UIKit, and full app lifecycle development. Skilled at turning ideas into functional apps, solving technical challenges, and collaborating with teams to deliver polished products. 🔹 Proven problem-solver – Debugged complex issues, optimized performance, and refactored legacy code in fast-paced environments. 🔹 Startup-tested – Built apps from scratch, adapted to changing requirements, and contributed across the entire development stack. 🔹 Freelance versatility – Delivered client projects with clean, maintainable code and seamless API integrations.Passionate about writing efficient code, improving user experience, and continuous learning. Looking to bring my practical skills and resilience to a forward-thinking engineering team.",
6-
"intro": "iOS Engineer crafting quality apps with startup experience and clean code principles.",
7-
"job_role": "iOS Engineer",
6+
"intro": "iOS Developer with 7 years of experience, crafting both professional and indie apps using SwiftUI and UIKit",
7+
"job_role": "iOS Developer",
88
"location": "Hyderabad",
99
"profile_picture": "../iPhone/assets/images/profile.jpg",
1010
"website": "",

iPhone/about.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<link rel="stylesheet" href="styles/shared.css">
99
<link rel="stylesheet" href="styles/app.css">
1010
<link rel="stylesheet" href="styles/about.css">
11+
<link rel="stylesheet" href="../styles/root.css">
1112
</head>
1213
<body>
1314
<div class="phone-container">

iPhone/contact.html

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<link rel="stylesheet" href="styles/shared.css">
1010
<link rel="stylesheet" href="styles/app.css">
1111
<link rel="stylesheet" href="styles/contact.css">
12+
<link rel="stylesheet" href="../styles/root.css">
1213

1314
</head>
1415
<body>
@@ -34,20 +35,6 @@ <h2>Contact Me</h2>
3435
feel free to reach out or download my resume.
3536
I'm always open to new opportunities and collaborations.</p>
3637

37-
<!-- Contact Item for Email -->
38-
<div class="contact-item">
39-
<a href="mailto:codealligator.csprasad@gmail.com" class="resume-btn">
40-
<i class="fas fa-envelope"></i> Email Me
41-
</a>
42-
</div>
43-
44-
<!-- Contact Item for Resume Download -->
45-
<div class="contact-item">
46-
<a href="path/to/your/resume.pdf" download class="resume-btn">
47-
<i class="fas fa-file-pdf"></i> Download Resume
48-
</a>
49-
</div>
50-
5138
<!-- Social Media Links -->
5239
<div class="social-links">
5340
<a href="https://www.linkedin.com/in/csprasadios" class="social-icon" target="_blank">
@@ -63,6 +50,17 @@ <h2>Contact Me</h2>
6350
<i class="fa-brands fa-square-instagram"></i>
6451
</a>
6552
</div>
53+
54+
<!-- Contact Item for Email -->
55+
<div class="contact-item">
56+
<a href="mailto:codealligator.csprasad@gmail.com" class="resume-btn">
57+
<i class="fas fa-envelope"></i> Email
58+
</a>
59+
60+
<a href="path/to/your/resume.pdf" download class="resume-btn">
61+
<i class="fas fa-file-pdf"></i> Resume
62+
</a>
63+
</div>
6664

6765
</div>
6866
</div>

iPhone/home.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
99
<link rel="stylesheet" href="styles/shared.css">
1010
<link rel="stylesheet" href="styles/homescreen.css">
11+
<link rel="stylesheet" href="../styles/root.css">
1112
</head>
1213
<body>
1314
<div class="phone-container">

iPhone/index.html

Lines changed: 0 additions & 43 deletions
This file was deleted.

iPhone/project-details.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<link rel="stylesheet" href="styles/shared.css">
1111
<link rel="stylesheet" href="styles/app.css">
1212
<link rel="stylesheet" href="styles/project-details.css">
13+
<link rel="stylesheet" href="../styles/root.css">
1314
</head>
1415
<body>
1516
<div class="phone-container">

iPhone/projects.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
<link rel="stylesheet" href="styles/shared.css">
1111
<link rel="stylesheet" href="styles/app.css">
1212
<link rel="stylesheet" href="styles/project.css">
13+
<link rel="stylesheet" href="../styles/root.css">
1314
</head>
14-
<body>
15+
<body class="project">
1516
<div class="phone-container">
1617
<!-- Side Buttons -->
1718
<div class="side-button volume-up"></div>

iPhone/scripts/dynamic-screens.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
function loadScreen(screen) {
2+
const container = document.getElementById("screen-content");
3+
4+
switch(screen) {
5+
case 'home':
6+
container.innerHTML = `
7+
<div class="page home-screen">
8+
<h1 class="text-center mt-4">Home Screen</h1>
9+
<p class="text-center">Welcome to my portfolio!</p>
10+
</div>`;
11+
break;
12+
13+
case 'work':
14+
container.innerHTML = `
15+
<div class="page work-screen">
16+
<h1 class="text-center mt-4">Work Screen</h1>
17+
<p class="text-center">Company map + details</p>
18+
</div>`;
19+
break;
20+
21+
case 'projects':
22+
container.innerHTML = `
23+
<div class="page projects-screen">
24+
<h1 class="text-center mt-4">Projects Screen</h1>
25+
<p class="text-center">List of apps</p>
26+
</div>`;
27+
break;
28+
29+
case 'contact':
30+
container.innerHTML = `
31+
<div class="page contact-screen">
32+
<h1 class="text-center mt-4">Contact Screen</h1>
33+
<p class="text-center">Email & socials</p>
34+
</div>`;
35+
break;
36+
}
37+
}

iPhone/scripts/index.js

Lines changed: 0 additions & 83 deletions
This file was deleted.

iPhone/scripts/project.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
document.addEventListener("DOMContentLoaded", async () => {
22
const projectContainer = document.querySelector(".list-section");
3+
4+
const fromLanding = document.referrer.includes("landing.html") || window.location.pathname.includes("landing.html");
35

46
try {
57
const response = await fetch("../data/portfolio.json");
@@ -29,11 +31,12 @@ document.addEventListener("DOMContentLoaded", async () => {
2931
appList.classList.add("app-list");
3032

3133
groupedApps[osType].forEach(app => {
34+
const iconPath = fromLanding ? `iPhone/${app.icon}` : app.icon;
3235
const appItem = document.createElement("div");
3336
appItem.classList.add("list-item");
3437

3538
appItem.innerHTML = `
36-
<img src="${app.icon}" alt="${app.name}" class="list-icon">
39+
<img src="${iconPath}" alt="${app.name}" class="list-icon">
3740
<div class="list-info">
3841
<span class="list-name">${app.name}</span>
3942
<span class="list-type">${app.category}</span>

0 commit comments

Comments
 (0)