File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ ---
4+
5+ {% assign item = project | default: page %}
6+
7+ {% assign subsection_text = "Author: " | append: item.author %}
8+
9+ {% include section-break.html section="Lab Memo" subsection=subsection_text %}
10+
11+ < div class ="mx-4 lg:mx-8 grid grid-cols-1 md:grid-cols-3 mb-8 lg:mb-16 items-center ">
12+ <!-- Tag & Title (Always First) -->
13+ < div class ="md:col-span-2 ">
14+
15+ < div class ="text-sm font-mono text-gray-600 mt-1 "> {{ item.date | date: "%B %d, %Y" }}</ div >
16+ < div class ="text-gray-900 font-bold text-xl font-ibmsans -skew-1 ">
17+ {{ item.title }}
18+ </ div >
19+
20+ < div class ="text-xs font-ibmserif mt-2 italic pb-2 border-b-2 md:border-none border-dashed border-gray-400 ">
21+ {% for person in item.people %}
22+ {{ person }}{% unless forloop.last %}, {% endunless %}
23+ {% endfor %}
24+ </ div >
25+
26+ </ div >
27+
28+ <!-- Image Section (Appears between title and text in mobile, right side in desktop) -->
29+ < div class ="w-full order-2 md:col-span-1 md:order-3 self-start py-5 ">
30+
31+ < img class ="w-full h-10 sm:h-15 md:h-auto object-cover rounded-lg " src ="/assets/images/{{
32+ item.image_folder | default: 'projects' }}/{{ item.image }} " alt ="{{ item.image_alt }} ">
33+
34+ </ div >
35+
36+ <!-- Text Section (Takes 2/3 space on desktop, below image in mobile) -->
37+
38+ < div class ="prose-sm md:prose-base md:col-span-2 md:pr-6 order-3 md:order-2 font-ibmserif ">
39+
40+ {{ item.content | markdownify }}
41+ </ div >
42+ </ div >
43+
44+
You can’t perform that action at this time.
0 commit comments