Skip to content

Commit

Permalink
bg imp
Browse files Browse the repository at this point in the history
  • Loading branch information
virajchandra51 committed Oct 3, 2023
1 parent e013a49 commit 593d182
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
.bg-image{
background-image: url("./assets/images/bg.png");
background-repeat: no-repeat;
background-size: contain;
background-size: fill;
background-attachment: fixed;
}

#overlay {
Expand Down
Binary file modified src/assets/images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/navbar/Navbar.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.codeutsava__navbar {
display: flex;
flex-direction: column;
background-color: black;
background-color: transparent;
backdrop-filter: blur(10px);
position: relative;
padding: 0px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/navbarTeam/NavbarTeam.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.codeutsava__navbarTeam {
display: flex;
flex-direction: column;
background-color: black;
background-color: rgba(250, 250, 250, 0);
backdrop-filter: blur(10px);
position: relative;
padding: 0px;
Expand Down
2 changes: 2 additions & 0 deletions src/pages/home/HomePage.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
width: 100%;
position: sticky;
top: 0px;
background-color: rgba(255, 255, 255, 0.001);
backdrop-filter: blur(8px);
}

.codeutsava__footer-container{
Expand Down
8 changes: 3 additions & 5 deletions src/pages/home/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ import ScrollToTopnew from "../../components/scrollToTop/ScrollToTop";

const HomePage = () => {
return (
<div>
<div className="bg-image">
<div id="overlay"></div>
<div className="codeutsava__navbar-container">
<Navbar />
</div>
<div className="container bg-image mx-auto">
<Navbar />
<div className="container mx-auto">
<Section1 />
</div>
<Statistics />
Expand Down

0 comments on commit 593d182

Please sign in to comment.