File tree Expand file tree Collapse file tree 2 files changed +51
-15
lines changed Expand file tree Collapse file tree 2 files changed +51
-15
lines changed Original file line number Diff line number Diff line change @@ -107,25 +107,19 @@ module.exports = {
107
107
] ,
108
108
} ,
109
109
{
110
- title : "Past Contributors" ,
111
110
items : [
112
111
{
113
- label : "PecanProject" ,
114
- href : "https://github.com/PecanProject/pecan/graphs/contributors" ,
115
- className : "footer-pastContributors-link" ,
116
- } ,
117
- {
118
- label : "BETYdb Database" ,
119
- href : "https://github.com/PecanProject/bety/graphs/contributors" ,
120
- className : "footer-pastContributors-link" ,
121
- } ,
122
- {
123
- label : "Pecan Website" ,
124
- href : "https://github.com/PecanProject/web/graphs/contributors" ,
125
- className : "footer-pastContributors-link" ,
112
+ html : `
113
+ <div class="footer-logo">
114
+ <a href="/" class="footer-logo-link">
115
+ <img src="/img/logo.jpeg" alt="PEcAn Logo" class="footer-logo-img"/>
116
+ <span class="footer-logo-text">PEcAn</span>
117
+ </a>
118
+ </div>
119
+ ` ,
126
120
} ,
127
121
] ,
128
- } ,
122
+ }
129
123
] ,
130
124
copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } PEcAn Project.` ,
131
125
} ,
Original file line number Diff line number Diff line change @@ -179,3 +179,45 @@ html[data-theme="dark"] .card:hover {
179
179
height : 100% ;
180
180
border : none;
181
181
}
182
+
183
+ .footer-logo {
184
+ display : flex;
185
+ align-items : center;
186
+ gap : 8px ;
187
+ }
188
+
189
+ .footer-logo-img {
190
+ width : 60px ;
191
+ height : 60px ;
192
+ border-radius : 50% ;
193
+ }
194
+
195
+ .footer-logo-text {
196
+ font-size : 18px ;
197
+ font-weight : 700 ;
198
+ display : flex;
199
+ align-items : center;
200
+ font-size : 18px ;
201
+ font-weight : 700 ;
202
+ text-decoration : none !important ;
203
+ }
204
+
205
+ html [data-theme = "dark" ] .footer-logo-text {
206
+ color : # f5f5f5 ;
207
+ }
208
+
209
+ html [data-theme = "light" ] .footer-logo-text {
210
+ color : # 292d30 ;
211
+ }
212
+
213
+ .footer-logo-link {
214
+ display : flex;
215
+ align-items : center;
216
+ gap : 8px ;
217
+ text-decoration : none !important ;
218
+ }
219
+
220
+ .footer-logo-link : hover .footer-logo-text {
221
+ color : rgb (70 , 203 , 174 );
222
+ text-decoration : none !important ;
223
+ }
You can’t perform that action at this time.
0 commit comments