Skip to content

Commit afbf547

Browse files
committed
Add section signposting to community at bottom of homepage
1 parent e53e323 commit afbf547

File tree

4 files changed

+76
-3
lines changed

4 files changed

+76
-3
lines changed

assets/css/style.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2397,6 +2397,18 @@ select {
23972397
background-color: rgb(255 255 255 / 0.05);
23982398
}
23992399

2400+
.bg-primary-50\/50 {
2401+
background-color: rgb(248 249 255 / 0.5);
2402+
}
2403+
2404+
.bg-primary-50\/75 {
2405+
background-color: rgb(248 249 255 / 0.75);
2406+
}
2407+
2408+
.bg-primary-50\/60 {
2409+
background-color: rgb(248 249 255 / 0.6);
2410+
}
2411+
24002412
.bg-gradient-to-br {
24012413
background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
24022414
}

content/en/_index.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,34 @@ blocks:
215215
copy: |
216216
We aim to promote better integration of data harmonisation in mental health research through a natural language processing harmonisation tool (Harmony), allowing researchers to compare data from existing studies to investigate the active ingredients of mental health. Led by Dr Eoin McElroy from Ulster University and Dr Bettina Moltrecht from University College London, the team will develop Harmony to answer research questions around human connection and its influence on the development of depression and anxiety in young people.
217217
218+
- block: connect
219+
heading: More ways to connect
220+
cards:
221+
- heading: AI Challenges
222+
copy: Contribute to real-world AI and coding challenges.
223+
button:
224+
text: Learn more
225+
url: https://harmonydata.ac.uk/challenges/
226+
icon: sparkles
227+
- heading: Discord Community
228+
copy: Join discussions with fellow researchers and developers.
229+
button:
230+
text: Join
231+
url: https://discord.com/invite/harmonydata
232+
icon: discord-2
233+
- heading: GitHub
234+
copy: Access our latest code, tools, and contributions. Become a certified contributor
235+
button:
236+
text: Join
237+
url: https://github.com/harmonydata/harmony
238+
icon: github
239+
- heading: Connect with us on Socials
240+
social:
241+
- text: LinkedIn
242+
url: https://www.linkedin.com/company/harmonydata/about/?viewAsMember=true
243+
- text: Bluesky
244+
url: https://bsky.app/profile/harmonydata.bsky.social
245+
icon: users
246+
218247
---
219248

layouts/blog/single.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ <h1 class="text-center text-5xl sm:text-6xl font-bold font-heading tracking-tigh
1414
<div class="flex space-x-4 mt-4 justify-center">
1515
{{ partial "share.html" . }}
1616
</div>
17-
<div class="rounded-2xl pt-4 max-w-xl mx-auto">
18-
{{ partial "components/form-mailchimp.html" . }}
19-
</div>
2017
</div>
2118
{{ if .Params.youtube }}
2219
<div class="mt-10 lg:mt-14 max-w-5xl mx-auto">
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<div class="px-6 lg:px-8 py-20 lg:py-28 bg-primary-50/50">
2+
<div class="max-w-2xl lg:max-w-4xl mx-auto">
3+
<div class="text-center">
4+
{{ partial "components/h2.html" . }}
5+
</div>
6+
<div class="grid grid-cols-1 gap-12 lg:gap-y-12 xl:gap-20 sm:grid-cols-2 mt-10">
7+
{{ range .cards }}
8+
<div class="space-y-4">
9+
{{ if .icon }}
10+
<div class="mb-6">
11+
{{ partial "components/icon.html" . }}
12+
</div>
13+
{{ end }}
14+
{{ partial "components/h3.html" . }}
15+
{{ partial "components/copy.html" . }}
16+
{{ with .social }}
17+
<ul class="flex gap-5 flex-wrap">
18+
{{ range . }}
19+
<li><a class="text-blue-600 hover:text-blue-600 font-bold hover:underline font-heading text-sm" href="{{ .url }}" target="_blank" rel="noopener noreferrer">{{ .text }}</a></li>
20+
{{ end }}
21+
</ul>
22+
{{ end }}
23+
{{ with .button }}
24+
<div class="">
25+
<a href="{{ .url | relLangURL }}"{{ if in .url "http" }} target="_blank" rel="noopener noreferrer"{{ end }}
26+
class="inline-block text-center transition rounded-full focus:outline-none font-heading font-bold text-sm text-blue-600 hover:underline">
27+
{{ .text }}
28+
</a>
29+
</div>
30+
{{ end }}
31+
</div>
32+
{{ end }}
33+
</div>
34+
</div>
35+
</div>

0 commit comments

Comments
 (0)