Skip to content

Commit 05892b9

Browse files
authored
Added three callout links to homepage (#24)
1 parent d53aa98 commit 05892b9

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

assets/css/main.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ html, body {
6464
margin-top: 0;
6565
}
6666

67+
/* ── Tighten feature rows on splash page ── */
68+
.feature__wrapper {
69+
margin-bottom: 0;
70+
padding-bottom: 0;
71+
border-bottom: none;
72+
}
73+
6774
/* ── Members Page ── */
6875
.members-layout {
6976
display: grid;

index.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,49 @@ feature_row_philosophy:
3232

3333
{% include feature_row id="feature_row_philosophy" type="right" %}
3434

35+
<div style="display: flex; flex-wrap: wrap; gap: 1.5em; justify-content: center; margin: 2em auto; max-width: 1100px; padding: 0 1em;">
36+
37+
<a href="https://hub.diffuse.science" target="_blank" rel="noopener"
38+
style="flex: 1 1 280px; max-width: 340px; position: relative; background: rgba(227,88,33,.04); border-left: 6px solid #e35821; border-radius: 8px; padding: 1.5em 1.75em; text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s;"
39+
onmouseover="this.style.boxShadow='0 4px 12px rgba(0,0,0,.12)'; this.style.transform='translateY(-2px)';"
40+
onmouseout="this.style.boxShadow='0 1px 3px rgba(0,0,0,.06)'; this.style.transform='none';">
41+
<span style="font-size: .7em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e35821;">Platform</span><br>
42+
<span style="font-size: 1.1em; font-weight: 700; color: inherit;">
43+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#e35821" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: -2px; margin-right: 4px;"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"/><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"/></svg>
44+
The DiffUSE Hub
45+
</span><br>
46+
<span style="font-size: .95em; color: #555; line-height: 1.5;">Our open science repository for unlocking protein dynamics, under active development.</span>
47+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#e35821" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="position: absolute; top: 1.5em; right: 1.5em;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
48+
</a>
49+
50+
<a href="https://diffuse.science/logbook/" target="_blank" rel="noopener"
51+
style="flex: 1 1 280px; max-width: 340px; position: relative; background: rgba(227,88,33,.04); border-left: 6px solid #e35821; border-radius: 8px; padding: 1.5em 1.75em; text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s;"
52+
onmouseover="this.style.boxShadow='0 4px 12px rgba(0,0,0,.12)'; this.style.transform='translateY(-2px)';"
53+
onmouseout="this.style.boxShadow='0 1px 3px rgba(0,0,0,.06)'; this.style.transform='none';">
54+
<span style="font-size: .7em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e35821;">Notebook</span><br>
55+
<span style="font-size: 1.1em; font-weight: 700; color: inherit;">
56+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#e35821" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: -2px; margin-right: 4px;"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>
57+
The DiffUSE Logbook
58+
</span><br>
59+
<span style="font-size: .95em; color: #555; line-height: 1.5;">An open science logbook for cataloging X-ray datasets, synchrotron notes, and unfiltered analyses.</span>
60+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#e35821" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="position: absolute; top: 1.5em; right: 1.5em;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
61+
</a>
62+
63+
<a href="/posts/"
64+
style="flex: 1 1 280px; max-width: 340px; position: relative; background: rgba(227,88,33,.04); border-left: 6px solid #e35821; border-radius: 8px; padding: 1.5em 1.75em; text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s;"
65+
onmouseover="this.style.boxShadow='0 4px 12px rgba(0,0,0,.12)'; this.style.transform='translateY(-2px)';"
66+
onmouseout="this.style.boxShadow='0 1px 3px rgba(0,0,0,.06)'; this.style.transform='none';">
67+
<span style="font-size: .7em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e35821;">Blog</span><br>
68+
<span style="font-size: 1.1em; font-weight: 700; color: inherit;">
69+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#e35821" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: -2px; margin-right: 4px;"><path d="M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"/></svg>
70+
DiffUSE Dispatches
71+
</span><br>
72+
<span style="font-size: .95em; color: #555; line-height: 1.5;">Blog posts from our scientists on methods, discoveries, and open science.</span>
73+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="#e35821" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="position: absolute; top: 1.5em; right: 1.5em;"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>
74+
</a>
75+
76+
</div>
77+
3578
<h2 style="text-align: center;"><a href="/posts/" style="text-decoration: none; color: inherit;">Latest Posts from our Scientists</a></h2>
3679

3780
<div class="grid__wrapper">

0 commit comments

Comments
 (0)