{{ $article['title'] }}
-hey
-{{ Illuminate\Support\Str::limit($article['body'], 200) }}
-diff --git a/config/blog.php b/config/blog.php
index 49de2ab..ca93208 100644
--- a/config/blog.php
+++ b/config/blog.php
@@ -13,4 +13,15 @@ return [
'publishing_name' => 'Jon\'s Words',
+ /*
+ |--------------------------------------------------------------------------
+ | Subheading
+ |--------------------------------------------------------------------------
+ |
+ | The one sentence abbreviation of the blog that will display below the name
+ |
+ */
+
+ 'subheading' => 'A blog with an as yet unclear direction.',
+
];
diff --git a/database/factories/ArticleFactory.php b/database/factories/ArticleFactory.php
index 7bd6543..ccb51b1 100644
--- a/database/factories/ArticleFactory.php
+++ b/database/factories/ArticleFactory.php
@@ -76,7 +76,7 @@ class ArticleFactory extends Factory
$dice_roll = rand(0,100);
if($dice_roll <= 50) { // Make a SubTitle
- $markdown_result .= '# ' . fake()->words(rand(1,5), true) . "\n";
+ $markdown_result .= '## ' . fake()->words(rand(1,5), true) . "\n";
} elseif ($dice_roll <= 100) { // Make a paragraph
$markdown_result .= fake()->sentences(rand(2,5), true) . "\n";
}
diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php
index c148c63..14cf441 100644
--- a/database/seeders/DatabaseSeeder.php
+++ b/database/seeders/DatabaseSeeder.php
@@ -22,5 +22,12 @@ class DatabaseSeeder extends Seeder
$test_author = Author::factory()->user($test_user)->create();
Article::factory()->author($test_author)->count(30)->create();
+
+ $random_article = Article::where('id', '<', 10)->inRandomOrder()->first();
+
+ $random_article->body = "";
+ $random_article->save();
}
}
diff --git a/public/word-salad.css b/public/word-salad.css
index 9aac2b4..4c51a48 100644
--- a/public/word-salad.css
+++ b/public/word-salad.css
@@ -1,3 +1,31 @@
@view-transition {
navigation: auto;
}
+
+body {
+ background-color: #813d9c; /* Primary Purple */
+ color: white;
+ text-shadow: 1px 1px 2px blueviolet;
+}
+
+a {
+ text-decoration-color: aqua;
+ color: aqua;
+}
+
+#top-bar {
+ padding: 0.5em;
+ background-color: rgba(red, green, blue, 0.2);
+ border-bottom: 1px solid white;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.bubble-panel {
+ border-radius: 50px;
+ background: #813d9c;
+ box-shadow: -33px 33px 65px #66307b,
+ 33px -33px 65px #9c4abd;
+ padding: 2em;
+}
diff --git a/resources/views/article-preview.blade.php b/resources/views/article-preview.blade.php
deleted file mode 100644
index 1fa0ba3..0000000
--- a/resources/views/article-preview.blade.php
+++ /dev/null
@@ -1,6 +0,0 @@
- hey {{ Illuminate\Support\Str::limit($article['body'], 200) }}{{ $article['title'] }}
-
-
hey
+{!! Illuminate\Support\Str::limit($article['body'], 100) !!}
+{{ $article['author']['display_name'] }}
+Published At: {{ $article['published_at'] }}
+ +{{ config('blog.subheading') }}
+