trying new preview
fa1048fb
2 file(s) · +10 −1
| 1 | + | --- |
|
| 2 | + | title: "Testing Blog Post" |
|
| 3 | + | publishDate: "28 Feb 2023" |
|
| 4 | + | description: "How I learned web development and transitioned into the tech and Web3 space" |
|
| 5 | + | tags: ["web development", "bio", "personal", "web3"] |
|
| 6 | + | --- |
|
| 7 | + | ||
| 8 | + | Hope this works |
| 35 | 35 | ], |
|
| 36 | 36 | }; |
|
| 37 | 37 | ||
| 38 | - | const markup = (title: string, pubDate: string) => html`<div |
|
| 38 | + | const markup = (title: string, pubDate: string, description: string) => html`<div |
|
| 39 | 39 | tw="flex flex-col w-full h-full bg-[#2e3440] text-[#edeff3]" |
|
| 40 | 40 | > |
|
| 41 | 41 | <div tw="flex flex-col flex-1 w-full p-10 justify-center"> |
|
| 42 | 42 | <p tw="text-2xl mb-6">${pubDate}</p> |
|
| 43 | 43 | <h1 tw="text-6xl font-bold leading-snug text-white">${title}</h1> |
|
| 44 | + | <h1 tw="text-2xl font-bold leading-snug text-white">${description}</h1> |
|
| 44 | 45 | </div> |
|
| 45 | 46 | <div tw="flex items-center justify-between w-full p-10 border-t border-[#a3be8c] text-xl"> |
|
| 46 | 47 | <div tw="flex items-center"> |