Skip to content

Commit 44b62c2

Browse files
committed
Add author pages
1 parent d958a29 commit 44b62c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+107
-195
lines changed

public/authors/peter-thaleikis.png

150 KB
Loading

src/components/VideoHeader.astro

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,38 @@
11
---
22
import type { VideoFileType } from '../lib/video';
3-
import YouTubeAlert from "./YouTubeAlert.astro";
3+
import YouTubeAlert from './YouTubeAlert.astro';
44
55
export interface Props {
66
video: VideoFileType;
77
}
88
99
const { video } = Astro.props;
10-
const { frontmatter } = video;
11-
const { author } = frontmatter;
10+
const { frontmatter, author } = video;
1211
---
1312

14-
<div class='bg-white border-b py-5 sm:py-12'>
13+
<div class='border-b bg-white py-5 sm:py-12'>
1514
<div class='container text-left sm:text-center'>
1615
<p
17-
class='text-gray-400 hidden sm:flex items-center justify-start sm:justify-center'
16+
class='hidden items-center justify-start text-gray-400 sm:flex sm:justify-center'
1817
>
1918
<a
20-
href={author.url}
21-
target='_blank'
22-
class='font-medium hover:text-gray-600 inline-flex items-center hover:underline'
19+
href={`/authors/${author.id}`}
20+
class='inline-flex items-center font-medium hover:text-gray-600 hover:underline'
2321
>
2422
<img
25-
alt={author.name}
26-
src={author.imageUrl}
27-
class='w-5 h-5 inline mr-2 rounded-full'
23+
alt={author.frontmatter.name}
24+
src={author.frontmatter.imageUrl}
25+
class='mr-2 inline h-5 w-5 rounded-full'
2826
/>
29-
{author.name}
27+
{author.frontmatter.name}
3028
</a>
3129
<span class='mx-1.5'>&middot;</span>
3230
<span class='capitalize'>Illustrated Video</span>
3331
</p>
34-
<h1 class='text-2xl sm:text-5xl my-0 sm:my-3.5 font-bold'>
32+
<h1 class='my-0 text-2xl font-bold sm:my-3.5 sm:text-5xl'>
3533
{frontmatter.title}
3634
</h1>
37-
<p class='hidden sm:block text-gray-400 text-md'>
35+
<p class='text-md hidden text-gray-400 sm:block'>
3836
{frontmatter.description}
3937
</p>
4038
</div>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: 'Ebrahim Bharmal'
3+
imageUrl: '/authors/ebrahimbharmal007.png'
4+
social:
5+
twitter: 'https://twitter.com/BharmalEbrahim'
6+
---
7+
8+
Full-stack developer interested in all things web development.

src/data/authors/jesse-li.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: 'Jesse Li'
3+
imageUrl: '/authors/jesse.png'
4+
social:
5+
twitter: 'https://twitter.com/__jesse_li'
6+
github: 'https://github.com/veggiedefender'
7+
---
8+
9+
Jesse has made several [interesting open-source projects](https://github.com/veggiedefender) and wrote some interesting [articles on his blog](https://blog.jse.li/) including the one he wrote on roadmap.sh.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: 'Peter Thaleikis'
3+
imageUrl: '/authors/peter-thaleikis.png'
4+
social:
5+
twitter: 'https://twitter.com/spekulatius1984'
6+
website: 'https://peterthaleikis.com/'
7+
---
8+
9+
Peter Thaleikis a software engineer and business owner. He has been developing web applications since around 2000. Before he started his own software development company [Bring Your Own Ideas Ltd.](https://bringyourownideas.com/), he has been a Lead Developer for multiple organizations.

src/data/guides/proxy-servers.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: 'Proxy Servers'
33
description: 'How do proxy servers work and what are forward and reverse proxies?'
4-
author:
5-
name: 'Ebrahim Bharmal'
6-
url: 'https://twitter.com/BharmalEbrahim'
7-
imageUrl: '/authors/ebrahimbharmal007.png'
4+
authorId: 'ebrahim-bharmal'
85
seo:
96
title: 'Proxy Servers - roadmap.sh'
107
description: 'How do proxy servers work and what are forward and reverse proxies?'

src/data/guides/torrent-client.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: 'Building a BitTorrent Client'
33
description: 'Learn everything you need to know about BitTorrent by writing a client in Go'
4-
author:
5-
name: 'Jesse Li'
6-
url: 'https://twitter.com/__jesse_li'
7-
imageUrl: '/authors/jesse.png'
4+
authorId: 'jesse-li'
85
seo:
96
title: 'Building a BitTorrent Client - roadmap.sh'
107
description: 'Learn everything you need to know about BitTorrent by writing a client in Go'

src/data/guides/why-build-it-and-they-will-come-wont-work-anymore.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: 'Build it and they will come?'
33
description: 'Why “build it and they will come” alone won’t work anymore'
4-
author:
5-
name: 'Peter Thaleikis'
6-
url: 'https://twitter.com/spekulatius1984'
7-
imageUrl: '/authors/spekulatius.jpg'
4+
authorId: 'peter-thaleikis'
85
seo:
96
title: 'Build it and they will come? - roadmap.sh'
107
description: 'Why “build it and they will come” alone won’t work anymore'

src/data/videos/acid-explained.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ description: 'Learn what it means for a database to be ACID compliant with examp
44
duration: '5 minutes'
55
isNew: false
66
date: 2021-09-26
7-
author:
8-
name: 'Kamran Ahmed'
9-
url: 'https://twitter.com/kamrify'
10-
imageUrl: '/authors/kamranahmedse.jpeg'
7+
authorId: 'kamran'
118
sitemap:
129
priority: 0.7
1310
changefreq: 'weekly'

src/data/videos/all-about-http-caching.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ description: 'Learn what is HTTP caching, places for caching and different cachi
44
duration: '13 minutes'
55
isNew: false
66
date: 2020-10-04
7-
author:
8-
name: 'Kamran Ahmed'
9-
url: 'https://twitter.com/kamrify'
10-
imageUrl: '/authors/kamranahmedse.jpeg'
7+
authorId: 'kamran'
118
sitemap:
129
priority: 0.7
1310
changefreq: 'weekly'

0 commit comments

Comments
 (0)