Skip to content

Commit a5e7296

Browse files
committed
finished about page section
1 parent 32a09e3 commit a5e7296

15 files changed

+364
-48
lines changed

assets/images/about/interview1.webp

53.1 KB
Binary file not shown.

assets/images/about/interview2.webp

50 KB
Binary file not shown.

assets/images/about/interview3.webp

50.4 KB
Binary file not shown.

assets/images/about/interview4.webp

31.5 KB
Binary file not shown.

assets/images/about/interview5.webp

43.4 KB
Binary file not shown.

assets/images/about/interview6.webp

35.2 KB
Binary file not shown.

assets/images/about/interview7.webp

6.55 KB
Binary file not shown.

assets/images/about/interview8.jpeg

99.2 KB
Loading

assets/images/about/interview9.webp

52.6 KB
Binary file not shown.

css/style.css

+83
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/style.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

+181-11
Large diffs are not rendered by default.

js/about-page.js

-36
This file was deleted.

js/main.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
function setActiveButton(e) {
2+
console.log(e, e.getAttribute('data-target'))
3+
// Remove active class from selected button groups
4+
document.querySelectorAll('.btn-group button').forEach(item => {
5+
item.classList.remove('active');
6+
});
7+
8+
// Remove active class from selected inner-tabs
9+
document.querySelectorAll('.inner-tab').forEach(item => {
10+
item.classList.remove('active');
11+
});
12+
13+
e.classList.add('active');
14+
document.querySelector(e.getAttribute('data-target')).classList.add('active');
15+
}

sass/sections/_about.scss

+84
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,88 @@
2929
}
3030
}
3131
}
32+
.services-item__icon {
33+
font-size: 45px;
34+
;
35+
}
36+
.services-title {
37+
font-size: 20px;
38+
&:hover {
39+
color: $orange;
40+
font-size: 20px;
41+
}
42+
}
43+
.interview__item {
44+
display: flex;
45+
align-items: flex-start;
46+
justify-content: flex-start;
47+
}
48+
.interview__item-img {
49+
width: 170px;
50+
height: 170px;
51+
object-fit: cover;
52+
border-radius: 14px;
53+
}
54+
.interview__item-content {
55+
padding: 0 15px;
56+
h3 {
57+
margin-top: 0;
58+
font-size: 20px;
59+
&:hover {
60+
color: $orange;
61+
}
62+
}
63+
a {
64+
position: relative;
65+
color: $orange;
66+
text-decoration: none;
67+
i {
68+
position: absolute;
69+
z-index: -1;
70+
right: 0;
71+
top: 5px;
72+
transition: 0.4s;
73+
}
74+
&:hover i {
75+
z-index: 1;
76+
right: -25px;
77+
transition: 0.4s;
78+
}
79+
}
80+
}
81+
.exibition__item {
82+
position: relative;
83+
transition: 0.5s;
84+
.exibition__item-wrapper {
85+
height: 250px;
86+
overflow: hidden;
87+
border-radius: 10px;
88+
}
89+
img {
90+
width: 100%;
91+
height: 250px;
92+
object-fit: cover;
93+
border-radius: 10px;
94+
transition: 0.5s;
95+
}
96+
h3 {
97+
opacity: 0;
98+
position: absolute;
99+
bottom: -3px;
100+
left: 15px;
101+
right: 15px;
102+
padding: 45px 15px 30px;
103+
border-bottom-left-radius: 10px;
104+
border-bottom-right-radius: 10px;
105+
background: linear-gradient(180deg, rgb(140 140 140 / 7%) 14%, rgb(0 0 0 / 77%));
106+
}
107+
&:hover h3 {
108+
opacity: 1;
109+
transition: 0.5s;
110+
}
111+
&:hover img {
112+
transform: scale(1.1);
113+
transition: 0.5s;
114+
}
115+
}
32116
}

0 commit comments

Comments
 (0)