Skip to content

Commit

Permalink
Added new update blog post May 28, 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
jespermhl committed May 28, 2024
1 parent 895ad6d commit 422318f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ document.addEventListener("DOMContentLoaded", function () {
"[Read more]",
'<a class="icon-link" href="' + item.link + '">Read more <i class="bi bi-box-arrow-up-right"></i></a>'
);
description = description.replace(
"[read more]",
'<a class="icon-link" href="' + item.link + '">read more <i class="bi bi-box-arrow-up-right"></i></a>'
);

var cardHtml = `
<div class="col">
Expand Down
9 changes: 8 additions & 1 deletion scripts/blogposts.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
[
{
"title": "Update May 28, 2024",
"image_src": "/static/images/blog/generalupdate.jpg",
"description": "The Sims Team just published a new update! These are the key fixes: <ul><li>Dishes won't hide anymore; they'll be cleaned up properly.</li><li>Gardens stay weed-free even when out of season.</li><li>Campfires won't cause chaos on your lot.</li><li>No more annoying trash can reminders.</li><li>Skills stay stable, even when you leave the lot.</li><li>Packs are listed correctly in the Build/Buy filter.</li><li>Performance improvements mean smoother gameplay and faster load times.</li><li>Plus, various pack-specific fixes!</li></ul> I can't include everything her, so [read more] on the EA blog post!",
"link": "https://www.ea.com/games/the-sims/the-sims-4/news/update-5-28-2024",
"published_date": "May 28, 2024"
},
{
"title": "New Kits got announced!",
"image_src": "/static/images/blog/rivieraretreatcozybistro.png",
"image_src": "/static/images/blog/rivieraretreatcozybistro.jpg",
"description": "The Riviera Retreat Kit & the Cozy Bistro Kit just got announced. The Riviera Retreat Kit is a pool themed Kit with new pool fountains, pool trims, stucco, archways and more! <br /> <br /> The Cozy Bistro Kit is a bistro themed Kit with new tables, chairs, awnings wallpapers and more! <br /> <br /> They will both be available May 30, 2024 on all usual platforms. You can find more about these in the EA blog post [here].",
"link": "https://www.ea.com/games/the-sims/the-sims-4/news/cozy-bistro-and-riviera-retreat-kits",
"published_date": "May 28, 2024"
Expand Down
Binary file added static/images/blog/generalupdate.jpg
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 static/images/blog/rivieraretreatcozybistro.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/images/blog/rivieraretreatcozybistro.png
Binary file not shown.

0 comments on commit 422318f

Please sign in to comment.