diff --git a/database/factories/ArticleFactory.php b/database/factories/ArticleFactory.php index 3e15408..57c212c 100644 --- a/database/factories/ArticleFactory.php +++ b/database/factories/ArticleFactory.php @@ -20,7 +20,7 @@ public function definition(): array { return [ 'feed_id' => Feed::factory(), - 'url' => $this->faker->url(), + 'url' => $this->faker->unique()->url(), 'title' => $this->faker->sentence(), 'description' => $this->faker->paragraph(), 'content' => $this->faker->paragraphs(3, true), diff --git a/resources/views/components/page-header.blade.php b/resources/views/components/page-header.blade.php new file mode 100644 index 0000000..196509c --- /dev/null +++ b/resources/views/components/page-header.blade.php @@ -0,0 +1,16 @@ +@props(['title', 'subtitle' => null]) + +
+
+

{{ $title }}

+ @if ($subtitle) +

{{ $subtitle }}

+ @endif +
+
+ {{ $slot }} + +
+
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 78d305a..30d77ed 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -66,9 +66,6 @@ class="p-2 rounded-md text-gray-400 hover:text-gray-600 hover:bg-gray-100" -
- -
diff --git a/resources/views/livewire/articles.blade.php b/resources/views/livewire/articles.blade.php index 1ad79b9..6e2930f 100644 --- a/resources/views/livewire/articles.blade.php +++ b/resources/views/livewire/articles.blade.php @@ -1,11 +1,5 @@
-
-
-

Articles

-

- Review and manage article routing -

-
+ -
+ {{-- Tab bar --}}
diff --git a/resources/views/livewire/channels.blade.php b/resources/views/livewire/channels.blade.php index ec4691e..9bf0c75 100644 --- a/resources/views/livewire/channels.blade.php +++ b/resources/views/livewire/channels.blade.php @@ -1,10 +1,5 @@
-
-

Channels

-

- Manage your platform channels and linked accounts -

-
+
@forelse ($channels as $channel) diff --git a/resources/views/livewire/dashboard.blade.php b/resources/views/livewire/dashboard.blade.php index 9060411..489812b 100644 --- a/resources/views/livewire/dashboard.blade.php +++ b/resources/views/livewire/dashboard.blade.php @@ -1,10 +1,5 @@
-
-

Dashboard

-

- Overview of your feed management system -

-
+
diff --git a/resources/views/livewire/feeds.blade.php b/resources/views/livewire/feeds.blade.php index 1a2e5f0..5f4fc72 100644 --- a/resources/views/livewire/feeds.blade.php +++ b/resources/views/livewire/feeds.blade.php @@ -1,10 +1,5 @@
-
-

Feeds

-

- Manage your news feed sources -

-
+
@forelse ($feeds as $feed) diff --git a/resources/views/livewire/routes.blade.php b/resources/views/livewire/routes.blade.php index 5ab5cc2..45c04c6 100644 --- a/resources/views/livewire/routes.blade.php +++ b/resources/views/livewire/routes.blade.php @@ -1,11 +1,5 @@
-
-
-

Routes

-

- Manage connections between your feeds and channels -

-
+