const blog = require('../source/blog') const readBlogs = blog().ReadBlogs() class Index { constructor() {} async Main() { return readBlogs.then(output => { const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." const blogs = { blogsArr: Array.from(output.keys()), int: 0, result: '' } for (let [key, value] of output.entries()) { if (blogs.int >= 2) {break} blogs.result += `

${value.title}

Date: ${(value.date.getMonth() + 1).toString().padStart(2, '0')}/${(value.date.getDate()).toString().padStart(2, '0')}/${value.date.getFullYear()}

${value.short}

` blogs.int++ } const data = { index:`

Welcome to my website!

Welcome to my personal website! I'm Michael, an enthusiast with a keen interest in sharing knowledge and insights in technology. Feel free to explore my work experience and engage with my blog, where I discuss all things IT.

`, main: `

Work/Education

Cultural-Impact

  • Technology Consultant

  • Working with clients on their websites (frontend/backend)

University of Cincinnati

  • Java
  • Database Management
  • Networking
  • Web Development
  • System Administration (Windows/Linux)
`, blog: `

Blog

${blogs.result}
`, websites: `

My Websites

Here are some websites I have created

`, contact: `

Contact

Full Name:

Email:

Message:


`, end: `` } return data.index + data.main + data.blog + data.websites + data.contact }) } } module.exports = (x) => {return new Index(x)}