Skip to content

Commit bc7b735

Browse files
committed
feat: add logo to website post
1 parent ea2def3 commit bc7b735

File tree

4 files changed

+74
-2
lines changed

4 files changed

+74
-2
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
---
22
layout: post
3-
title: Transition
3+
title: Transition to Clinical Stage
4+
image: images/clinical-transition/accelerate-study-logo.svg
5+
image-alt: ACCELERATE Peanut Study logo
6+
description: It feels somewhat silly that launching the ACCELERATE Peanut Study website imparts such a strong feeling of progress, but it does. It marks a transition. Preclinical to clinical, and I couldn't be more proud of the team.
7+
img-style: "style='max-width: 40%'"
48
comments: false
59
---
610

11+
<img src="/images/clinical-transition/accelerate-study-logo.svg" alt="ACCELERATE Peanut Study logo" class="centered_img" style="max-width: 40%" />
12+
713
It feels somewhat silly that launching a website imparts such a strong feeling of progress, but it does. For years, scientists and investors have been the audience for updates. A website changes that. As an interface to the public, it's a transition. Preclinical to clinical. It's of course still the beginning. But it's a new beginning. And I couldn't be more proud of the team: <a href="https://iggenix.com.au/?utm_source=dc_blog">ACCELERATE Peanut Study</a>.

_sass/_layout.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ li {
146146
margin-bottom: 1.5em;
147147
}
148148

149+
.post-img img {
150+
display: block;
151+
margin-left: auto;
152+
margin-right: auto;
153+
max-width: 80%;
154+
}
155+
149156
.hrline {
150157
opacity: 1;
151158
color: #eee;
Lines changed: 55 additions & 0 deletions
Loading

index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ <h1>
1717
{% if post.description %} {{ post.description }} {% else %} {{ post.excerpt }} {% endif %} {% if post.image %}
1818
<div class="post-img">
1919
<a href="{{ post.url | prepend: site.baseurl }}">
20-
<img src="{{post.image}}" alt="{{ post.image-alt | default: 'Article image representation' }}" />
20+
<img
21+
src="{{post.image}}"
22+
alt="{{ post.image-alt | default: 'Article image representation' }}"
23+
{% if post.img-style %}{{post.img-style}} {% endif %}
24+
/>
2125
</a>
2226
</div>
2327
{% endif %}

0 commit comments

Comments
 (0)