src/pages/index.astro 5.1 K raw
1
---
2
import { getCollection } from "astro:content";
3
import PageLayout from "@/layouts/Base.astro";
4
import PostPreview from "@/components/blog/PostPreview.astro";
5
import SocialList from "@/components/page/SocialList.astro";
6
import { sortMDByDate } from "@/utils";
7
import { Image } from "astro:assets";
8
9
const MAX_POSTS = 10;
10
const allPosts = await getCollection("post");
11
const visiblePosts = allPosts.filter((post) => !post.data.hidden);
12
const allPostsByDate = sortMDByDate(visiblePosts).slice(0, MAX_POSTS);
13
---
14
15
<PageLayout meta={{ title: "Steve Simkins" }}>
16
  <h1 class="title mb-4">/</h1>
17
  <section>
18
    <p class="mb-4">
19
      DX Engineer with a passion for developer tooling that advances an open
20
      web. Currently working at <a
21
        href="https://stablecore.com"
22
        target="_blank"
23
        rel="noopener noreferrer"
24
        class="style-link">Stablecore</a
25
      >
26
      with other <a href="/projects" class="style-link">projects</a>
27
      in my spare time. This site catalogs my various writings and interests. See
28
      what I'm up to <a href="/now" class="style-link">now</a>!
29
    </p>
30
    <SocialList />
31
    <p>
32
      Or anywhere with my handle <span class="text-accent">@stevedylandev</span>
33
    </p>
34
  </section>
35
  <section aria-label="Blog post list" class="mt-16">
36
    <h2 class="title mb-4 text-xl">Posts</h2>
37
    <ul class="space-y-4 sm:space-y-2">
38
      {
39
        allPostsByDate.map((p) => (
40
          <li class="flex flex-col gap-x-2 sm:flex-row">
41
            <PostPreview post={p} />
42
          </li>
43
        ))
44
      }
45
    </ul>
46
  </section>
47
  <section class="mt-16">
48
    <h2 class="title mb-4 text-xl">Extras</h2>
49
    <ul class="space-y-4 sm:space-y-2">
50
      <li>
51
        <a
52
          href="https://sequoia.pub"
53
          target="_blank"
54
          rel="noopener noreferrer"
55
          class="style-link inline-block"
56
          ><Image
57
            src="https://api.iconify.design/hugeicons:tree-04.svg?color=%23888888"
58
            class="inline-block h-5 w-5"
59
            height="100"
60
            loading="eager"
61
            width="100"
62
            alt="Tree icon representing Sequoia"
63
          /> Sequoia
64
        </a>:
65
        <p class="inline-block sm:mt-2">Content publishing CLI for ATProto</p>
66
      </li>
67
      <li>
68
        <a
69
          href="https://bhvr.dev"
70
          target="_blank"
71
          rel="noopener noreferrer"
72
          class="style-link inline-block"
73
          ><Image
74
            src="https://api.iconify.design/fluent-emoji-high-contrast:beaver.svg?color=%23888888"
75
            class="inline-block h-4 w-4"
76
            loading="eager"
77
            height="100"
78
            width="100"
79
            alt="Beaver icon representing bhvr"
80
          /> bhvr
81
        </a>:
82
        <p class="inline-block sm:mt-2">
83
          Modern framework for building web apps using Bun, Hono, Vite, and
84
          React
85
        </p>
86
      </li>
87
      <li>
88
        <a
89
          href="https://ethglobal.com/showcase/cosmic-cowboys-3q0co"
90
          target="_blank"
91
          rel="noopener noreferrer"
92
          class="style-link inline-block"
93
          ><Image
94
            height="100"
95
            width="100"
96
            loading="lazy"
97
            src="https://api.iconify.design/ph:cowboy-hat-fill.svg?color=%23888888"
98
            class="inline-block h-4 w-4"
99
            alt="Cowboy hat icon representing Cosmic Cowboys"
100
          /> Cosmic Cowboys
101
        </a>:
102
        <p class="inline-block sm:mt-2">
103
          EthGlobal 2023 hackathon winning project
104
        </p>
105
      </li>
106
      <li>
107
        <a
108
          href="https://steve.photo"
109
          target="_blank"
110
          rel="noopener noreferrer"
111
          class="style-link inline-block"
112
          ><Image
113
            height="100"
114
            width="100"
115
            loading="lazy"
116
            src="https://api.iconify.design/material-symbols:photo-camera.svg?color=%23888888"
117
            class="inline-block h-4 w-4"
118
            alt="Camera icon representing photography portfolio"
119
          /> Photos
120
        </a>:
121
        <p class="inline-block sm:mt-2">My personal photography portfolio</p>
122
      </li>
123
      <li>
124
        <a
125
          href="https://stablecore.com"
126
          target="_blank"
127
          rel="noopener noreferrer"
128
          class="style-link inline-block"
129
          ><Image
130
            height="100"
131
            width="100"
132
            loading="lazy"
133
            src="https://files.stevedylan.dev/stablecore.png"
134
            class="inline-block h-4 w-4"
135
            alt="Stablecore company logo"
136
          /> Stablecore
137
        </a>:
138
        <p class="inline-block sm:mt-2">
139
          Where I'm currently working as a Senior Solutions Engineer
140
        </p>
141
      </li>
142
      <li>
143
        <a
144
          href="https://dino.stevedylan.dev"
145
          target="_blank"
146
          rel="noopener noreferrer"
147
          class="style-link inline-block"
148
          ><Image
149
            height="100"
150
            width="100"
151
            loading="lazy"
152
            src="https://files.stevedylan.dev/dino-icon-2.png"
153
            class="inline-block h-4 w-4"
154
            alt="Pixel art dinosaur icon"
155
          /> Dino
156
        </a>:
157
        <p class="inline-block sm:mt-2">Just the dino</p>
158
      </li>
159
    </ul>
160
  </section>
161
</PageLayout>