Skip to content

Commit

Permalink
Merge pull request #2 from railwayapp/faraz/add-authors
Browse files Browse the repository at this point in the history
add Jake and Greg
  • Loading branch information
FarazPatankar authored Jun 11, 2021
2 parents 5802fd9 + e0e9792 commit a5b80c6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Binary file added public/authors/greg-schier.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/authors/jake-runzer.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/layouts/authors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ export const authors = [
name: "Jake Cooper",
image: "https://og.railway.app/authors/jake-cooper.jpeg",
},
{
name: "Greg Schier",
image: "https://og.railway.app/authors/greg-schier.jpeg",
},
{
name: "Jake Runzer",
image: "https://og.railway.app/authors/jake-runzer.jpeg",
},
];

const defaultAuthor = authors[0];
Expand Down
3 changes: 2 additions & 1 deletion src/layouts/blogLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { GetCSSFn, ILayout, LayoutComponent } from "../types";
import { authors } from "./authors";
import { colourThemes, defaultTheme } from "./colours";
import { AuthorImage, getTheme, Markdown, RLogo } from "./utils";

Expand Down Expand Up @@ -69,7 +70,7 @@ export const blogLayout: ILayout = {
{
name: "Author",
type: "select",
options: ["Faraz Patankar", "Jake Cooper"],
options: authors.map(author => author.name),
},
],
getCSS,
Expand Down

0 comments on commit a5b80c6

Please sign in to comment.