Skip to content

Commit f4cfb74

Browse files
committed
Tweak home styles
1 parent 9219353 commit f4cfb74

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

content/collections/pages/home.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,10 @@ Welcome to my personal website. Take your time to look around, and if you want t
2424
If you want to learn how I...
2525
</span>
2626

27-
<div class="flex flex-col md:flex-row">
28-
27+
<div class="flex flex-col md:flex-row md:space-x-4">
2928
{{ partial:home/cta title="Am" }}Keep reading!{{ /partial:home/cta }}
30-
31-
{{ partial:home/cta title="Think" }}Read my [Blog](/blog){{ /partial:home/cta }}
32-
33-
{{ partial:home/cta title="Work" }}Check out my [Projects](/projects)<br/>or [What I'm doing now](/now){{ /partial:home/cta }}
34-
29+
{{ partial:home/cta title="Think" }}Read my <a href="/blog">Blog</a>{{ /partial:home/cta }}
30+
{{ partial:home/cta title="Work" }}Check out my <a href="/projects">Projects</a><br/>or <a href="/now">What I'm doing now</a>{{ /partial:home/cta }}
3531
</div>
3632

3733
<h2 class="text-center text-3xl mt-10 md:text-2xl md:text-left" id="my-values">My values</h2>

resources/views/home/_cta.antlers.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div
2-
class="bg-grey-lighter border-grey-light my-2 flex flex-1 flex-col items-center justify-start rounded border p-4 text-center md:mx-2"
2+
class="bg-grey-lighter border-grey-light my-2 flex flex-1 flex-col items-center justify-start rounded border p-4 text-center"
33
>
44
<span class="text-blue-darkest my-4 text-2xl font-medium">{{ title }}</span>
55
<span class="leading-normal">{{ slot }}</span>

0 commit comments

Comments
 (0)