Skip to content

Commit 04d7e02

Browse files
committed
Added
1 parent 2a823be commit 04d7e02

File tree

5,113 files changed

+1738764
-3578
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,113 files changed

+1738764
-3578
lines changed

backend/public/home/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
<body>
3737
<header class="header">
38-
<a href="#" class="logo"><img src="../../public/img/pngwing.com(5).png" style="width: 100%;" alt=""></a>
38+
<a href="#" class="logo"><img src="./images/pngwing.com(5).png" style="width: 100%;" alt=""></a>
3939
<div class="fas fa-bars"></div>
4040
<nav class="navbar">
4141
<ul>

backend/public/main.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ body{
193193
.home{
194194
min-height: 100vh;
195195
width: 100vw;
196-
background-image: url(../public/home/images/img1.jpg);
196+
background-image: url(./home/images/img1.jpg);
197197
background-size: cover;
198198
display: flex;
199199
align-items: center;

backend/public/projects.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ document.addEventListener('DOMContentLoaded', async () => {
88
const purchasedProjects = await response.json();
99

1010
// Add purchased projects to the HTML
11-
purchasedProjects.forEach((project) => {
12-
addProjectToUI(project);
13-
});
11+
// purchasedProjects.forEach((project) => {
12+
// addProjectToUI(project);
13+
// });
1414

1515
// Add new projects to the UI
1616
const newProjectsData = [

backend/server.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@ const app = express();
33
const PORT = process.env.PORT || 5000;
44

55
const purchasedProjects = [
6-
{ id: 'netflix', name: 'Netflix Clone', },
6+
{ id: 'netflix', name: 'Netflix Clone' },
77
// ... other projects ...
88
];
99

10+
// Serve the default home page from the "home" directory
11+
app.use(express.static('home', { index: 'index.html' }));
12+
1013
// Serve static files from the "public" directory
1114
app.use(express.static('public'));
1215

1316
// Define API routes
14-
app.get('/api/purchased-projects', (req, res) => {
15-
res.json(purchasedProjects);
16-
});
17-
18-
// Handle root URL
1917
app.get('/', (req, res) => {
18+
console.log('Accessed root URL');
2019
res.send('Hello from the backend server!');
2120
});
2221

careers.html

-208
This file was deleted.

chatBot/script.js

-86
This file was deleted.

0 commit comments

Comments
 (0)