Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PB2204 committed Aug 10, 2023
0 parents commit 5951012
Show file tree
Hide file tree
Showing 22 changed files with 2,535 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
(function () {
[...document.querySelectorAll(".control")].forEach(button => {
button.addEventListener("click", function() {
document.querySelector(".active-btn").classList.remove("active-btn");
this.classList.add("active-btn");
document.querySelector(".active").classList.remove("active");
document.getElementById(button.dataset.id).classList.add("active");
})
});
document.querySelector(".theme-btn").addEventListener("click", () => {
document.body.classList.toggle("light-mode");
})
})();
Binary file added img/Android-Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Artemis-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Derivative.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Flappy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/JWST.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Lucy.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Memory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Multiverse.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Simulation.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Sketch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Spacecraft.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Terminal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/face-recognition.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/rotating-donut.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/unsplash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
578 changes: 578 additions & 0 deletions index.html

Large diffs are not rendered by default.

281 changes: 281 additions & 0 deletions styles/_media.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,281 @@
.about-container .left-about p{
padding-left: 0;
}

@media screen and (max-width: 600px) {
header{
padding: 0 !important;
}
.theme-btn{
width: 50px;
height: 50px;
}
.header-content{
grid-template-columns: repeat(1, 1fr);
padding-bottom: 6rem;
}

.left-header{
.h-shape{
display: none;
}
}
.right-header{
grid-row: 1;
padding-right: 0rem !important;
width: 90%;
margin: 0 auto;
.name{
font-size: 2.5rem !important;
text-align: center;
padding-top: 3rem;
}
}
.header-content .left-header .image{
margin: 0 auto;
width: 90%;
}

.controls{
top: auto;
bottom: 0;
flex-direction: row;
justify-content: center;
left: 50%;
transform: translateX(-50%);
width: 100%;
background-color: var(--color-grey-5);
.control{
margin: 1rem .3rem;
}
}

.about-container{
grid-template-columns: repeat(1, 1fr);
.right-about{
grid-template-columns: repeat(1, 1fr);
padding-top: 2.5rem;
}
.left-about{
padding-right: 0;
p{
padding-left: 0;
}
}
}

.timeline{
grid-template-columns: repeat(1, 1fr);
padding-bottom: 6rem;
}

.container{
padding: 2rem 2.5rem !important;
}

.about-stats{
.progress-bars{
grid-template-columns: repeat(1, 1fr);
}
}

.portfolios{
grid-template-columns: repeat(1, 1fr);
padding-bottom: 6rem;
margin-top: 1rem;
}

.blogs{
grid-template-columns: repeat(1, 1fr);
padding-bottom: 6rem;
}

.contact-content-con{
flex-direction: column;
.right-contact{
margin-left: 0;
margin-top: 2.5rem;
}

}
.contact-content-con .right-contact .i-c-2{
flex-direction: column;
}
.contact-content-con .right-contact .i-c-2 :last-child{
margin-left: 0;
margin-top: 1.5rem;
}

.contact-content-con .right-contact{
margin-bottom: 6rem;
}

.contact-item{
flex-direction: column;
margin: 1rem 0;
p{
font-size: 15px;
color: var(--color-grey-2);
}
span{
font-size: 15px;
}
.icon{
grid-template-columns: 25px 1fr;
}
}


.main-title{
h2{
font-size: 2rem;
span{
font-size: 2.3rem;
}
.bg-text{
font-size: 2.3rem;
}
}
}
}

@media screen and (max-width:1432px){
.container{
padding: 7rem 11rem;
}

.contact-content-con{
flex-direction: column;
.right-contact{
margin-left: 0;
margin-top: 2.5rem;
}

}
.contact-content-con .right-contact .i-c-2{
flex-direction: column;
}
.contact-content-con .right-contact .i-c-2 :last-child{
margin-left: 0;
margin-top: 1.5rem;
}

.contact-content-con .right-contact{
margin-bottom: 6rem;
}

.main-title{
h2{
.bg-text{
font-size: 5.5rem;
}
}
}

}




@media screen and (max-width:1250px){
.blogs{
grid-template-columns: repeat(2, 1fr);
margin-top: 6rem;
}
.portfolios{
grid-template-columns: repeat(2, 1fr);
}
.header-content .right-header{
padding-right: 9rem;
}

}
@media screen and (max-width:660px){
.blogs{
grid-template-columns: repeat(1, 1fr);
}
.portfolios{
grid-template-columns: repeat(1, 1fr);
}
}

@media screen and (max-width:1070px){
.about-container{
grid-template-columns: repeat(1, 1fr);
.right-about{
padding-top: 2.5rem;
}
}
.main-title{
h2{
font-size: 4rem;
span{
font-size: 4rem;
}
.bg-text{
font-size: 4.5rem;
}
}
}
}

@media screen and (max-width:970px){
.container{
padding: 7rem 6rem;
}
.about-container .left-about{
padding-right: 0rem;
}
.header-content{
grid-template-columns: repeat(1, 1fr);
padding-bottom: 6rem;
}

.left-header{
.h-shape{
display: none;
}
.image{
width: 90% !important;
margin: 0 auto !important;

}
}
.right-header{
grid-row: 1;
padding-right: 0rem !important;
width: 90%;
margin: 0 auto;
.name{
font-size: 2.5rem !important;
text-align: center;
padding-top: 3rem;
}
}
}
@media screen and (max-width:700px){
.container{
padding: 7rem 3rem;
}
.about-stats .progress-bars{
grid-template-columns: repeat(1, 1fr);
}
.about-container .right-about{
grid-template-columns: repeat(1, 1fr);
}

.timeline{
grid-template-columns: repeat(1, 1fr);
}
.main-title{
h2{
font-size: 3rem;
span{
font-size: 3rem;
}
.bg-text{
font-size: 4rem;
}
}
}
}
Loading

0 comments on commit 5951012

Please sign in to comment.