Skip to content

Commit

Permalink
modal
Browse files Browse the repository at this point in the history
  • Loading branch information
svedova1899 committed Aug 22, 2024
2 parents 11dd7c5 + 2acac73 commit b8ba824
Show file tree
Hide file tree
Showing 9 changed files with 88 additions and 33 deletions.
Binary file added src/images/modal-photo/Tymur.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer data-aos="fade-up" class="footer">
<div class="footer-div">
<footer class="footer">
<div data-aos="fade-up" class="footer-div">
<div class="footer-name">
<p class="homemade_ice_cream_made">
homemade ice cream made
Expand All @@ -8,6 +8,9 @@
WITH PASSION
</p>
</div>
<div class="footer-button-modal">
<button class="open-modal-button" onclick="openModal()">GoIT Students</button>
</div>
<div>
<ul class="icons">
<li class="icon icon1"><img class="icon-photo" src="./images/footer/Githab.png" alt=""></li>
Expand Down
1 change: 1 addition & 0 deletions src/partials/modal-team.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ <h1 class="team__title">People developers</h1>
</div>
<div class="team__card">
<div class="team_photo">
<img src="../images/modal-photo/Tymur.jpg" alt="photo-people" class="team_photo__img">
</div>
<a href="#" target="_blank">
<img src="../images/modal-photo/modal-github.svg" alt="">
Expand Down
2 changes: 1 addition & 1 deletion src/partials/section-gallery.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<section class="gallery-section">
<img src="../images/secrion-gallery/gallery.png" alt="">
<img src="https://i.postimg.cc/wjQ8SxQ4/gallery.png" alt="gallery">
</section>
17 changes: 13 additions & 4 deletions src/sass/components/_footer.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
.footer {
width: 90%;
// border: 1px solid red;
margin: 0 auto;
}
li {
list-style: none;
}

.footer {
width: 1280px;
margin: 0 auto;
width: 90%;
height: 247px;
background-color: rgb(255, 245, 246);
}

.footer-div {

display: flex;
justify-content: space-around;
}

.div{
.div {
margin-left: 120px;
margin-top: 58px;
}
Expand Down Expand Up @@ -128,7 +135,9 @@ li {
width: 1280px;
height: 45px;
border: 1px solid rgb(225, 225, 225);
}li {
}

li {
list-style: none;
}

Expand All @@ -144,7 +153,7 @@ li {
justify-content: space-around;
}

.div{
.div {
margin-left: 120px;
margin-top: 58px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/sass/components/_section-slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body {
position: relative;
width: 100%;
max-width: 926px;
height: 330px;
height: 350px;
margin: auto;
overflow: hidden;

Expand Down
37 changes: 26 additions & 11 deletions src/sass/components/_team-modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,36 @@ body {
}

.open-modal-button {
margin: 20px;
color: #FEA5BB;
text-transform: uppercase;
text-decoration: none;
border: 2px solid #FEA5BB;
padding: 10px 20px;
background-color: #FEA5BB;
font-size: 17px;
font-weight: bold;
background: transparent;
position: relative;
transition: all 1s;
overflow: hidden;
}
.open-modal-button:hover {
color: white;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.open-modal-button::before {
content: '';
position: absolute;
height: 100%;
width: 0%;
top: 0;
left: -40px;
transform: skewX(45deg);
background-color: #FEA5BB;
z-index: -1;
transition: all 1s;
}

.open-modal-button:hover {
background-color: #d6718a;
transform: scale(1.05);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
.open-modal-button:hover::before {
width: 160%;
}

.modal-backdrop {
Expand Down
49 changes: 36 additions & 13 deletions src/sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ body {
position: relative;
width: 100%;
max-width: 926px;
height: 330px;
height: 350px;
margin: auto;
overflow: hidden;
}
Expand Down Expand Up @@ -1557,21 +1557,38 @@ body {
}

.open-modal-button {
margin: 20px;
color: #FEA5BB;
text-transform: uppercase;
text-decoration: none;
border: 2px solid #FEA5BB;
padding: 10px 20px;
background-color: #FEA5BB;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
font-size: 17px;
font-weight: bold;
background: transparent;
position: relative;
transition: all 1s;
overflow: hidden;
}

.open-modal-button:hover {
background-color: #d6718a;
transform: scale(1.05);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
color: white;
}

.open-modal-button::before {
content: "";
position: absolute;
height: 100%;
width: 0%;
top: 0;
left: -40px;
transform: skewX(45deg);
background-color: #FEA5BB;
z-index: -1;
transition: all 1s;
}

.open-modal-button:hover::before {
width: 160%;
}

.modal-backdrop {
Expand Down Expand Up @@ -1744,12 +1761,18 @@ body {
transform: scale(1.05);
}

.footer {
width: 90%;
margin: 0 auto;
}

li {
list-style: none;
}

.footer {
width: 1280px;
margin: 0 auto;
width: 90%;
height: 247px;
background-color: rgb(255, 245, 246);
}
Expand Down
6 changes: 5 additions & 1 deletion src/sass/main.css.map

Large diffs are not rendered by default.

0 comments on commit b8ba824

Please sign in to comment.