From 2f5caaf01a701fe9e4d93918b4cd2cc9c074fb9c Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Wed, 8 May 2024 21:46:49 +0200 Subject: [PATCH] fix: background stretched --- public/blog/atom.xml | 34 ++++++++++++++++++++++++++++++- public/blog/feed.json | 11 ++++++++++ public/blog/rss.xml | 30 ++++++++++++++++++++++++++- src/app/_css/RandomBackground.css | 3 +++ 4 files changed, 76 insertions(+), 2 deletions(-) diff --git a/public/blog/atom.xml b/public/blog/atom.xml index 5905f09..e3ec0b7 100644 --- a/public/blog/atom.xml +++ b/public/blog/atom.xml @@ -2,7 +2,7 @@ https://srizan.dev/blog Sr Izan's Blog - 2024-02-14T16:06:48.920Z + 2024-05-08T19:45:59.407Z https://github.com/jpmonette/feed Sr Izan @@ -320,6 +320,38 @@ StartupNotify=true Hey!

This is probably the last time I'm going to make a blog. I've made a few in the past, but I've never really stuck to them. I'm hoping that this time will be different.
This one was made entirely from scratch using React and Markdown, initially trying to use MDX, but it was a pain to set up, and it didn't end up working in the end.
I'm hoping to post about my projects, and maybe some other stuff too. I'm not sure yet, but I'll figure it out as I go along.
Anyways, thank you for reading. I hope you enjoyed my UX/UI for this one!

PD: I need some help for making the blog text look good and readable, so hit me up on my Discord if you have any ideas.

+]]>
+ + Sr Izan + https://srizan.dev + + + + <![CDATA[Releasing sern Automata v2]]> + https://srizan.dev/blog/5 + + 2024-05-08T18:46:01.405Z + As once our lord and savior Terry A. Davis said, "An idiot admires complexity, a genius admires simplicity."
And, welp, that's what I just did with my github bot Automata.

+

v1

+

Automata v1 was a real mess. We were supposed to publish a next.js website, a jobs system to make our lives easier, and a large etc.

+

Now, I've been working on this for quite a while (about a year) and I felt like I wasn't going anywhere. So I just thought about it we could run the automation scripts on Github Actions, right?

+

So I got to work

+

And in 4 days I got the whole thing working. I'm really proud of it.

+

We send API requests to Github whenever we want to trigger a workflow, on demand, by using the webhook system and handling everything from there.
As a bonus I also added a command, so we could merge on a more controlled way, specially on larger PRs.

+

Unexpected bugs on prod just after the PR merge

+

There were some bugs on launch.

+
    +
  • I didn't have a start script nor a license (commit)
  • +
  • I forgot to change some environment variable names on index.ts (commit)
  • +
  • A day later, forgot to listen on the PORT environment variable (commit)
  • +
  • Squash and merge by default (ended up regretting it, see below) (commit)
  • +
  • I FORGOT TO CHECK IF THE COMMAND MENTIONED @SERNBOT (commit)
  • +
+

That last one was a real pain, as I detected the bug in production, on the most important PR of the week, if not the month: the website's move to starlight docs. +

+

Conclusion

+

Wow, a project with good DevEx? SIGN ME UP!

+

PD: I created a next.js template with my preferred tech stack, make sure to check it out! link

]]>
Sr Izan diff --git a/public/blog/feed.json b/public/blog/feed.json index ba8ee30..cbeca4d 100644 --- a/public/blog/feed.json +++ b/public/blog/feed.json @@ -57,6 +57,17 @@ "name": "Sr Izan", "url": "https://srizan.dev" } + }, + { + "id": "https://srizan.dev/blog/5", + "content_html": "

As once our lord and savior Terry A. Davis said, "An idiot admires complexity, a genius admires simplicity."
And, welp, that's what I just did with my github bot Automata.

\n

v1

\n

Automata v1 was a real mess. We were supposed to publish a next.js website, a jobs system to make our lives easier, and a large etc.

\n

Now, I've been working on this for quite a while (about a year) and I felt like I wasn't going anywhere. So I just thought about it we could run the automation scripts on Github Actions, right?

\n

So I got to work

\n

And in 4 days I got the whole thing working. I'm really proud of it.

\n

We send API requests to Github whenever we want to trigger a workflow, on demand, by using the webhook system and handling everything from there.
As a bonus I also added a command, so we could merge on a more controlled way, specially on larger PRs.

\n

Unexpected bugs on prod just after the PR merge

\n

There were some bugs on launch.

\n
    \n
  • I didn't have a start script nor a license (commit)
  • \n
  • I forgot to change some environment variable names on index.ts (commit)
  • \n
  • A day later, forgot to listen on the PORT environment variable (commit)
  • \n
  • Squash and merge by default (ended up regretting it, see below) (commit)
  • \n
  • I FORGOT TO CHECK IF THE COMMAND MENTIONED @SERNBOT (commit)
  • \n
\n

That last one was a real pain, as I detected the bug in production, on the most important PR of the week, if not the month: the website's move to starlight docs.\n\"\"
\"\"

\n

Conclusion

\n

Wow, a project with good DevEx? SIGN ME UP!

\n

PD: I created a next.js template with my preferred tech stack, make sure to check it out! link

\n", + "url": "https://srizan.dev/blog/5", + "title": "Releasing sern Automata v2", + "date_modified": "2024-05-08T18:46:01.405Z", + "author": { + "name": "Sr Izan", + "url": "https://srizan.dev" + } } ] } \ No newline at end of file diff --git a/public/blog/rss.xml b/public/blog/rss.xml index 80b228e..330a677 100644 --- a/public/blog/rss.xml +++ b/public/blog/rss.xml @@ -4,7 +4,7 @@ Sr Izan's Blog https://srizan.dev/blog My little donowall place on the net - Wed, 14 Feb 2024 16:06:48 GMT + Wed, 08 May 2024 19:45:59 GMT https://validator.w3.org/feed/docs/rss2.html https://github.com/jpmonette/feed en @@ -308,6 +308,34 @@ StartupNotify=true Hey!

This is probably the last time I'm going to make a blog. I've made a few in the past, but I've never really stuck to them. I'm hoping that this time will be different.
This one was made entirely from scratch using React and Markdown, initially trying to use MDX, but it was a pain to set up, and it didn't end up working in the end.
I'm hoping to post about my projects, and maybe some other stuff too. I'm not sure yet, but I'll figure it out as I go along.
Anyways, thank you for reading. I hope you enjoyed my UX/UI for this one!

PD: I need some help for making the blog text look good and readable, so hit me up on my Discord if you have any ideas.

+]]>
+ + + <![CDATA[Releasing sern Automata v2]]> + https://srizan.dev/blog/5 + https://srizan.dev/blog/5 + Wed, 08 May 2024 18:46:01 GMT + As once our lord and savior Terry A. Davis said, "An idiot admires complexity, a genius admires simplicity."
And, welp, that's what I just did with my github bot Automata.

+

v1

+

Automata v1 was a real mess. We were supposed to publish a next.js website, a jobs system to make our lives easier, and a large etc.

+

Now, I've been working on this for quite a while (about a year) and I felt like I wasn't going anywhere. So I just thought about it we could run the automation scripts on Github Actions, right?

+

So I got to work

+

And in 4 days I got the whole thing working. I'm really proud of it.

+

We send API requests to Github whenever we want to trigger a workflow, on demand, by using the webhook system and handling everything from there.
As a bonus I also added a command, so we could merge on a more controlled way, specially on larger PRs.

+

Unexpected bugs on prod just after the PR merge

+

There were some bugs on launch.

+
    +
  • I didn't have a start script nor a license (commit)
  • +
  • I forgot to change some environment variable names on index.ts (commit)
  • +
  • A day later, forgot to listen on the PORT environment variable (commit)
  • +
  • Squash and merge by default (ended up regretting it, see below) (commit)
  • +
  • I FORGOT TO CHECK IF THE COMMAND MENTIONED @SERNBOT (commit)
  • +
+

That last one was a real pain, as I detected the bug in production, on the most important PR of the week, if not the month: the website's move to starlight docs. +

+

Conclusion

+

Wow, a project with good DevEx? SIGN ME UP!

+

PD: I created a next.js template with my preferred tech stack, make sure to check it out! link

]]>
diff --git a/src/app/_css/RandomBackground.css b/src/app/_css/RandomBackground.css index f234098..8868f97 100644 --- a/src/app/_css/RandomBackground.css +++ b/src/app/_css/RandomBackground.css @@ -3,6 +3,9 @@ height: 100vh; filter: blur(5px); filter: brightness(30%); + object-fit: cover; + z-index: -1; + background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;