fix: make configs serializable

This commit is contained in:
Frankie B 2023-06-14 23:35:47 +01:00
commit b87c1467c6
8 changed files with 175 additions and 207 deletions

View file

@ -1,29 +1,103 @@
<?php
use App\Models\Bookmark;
use App\Models\BookmarkCategory;
return [
new BookmarkCategory("Friends' Websites", [
new Bookmark("nick99nack", "http://www.nick99nack.com/", "Currently in the process of taking over the internet. I Totally didn't steal any of his stuff."),
new Bookmark("campos", "https://campos02.me/", "Cool brazilian dude, does programming and stuff"),
new Bookmark("Sashi", "https://joshuaalto.com/", "Site redesign #8! I'll find a website style I enjoy eventually, I swear!"),
new Bookmark("noone", "http://strangenessnetworks.com/", "Strangeness Networks, noone's website."),
new Bookmark("raf", "https://notashelf.dev/", "is a shelf"),
new Bookmark("CamK06", "https://starman0620.neocities.org/", "Now with more outdated HTML!"),
new Bookmark("HIDEN", "https://hiden.pw/", "Moar buttons!"),
new Bookmark("coco", "http://cocomark.neocities.org/", "needs to go to the brain store"),
new Bookmark("Toxidation", "http://toxi.pw/", "h (idk if this is his actual domain he has like 5)"),
new Bookmark("xproot", "http://xproot.pw/", "a random internet person on this very random planet")
]),
new BookmarkCategory("Cool Projects", [
new Bookmark("ToS;DR", "https://tosdr.org/", "\"I have read and agree to the Terms\" is the biggest lie on the web. They aim to fix that."),
new Bookmark("NINA", "https://nina.chat/", "Yahoo! Messenger (and soon AOL) revival"),
new Bookmark("Escargot", "https://escargot.chat/", "MSN/WLM revival"),
]),
new BookmarkCategory("Other Cool Stuff", [
new Bookmark("WinWorld", "http://www.winworldpc.com/", "WinWorld is an online museum dedicated to the preservation and sharing of vintage, abandoned, and pre-release software."),
new Bookmark("ToastyTech", "http://toastytech.com/", "Nathan's Toasty Technology Page"),
new Bookmark("Optimized for no one", "http://www.hoary.org/browse/", "Optimized for no one, but pretty much OK with . . ."),
new Bookmark("Cameron's World", "http://www.cameronsworld.net/", "A love letter to the Internet of old.")
])
[
'name' => "Friends' Websites",
'bookmarks' => [
[
'name' => "nick99nack",
'url' => "http://www.nick99nack.com/",
'description' => "Currently in the process of taking over the internet. I Totally didn't steal any of his stuff."
],
[
'name' => "campos",
'url' => "https://campos02.me/",
'description' => "Cool brazilian dude, does programming and stuff"
],
[
'name' => "Sashi",
'url' => "https://joshuaalto.com/",
'description' => "Site redesign #8! I'll find a website style I enjoy eventually, I swear!"
],
[
'name' => "noone",
'url' => "http://strangenessnetworks.com/",
'description' => "Strangeness Networks, noone's website."
],
[
'name' => "raf",
'url' => "https://notashelf.dev/",
'description' => "is a shelf"
],
[
'name' => "CamK06",
'url' => "https://starman0620.neocities.org/",
'description' => "Now with more outdated HTML!"
],
[
'name' => "HIDEN",
'url' => "https://hiden.pw/",
'description' => "Moar buttons!"
],
[
'name' => "coco",
'url' => "http://cocomark.neocities.org/",
'description' => "needs to go to the brain store"
],
[
'name' => "Toxidation",
'url' => "http://toxi.pw/",
'description' => "h (idk if this is his actual domain he has like 5)"
],
[
'name' => "xproot",
'url' => "http://xproot.pw/",
'description' => "a random internet person on this very random planet"
]
]
],
[
'name' => "Cool Projects",
'bookmarks' => [
[
'name' => "ToS;DR",
'url' => "https://tosdr.org/",
'description' => "\"I have read and agree to the Terms\" is the biggest lie on the web. They aim to fix that."
],
[
'name' => "NINA",
'url' => "https://nina.chat/",
'description' => "Yahoo! Messenger (and soon AOL) revival"
],
[
'name' => "Escargot",
'url' => "https://escargot.chat/",
'description' => "MSN/WLM revival"
],
]
],
[
'name' => "Other Cool Stuff",
'bookmarks' => [
[
'name' => "WinWorld",
'url' => "http://www.winworldpc.com/",
'description' => "WinWorld is an online museum dedicated to the preservation and sharing of vintage, abandoned, and pre-release software."
],
[
'name' => "ToastyTech",
'url' => "http://toastytech.com/",
'description' => "Nathan's Toasty Technology Page"
],
[
'name' => "Optimized for no one",
'url' => "http://www.hoary.org/browse/",
'description' => "Optimized for no one, but pretty much OK with . . ."
],
[
'name' => "Cameron's World",
'url' => "http://www.cameronsworld.net/",
'description' => "A love letter to the Internet of old."
]
]
]
];