From a13a1045dca2fa2c70617d853b7bd08c34c3cffe Mon Sep 17 00:00:00 2001 From: Mhykol Date: Mon, 27 May 2024 10:47:21 -0400 Subject: Stop tracking scripts directory --- scripts/about.js | 20 ----------- scripts/blog.js | 61 --------------------------------- scripts/contact.js | 25 -------------- scripts/index.js | 99 ------------------------------------------------------ scripts/shop.js | 51 ---------------------------- 5 files changed, 256 deletions(-) delete mode 100644 scripts/about.js delete mode 100644 scripts/blog.js delete mode 100644 scripts/contact.js delete mode 100644 scripts/index.js delete mode 100644 scripts/shop.js diff --git a/scripts/about.js b/scripts/about.js deleted file mode 100644 index 0f34fe5..0000000 --- a/scripts/about.js +++ /dev/null @@ -1,20 +0,0 @@ -class About { - constructor() {} - - Main() { - const data = ` -
-
-

About

- -

Hi there! I'm Michael, an IT enthusiast who loves learning and is passionate about building a career in this field. As an "Architect" (INTJ-T personality type), I enjoy problem-solving and coming up with innovative solutions. I've had hands-on experience in web development and tech consulting, where I've worked on various projects and helped clients with their IT needs. I'm always eager to explore new technologies and stay updated on industry trends.

- -

In the next five years, I see myself growing in the IT industry, possibly running my own business, and contributing to its development with fresh ideas. My goal is to build a meaningful and impactful career in IT while inspiring others to do the same!

-
-
- ` - return data - } -} - -module.exports = () => {return new About()} diff --git a/scripts/blog.js b/scripts/blog.js deleted file mode 100644 index 0d88bcf..0000000 --- a/scripts/blog.js +++ /dev/null @@ -1,61 +0,0 @@ -const blog = require('../source/blog') - -class Blog { - constructor() {} - - async Main() { - return blog().ReadBlogs().then(output => { - const data = { - start: ` -
-
-

My Blog

- `, - body: '', - end: ` -
-
- ` - } - - 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." - - output.forEach((value, key) => { - data.body += ` -
-

${value.title}

-

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

-

${value.short}

- -
` - }) - - const result = data.start + data.body + data.end - return result - }) - } - - async Item(x) { - const data = { - start: ` -
-
-
-
- `, - body: '', - end: ` -
-
- ` - } - return blog().ReadBlogs().then(output => { - if (x) { - data.body = output.get(x).body - return data.start + data.body + data.end - } - }) - } -} - -module.exports = () => {return new Blog()} diff --git a/scripts/contact.js b/scripts/contact.js deleted file mode 100644 index e33ac78..0000000 --- a/scripts/contact.js +++ /dev/null @@ -1,25 +0,0 @@ -class Contact { - constructor() {} - - Main() { - const data = { - contact: ` -
-

Contact

-
-

Full Name:

- -

Email:

- -

Message:

-
- -
-
- ` - } - return data.contact - } -} - -module.exports = () => {return new Contact()} diff --git a/scripts/index.js b/scripts/index.js deleted file mode 100644 index 45bcfdb..0000000 --- a/scripts/index.js +++ /dev/null @@ -1,99 +0,0 @@ -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 my interests.

-
- - -
-
-
- `, - 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:

-
- -
-
- ` - } - return data.index + data.main + data.blog + data.websites + data.contact - }) - } -} - -module.exports = (x) => {return new Index(x)} - diff --git a/scripts/shop.js b/scripts/shop.js deleted file mode 100644 index e75d289..0000000 --- a/scripts/shop.js +++ /dev/null @@ -1,51 +0,0 @@ -const database = require('../source/database') -const estore = database('EStore') - -class Shop { - constructor() {} - - async Main() { - return estore.Query('SELECT * FROM Products').then(output => { - const data = { - start: ` -
-
-

This is the Shop page

- `, - body: '', - end: ` -
-
- ` - } - if (output) { - for (let i = 0; i < output[0].length; i++) { - data.body += ` -
-

${output[0][i].ProductName}

-

ID: ${output[0][i].ID}

-
- ` - } - } else { - data.body = ` - There are no items in the database. - ` - } - return data.start + data.body + data.end - }) - } - Product() { - const data = ` -
-
-

This is the Product page

-

Description

-
-
- ` - return data - } -} - -module.exports = () => {return new Shop()} -- cgit v1.2.3-70-g09d2