Skip to content

Commit ed1d12c

Browse files
committed
Removed Fourth Column & Added Clickable PEcAn Logo in the footer
1 parent 5faaf9f commit ed1d12c

File tree

2 files changed

+51
-15
lines changed

2 files changed

+51
-15
lines changed

docusaurus.config.js

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -107,25 +107,19 @@ module.exports = {
107107
],
108108
},
109109
{
110-
title: "Past Contributors",
111110
items: [
112111
{
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+
`,
126120
},
127121
],
128-
},
122+
}
129123
],
130124
copyright: `Copyright © ${new Date().getFullYear()} PEcAn Project.`,
131125
},

src/css/custom.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,45 @@ html[data-theme="dark"] .card:hover {
179179
height: 100%;
180180
border: none;
181181
}
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+
}

0 commit comments

Comments
 (0)