Skip to content

Commit

Permalink
Update style
Browse files Browse the repository at this point in the history
  • Loading branch information
yaodong committed Sep 28, 2024
1 parent 6bb963d commit d339eb5
Showing 1 changed file with 50 additions and 34 deletions.
84 changes: 50 additions & 34 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,66 @@
title: Yaodong Zhao
---

<div class="max-w-3xl mx-auto mb-10">
<div class="-mx-5 sm:mx-auto p-5 bg-white sm:rounded sm:shadow">
<div class="py-10"></div>

<div class="max-w-3xl mx-auto mb-10">
<div class="mb-5">
<h1 class="flex space-x-1 items-center">
<span class="font-bold text-lg">Notes</span>
<img src="{{ '/assets/images/arrow-right.svg' | asset_path }}" class="h-6 w-auto">
</h1>
<p class="text-stone-500">Loose, unopinionated notes on things.</p>
<h1 class="flex space-x-1 items-center">
<span class="font-bold text-lg">Notes</span>
<img
src="{{ '/assets/images/arrow-right.svg' | asset_path }}"
class="h-6 w-auto"
/>
</h1>
<p class="text-stone-500">Loose, unopinionated notes on things.</p>
</div>
{% assign posts = site.posts | where: "category", "notes" | sort: "updated_date" | reverse | slice: 0, 10 %}
{% for post in posts %}
{% assign posts = site.posts | where: "category", "notes" | sort:
"updated_date" | reverse | slice: 0, 10 %} {% for post in posts %}
<div class="flex flex-col space-y-3">
<div class="flex flex-col space-y-1 bg-white p-3 shadow rounded">
<div class="flex space-x-2 items-start">
<span>{% include post-stage.html stage=post.stage %}</span>
<h2><a class="text-xl font-semibold" href="{{ post.url }}">{{ post.title }}</a></h2>
</div>
<div class="text-stone-700 pl-8">
{{ post.excerpt }}
</div>
<div class="flex flex-col space-y-1 p-3">
<div class="flex space-x-2 items-start">
<span>{% include post-stage.html stage=post.stage %}</span>
<h2>
<a class="text-xl font-semibold" href="{{ post.url }}"
>{{ post.title }}</a
>
</h2>
</div>
<div class="text-stone-700 pl-8">{{ post.excerpt }}</div>
</div>
</div>
{% endfor %}
</div>
</div>

<div class="max-w-3xl mx-auto mb-10">
<div class="max-w-3xl mx-auto mb-10">
<div class="mb-5">
<h1 class="flex space-x-1 items-center">
<span class="font-bold text-lg">Dives</span>
<img src="{{ '/assets/images/arrow-right.svg' | asset_path }}" class="h-6 w-auto">
</h1>
<p class="text-stone-500">Some random rabbit holes I fell into.</p>
<h1 class="flex space-x-1 items-center">
<span class="font-bold text-lg">Dives</span>
<img
src="{{ '/assets/images/arrow-right.svg' | asset_path }}"
class="h-6 w-auto"
/>
</h1>
<p class="text-stone-500">Some random rabbit holes I fell into.</p>
</div>
{% assign posts = site.posts | where: "category", "dives" | sort: "created_date" | reverse | slice: 0, 10 %}
{% assign posts = site.posts | where: "category", "dives" | sort:
"created_date" | reverse | slice: 0, 10 %}
<div class="flex flex-col space-y-3">
{% for post in posts %}
<div class="flex flex-col space-y-1 bg-white p-3 shadow rounded">
<div class="flex space-x-2 items-start">
<span>{% include post-stage.html stage=post.stage %}</span>
<h2><a class="text-xl font-semibold" href="{{ post.url }}">{{ post.title }}</a></h2>
</div>
<div class="text-stone-700 pl-8">
{{ post.excerpt }}
</div>
{% for post in posts %}
<div class="flex flex-col space-y-1 p-3">
<div class="flex space-x-2 items-start">
<span>{% include post-stage.html stage=post.stage %}</span>
<h2>
<a class="text-xl font-semibold" href="{{ post.url }}"
>{{ post.title }}</a
>
</h2>
</div>
{% endfor %}
<div class="text-stone-700 pl-8">{{ post.excerpt }}</div>
</div>
{% endfor %}
</div>
</div>
<div class="py-5"></div>
</div>

0 comments on commit d339eb5

Please sign in to comment.