mirror of
https://github.com/slawkens/myaac.git
synced 2026-02-06 21:26:22 +01:00
Better gallery
Replaced complex gallery with simple script Slideshow loaded from images/gallery folder Credits: https://www.w3schools.com/howto/howto_js_slideshow.asp
This commit is contained in:
@@ -57,16 +57,6 @@ if (NewsCategory::count() === 0) {
|
||||
}
|
||||
}
|
||||
|
||||
if (Gallery::count() === 0) {
|
||||
Gallery::create([
|
||||
'comment' => 'Demon',
|
||||
'image' => 'images/gallery/demon.jpg',
|
||||
'thumb' => 'images/gallery/demon_thumb.gif',
|
||||
'author' => 'MyAAC',
|
||||
'ordering' => 0,
|
||||
]);
|
||||
}
|
||||
|
||||
if(FAQ::count() == 0) {
|
||||
FAQ::create([
|
||||
'question' => 'What is this?',
|
||||
|
||||
Reference in New Issue
Block a user