Skip to content

Commit b0368bb

Browse files
Merge pull request #384 from Durgesh-Vaigandla/main
Fixed Issues that Raised from PR's
2 parents e7006ca + 66cf254 commit b0368bb

11 files changed

+11101
-10930
lines changed

.idx/dev.nix

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# To learn more about how to use Nix to configure your environment
2+
# see: https://developers.google.com/idx/guides/customize-idx-env
3+
{ pkgs, ... }: {
4+
# Which nixpkgs channel to use.
5+
channel = "stable-23.11"; # or "unstable"
6+
7+
# Use https://search.nixos.org/packages to find packages
8+
packages = [
9+
# pkgs.go
10+
# pkgs.python311
11+
# pkgs.python311Packages.pip
12+
# pkgs.nodejs_20
13+
# pkgs.nodePackages.nodemon
14+
];
15+
16+
# Sets environment variables in the workspace
17+
env = {};
18+
idx = {
19+
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
20+
extensions = [
21+
# "vscodevim.vim"
22+
];
23+
24+
# Enable previews
25+
previews = {
26+
enable = true;
27+
previews = {
28+
# web = {
29+
# # Example: run "npm run dev" with PORT set to IDX's defined port for previews,
30+
# # and show it in IDX's web preview panel
31+
# command = ["npm" "run" "dev"];
32+
# manager = "web";
33+
# env = {
34+
# # Environment variables to set for your server
35+
# PORT = "$PORT";
36+
# };
37+
# };
38+
};
39+
};
40+
41+
# Workspace lifecycle hooks
42+
workspace = {
43+
# Runs when a workspace is first created
44+
onCreate = {
45+
# Example: install JS dependencies from NPM
46+
# npm-install = 'npm install';
47+
};
48+
onStart = {
49+
# Example: start a background task to watch and re-build backend code
50+
# watch-backend = "npm run watch-backend";
51+
};
52+
};
53+
};
54+
}

ScrollToTop.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@ goTopBtn.addEventListener('click', ()=>{
1616
top:0,
1717
behavior:"smooth"
1818
})
19-
})
20-
21-
19+
})

css/main.css

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/* Remove default hyperlink style */
2+
a {
3+
text-decoration: none;
4+
color: inherit;
5+
}
6+
7+
/* Footer CSS */
8+
.site-footer {
9+
background-color: #f5f5f5;
10+
padding: 30px 0;
11+
}
12+
13+
.site-footer h6 {
14+
font-size: 18px;
15+
margin-bottom: 15px;
16+
}
17+
18+
.site-footer ul {
19+
list-style: none;
20+
padding: 0;
21+
}
22+
23+
.site-footer li {
24+
margin-bottom: 10px;
25+
}
26+
27+
.site-footer a {
28+
color: #777;
29+
}
30+
31+
.site-footer a:hover {
32+
color: #333;
33+
}
34+
35+
.site-footer hr {
36+
margin: 20px 0;
37+
border-top: 1px solid #e5e5e5;
38+
}
39+
40+
.site-footer .copyright-text {
41+
font-size: 14px;
42+
text-align: center;
43+
margin-bottom: 0;
44+
}
45+
46+
47+
#goTopBtn {
48+
display: none;
49+
position: fixed;
50+
bottom: 20px;
51+
right: 30px;
52+
z-index: 99;
53+
border: none;
54+
outline: none;
55+
background-color: #555;
56+
color: white;
57+
cursor: pointer;
58+
padding: 15px;
59+
border-radius: 50%;
60+
font-size: 18px;
61+
62+
}
63+
64+
#goTopBtn:hover {
65+
background-color: #333;
66+
/* Darker shade on hover */
67+
}
68+
69+
#goTopBtn i {
70+
font-size: 24px;
71+
position: relative;
72+
left: 2px;
73+
/* Increase icon size for better visibility */
74+
}
75+

0 commit comments

Comments
 (0)