Finished blogs
This commit is contained in:
parent
42c4281276
commit
af69ba98ba
18 changed files with 311 additions and 19 deletions
32
src/static/data/Blogs.ts
Normal file
32
src/static/data/Blogs.ts
Normal file
|
@ -0,0 +1,32 @@
|
|||
import VrboImage from "../images/vrbo-logo-min.png";
|
||||
import Blog from "../../types/Blog";
|
||||
import CSMD from "./blogs/c-sharp-c-assignment.md";
|
||||
import TAB from "./blogs/there-is-a-blog.md";
|
||||
|
||||
const CSharpBlog: Blog = {
|
||||
title: "Doing C assignments in C#",
|
||||
date: new Date(2022, 2, 18, 14, 15, 0),
|
||||
image: VrboImage,
|
||||
mdfile: CSMD,
|
||||
private: false
|
||||
}
|
||||
|
||||
const TestBlog: Blog = {
|
||||
title: "There's a Blog!",
|
||||
date: new Date(),
|
||||
image: VrboImage,
|
||||
mdfile: TAB,
|
||||
private: false
|
||||
}
|
||||
|
||||
const PrivateBlog: Blog = {
|
||||
title: "This blog can only be accessed via the direct URI",
|
||||
date: new Date(),
|
||||
image: VrboImage,
|
||||
mdfile: TAB,
|
||||
private: true
|
||||
}
|
||||
|
||||
|
||||
export const AllBlogs: Blog[] = [CSharpBlog, PrivateBlog, TestBlog];
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue