File tree Expand file tree Collapse file tree 2 files changed +90
-0
lines changed
Expand file tree Collapse file tree 2 files changed +90
-0
lines changed Original file line number Diff line number Diff line change 5252 height : auto ;
5353 }
5454 }
55+ }
56+
57+ // Team Member Detail Page
58+ .team-member-detail {
59+ .team-member-image {
60+ box-shadow : 0 0.5rem 1rem rgba (0 , 0 , 0 , 0.15 );
61+ transition : transform 0.3s ease , box-shadow 0.3s ease ;
62+
63+ & :hover {
64+ transform : scale (1.05 );
65+ box-shadow : 0 0.75rem 1.5rem rgba (0 , 0 , 0 , 0.2 );
66+ }
67+ }
68+
69+ .team-member-jobtitle {
70+ font-size : 1.25rem ;
71+ color : $primary ;
72+ font-weight : 600 ;
73+ font-family : $font-family-heading ;
74+ }
75+
76+ .team-member-content {
77+ font-size : 1.1rem ;
78+ line-height : 1.8 ;
79+ color : $black ;
80+ text-align : center ;
81+
82+ p {
83+ margin-bottom : 1.5rem ;
84+ }
85+ }
86+
87+ .btn-outline-primary {
88+ border : 2px solid $primary ;
89+ color : $primary ;
90+ padding : 0.5rem 1.5rem ;
91+ text-decoration : none ;
92+ border-radius : 0.25rem ;
93+ transition : all 0.3s ease ;
94+ display : inline-block ;
95+
96+ & :hover {
97+ background-color : $primary ;
98+ color : $white ;
99+ transform : translateY (-2px );
100+ box-shadow : 0 0.25rem 0.5rem rgba (0 , 0 , 0 , 0.15 );
101+ }
102+ }
55103}
Original file line number Diff line number Diff line change 1+ {{ define "body_classes" }}page-team-single{{ end }}
2+
3+ {{ define "main" }}
4+ < div class ="container pb-6 pt-6 pt-md-10 pb-md-10 ">
5+ < div class ="row justify-content-center ">
6+ < div class ="col-12 col-md-10 col-lg-8 ">
7+ < div class ="team-member-detail ">
8+ <!-- Profile Image -->
9+ {{ if .Params.image }}
10+ < div class ="text-center mb-4 ">
11+ < img
12+ src ="{{ .Params.image | relURL }} "
13+ alt ="{{ .Title }} "
14+ class ="team-member-image rounded-circle "
15+ width ="200 "
16+ height ="200 "
17+ />
18+ </ div >
19+ {{ end }}
20+
21+ <!-- Name -->
22+ < h1 class ="title text-center mb-2 "> {{ .Title }}</ h1 >
23+
24+ <!-- Job Title -->
25+ {{ if .Params.jobtitle }}
26+ < p class ="team-member-jobtitle text-center mb-4 "> {{ .Params.jobtitle }}</ p >
27+ {{ end }}
28+
29+ <!-- Bio / Content -->
30+ < div class ="team-member-content content ">
31+ {{ .Content }}
32+ </ div >
33+
34+ <!-- Back to Team Link -->
35+ < div class ="text-center mt-5 ">
36+ < a href ="/team/ " class ="btn btn-outline-primary "> ← Back to Team</ a >
37+ </ div >
38+ </ div >
39+ </ div >
40+ </ div >
41+ </ div >
42+ {{ end }}
You can’t perform that action at this time.
0 commit comments