diff --git a/.env.example b/.env.example
index 383f11b..d467f5e 100644
--- a/.env.example
+++ b/.env.example
@@ -4,55 +4,75 @@ APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
-STATAMIC_LICENSE_KEY=
-STATAMIC_STACHE_WATCHER=true
-STATAMIC_STATIC_CACHING_STRATEGY=null
-STATAMIC_REVISIONS_ENABLED=false
-STATAMIC_GRAPHQL_ENABLED=false
-STATAMIC_API_ENABLED=false
-STATAMIC_GIT_ENABLED=false
+APP_LOCALE=en
+APP_FALLBACK_LOCALE=en
+APP_FAKER_LOCALE=en_US
-PODCASTER_PUBSUBHUBBUB_ENABLED=false
+APP_MAINTENANCE_DRIVER=file
+# APP_MAINTENANCE_STORE=file
+
+# PHP_CLI_SERVER_WORKERS=4
+
+BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
+LOG_STACK=single
+LOG_DEPRECATIONS_CHANNEL=null
+LOG_LEVEL=debug
-DB_CONNECTION=mysql
-DB_HOST=127.0.0.1
-DB_PORT=3306
-DB_DATABASE=laravel
-DB_USERNAME=root
-DB_PASSWORD=
+DB_CONNECTION=sqlite
+# DB_HOST=127.0.0.1
+# DB_PORT=3306
+# DB_DATABASE=laravel
+# DB_USERNAME=root
+# DB_PASSWORD=
-BROADCAST_DRIVER=log
-CACHE_DRIVER=file
-QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
+SESSION_ENCRYPT=false
+SESSION_PATH=/
+SESSION_DOMAIN=null
+
+BROADCAST_CONNECTION=log
+FILESYSTEM_DISK=local
+QUEUE_CONNECTION=sync
+CACHE_STORE=file
+#CACHE_PREFIX=
+
+MEMCACHED_HOST=127.0.0.1
+
+REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
-MAIL_MAILER=smtp
-MAIL_HOST=smtp.mailtrap.io
+MAIL_MAILER=log
+MAIL_SCHEME=null
+MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
-MAIL_ENCRYPTION=null
-MAIL_FROM_ADDRESS=null
+MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"
-PUSHER_APP_ID=
-PUSHER_APP_KEY=
-PUSHER_APP_SECRET=
-PUSHER_APP_CLUSTER=mt1
-
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
+AWS_USE_PATH_STYLE_ENDPOINT=false
-MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
-MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
+VITE_APP_NAME="${APP_NAME}"
+
+STATAMIC_LICENSE_KEY=
+STATAMIC_PRO_ENABLED=false
+STATAMIC_STACHE_WATCHER=auto
+STATAMIC_STATIC_CACHING_STRATEGY=null
+STATAMIC_REVISIONS_ENABLED=false
+STATAMIC_GRAPHQL_ENABLED=false
+STATAMIC_API_ENABLED=false
+STATAMIC_GIT_ENABLED=false
DEBUGBAR_ENABLED=false
+
+PODCASTER_PUBSUBHUBBUB_ENABLED=false
\ No newline at end of file
diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php
index 6801cc0..bb7ce06 100644
--- a/app/Providers/AppServiceProvider.php
+++ b/app/Providers/AppServiceProvider.php
@@ -2,8 +2,8 @@
namespace App\Providers;
+use Livewire\Livewire;
use Illuminate\Support\ServiceProvider;
-use Statamic\Statamic;
class AppServiceProvider extends ServiceProvider
{
@@ -12,7 +12,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
- \Livewire\Livewire::forceAssetInjection();
+ Livewire::forceAssetInjection();
}
/**
@@ -20,9 +20,6 @@ public function register(): void
*/
public function boot(): void
{
- // Statamic::vite('app', [
- // 'resources/js/cp.js',
- // 'resources/css/cp.css',
- // ]);
+ //
}
}
diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php
deleted file mode 100644
index 534f6b8..0000000
--- a/app/Providers/EventServiceProvider.php
+++ /dev/null
@@ -1,37 +0,0 @@
- [
- SendEmailVerificationNotification::class,
- ],
- EntrySaved::class => [
- PubSubHubbub::class,
- ],
- ];
-
- /**
- * Register any events for your application.
- *
- * @return void
- */
- public function boot()
- {
- //
- }
-}
diff --git a/app/Widgets/GettingStartedWithPodcaster.php b/app/Widgets/GettingStartedWithPodcaster.php
index 53305e0..0ed422d 100644
--- a/app/Widgets/GettingStartedWithPodcaster.php
+++ b/app/Widgets/GettingStartedWithPodcaster.php
@@ -2,6 +2,7 @@
namespace App\Widgets;
+use Statamic\Facades\Entry;
use Statamic\Widgets\Widget;
class GettingStartedWithPodcaster extends Widget
@@ -13,7 +14,7 @@ class GettingStartedWithPodcaster extends Widget
*/
public function html()
{
- $episodes = \Statamic\Facades\Entry::query()->where('collection', 'episodes')->count();
+ $episodes = Entry::query()->where('collection', 'episodes')->count();
return view('widgets.getting-started', compact('episodes'));
}
diff --git a/config/podcaster.php b/config/podcaster.php
index f9e3443..db6047d 100644
--- a/config/podcaster.php
+++ b/config/podcaster.php
@@ -18,5 +18,6 @@
'pubsubhubbub' => [
'enabled' => env('PODCASTER_PUBSUBHUBBUB_ENABLED', false),
- ]
+ ],
+
];
diff --git a/config/statamic/cp.php b/config/statamic/cp.php
index 9f69471..1ae2482 100644
--- a/config/statamic/cp.php
+++ b/config/statamic/cp.php
@@ -1,5 +1,7 @@
env('CP_ROUTE', 'cp'),
+ /*
+ |--------------------------------------------------------------------------
+ | Authentication
+ |--------------------------------------------------------------------------
+ |
+ | Whether the Control Panel's authentication pages should be enabled,
+ | and where users should be redirected in order to authenticate.
+ |
+ */
+
+ 'auth' => [
+ 'enabled' => true,
+ 'redirect_to' => null,
+ ],
+
/*
|--------------------------------------------------------------------------
| Start Page
@@ -41,34 +58,20 @@
'getting_started_with_podcaster',
],
- /*
- |--------------------------------------------------------------------------
- | Date Format
- |--------------------------------------------------------------------------
- |
- | When a date is encountered throughout the Control Panel, it will be
- | rendered in the following format unless overridden in specific
- | fields, and so on. Any PHP date variables are permitted.
- |
- | This takes precedence over the date_format in system.php.
- |
- | https://www.php.net/manual/en/function.date.php
- |
- */
-
- 'date_format' => 'Y-m-d',
-
/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
|
- | The numbers of items to show on each paginated page.
+ | Here you may define the default pagination size as well as the options
+ | the user can select on any paginated listing in the Control Panel.
|
*/
'pagination_size' => 50,
+ 'pagination_size_options' => [10, 25, 50, 100, 500],
+
/*
|--------------------------------------------------------------------------
| Links to Documentation
@@ -97,12 +100,41 @@
| Theme
|--------------------------------------------------------------------------
|
- | Optionally spice up the login and other outside-the-control-panel
- | screens. You may choose between "rad" or "business" themes.
+ | Adjust the colors used in the Control Panel. Use the Color class
+ | to easily access the Tailwind CSS color palette.
|
*/
- 'theme' => env('STATAMIC_THEME', 'rad'),
+ 'theme' => [
+ // 'grays' => Color::Zinc,
+
+ // 'primary' => Color::Zinc[800],
+ // 'success' => Color::Green[400],
+ // 'danger' => Color::Red[600],
+
+ // 'ui-accent-bg' => Color::Zinc[800],
+ // 'ui-accent-text' => Color::Zinc[800],
+ // 'dark-ui-accent-bg' => Color::Zinc[950],
+ // 'dark-ui-accent-text' => Color::Zinc[400],
+
+ // 'body-bg' => Color::Zinc[100],
+ // 'body-border' => Color::Transparent,
+ // 'dark-body-bg' => Color::Zinc[900],
+ // 'dark-body-border' => Color::Zinc[950],
+
+ // 'global-header-bg' => Color::Zinc[800],
+ // 'dark-global-header-bg' => Color::Zinc[800],
+
+ // 'content-bg' => "linear-gradient(to right, hsl(0,0%,99%), #ffffff)",
+ // 'content-border' => Color::Zinc[200],
+ // 'dark-content-bg' => Color::Zinc[900],
+ // 'dark-content-border' => Color::Zinc[950],
+
+ // 'progress-bar' => Color::Volt,
+
+ // 'switch-bg' => Color::Green[500],
+ // 'dark-switch-bg' => Color::Green[600],
+ ],
/*
|--------------------------------------------------------------------------
@@ -119,8 +151,25 @@
'custom_logo_url' => env('STATAMIC_CUSTOM_LOGO_URL', null),
+ 'custom_dark_logo_url' => env('STATAMIC_CUSTOM_DARK_LOGO_URL', null),
+
+ 'custom_logo_text' => env('STATAMIC_CUSTOM_LOGO_TEXT', null),
+
'custom_favicon_url' => env('STATAMIC_CUSTOM_FAVICON_URL', null),
'custom_css_url' => env('STATAMIC_CUSTOM_CSS_URL', null),
-];
+ /*
+ |--------------------------------------------------------------------------
+ | Thumbnails
+ |--------------------------------------------------------------------------
+ |
+ | Here you may define additional CP asset thumbnail presets.
+ |
+ */
+
+ 'thumbnail_presets' => [
+ // 'medium' => 800,
+ ],
+
+];
\ No newline at end of file
diff --git a/content/collections/episodes.yaml b/content/collections/episodes.yaml
index 1d7c8ee..ba49aca 100644
--- a/content/collections/episodes.yaml
+++ b/content/collections/episodes.yaml
@@ -1,4 +1,5 @@
title: Episodes
+icon: computer-voice-mail-microphone
template: episodes/show
layout: layout
mount: 902d111c-b83e-43fe-98e0-80b83a33d750
diff --git a/content/collections/links.yaml b/content/collections/links.yaml
index 6a8c9d7..ed93202 100644
--- a/content/collections/links.yaml
+++ b/content/collections/links.yaml
@@ -1,4 +1,5 @@
title: Links
+icon: link
template: default
layout: layout
mount: 4c620c7f-b39e-4046-ab29-e095cedd57f4
diff --git a/content/collections/pages.yaml b/content/collections/pages.yaml
index 3a6a7f6..960d6c2 100644
--- a/content/collections/pages.yaml
+++ b/content/collections/pages.yaml
@@ -1,4 +1,5 @@
title: Pages
+icon: page
structure:
root: true
route: '{parent_uri}/{slug}'
diff --git a/content/globals/default/podcast.yaml b/content/globals/default/podcast.yaml
new file mode 100644
index 0000000..803a6fa
--- /dev/null
+++ b/content/globals/default/podcast.yaml
@@ -0,0 +1,20 @@
+title: 'Breakfast Cereal'
+cover_art: artwork/breakfast-cereal-cover.jpg
+description: 'One bowl of cereal eaten and meticulously reviewed, week by week.'
+type: desc
+primary_category: Comedy
+secondary_category: 'Health & Fitness » Nutrition'
+keywords:
+ - cereal
+ - reviews
+ - breakfast
+spoken_language: en
+author: 'Jack McDade'
+copyright: '© {{ now format="Y" }} Jack McDade'
+owner_name: 'Jack McDade'
+owner_email: jack@jackmcdade.com
+explicit: false
+itunes_block: false
+google_block: false
+locked: false
+complete: false
diff --git a/content/globals/default/theme.yaml b/content/globals/default/theme.yaml
new file mode 100644
index 0000000..534e1b8
--- /dev/null
+++ b/content/globals/default/theme.yaml
@@ -0,0 +1,15 @@
+social_links:
+ -
+ name: Twitter
+ url: 'https://twitter.com/jackmcdade'
+ icon: theme/social/twitter.svg
+ -
+ name: Github
+ url: 'https://github.com/jackmcdade'
+ icon: theme/social/github.svg
+ -
+ name: Email
+ url: 'mailto:shout@jackmcdade.com'
+ icon: theme/social/email.svg
+primary_color: '#FA7268'
+secondary_color: '#C62368'
diff --git a/content/globals/podcast.yaml b/content/globals/podcast.yaml
index 8c4576a..4d1ac46 100644
--- a/content/globals/podcast.yaml
+++ b/content/globals/podcast.yaml
@@ -1,22 +1 @@
-title: Podcast
-data:
- title: 'Breakfast Cereal'
- cover_art: artwork/breakfast-cereal-cover.jpg
- description: 'One bowl of cereal eaten and meticulously reviewed, week by week.'
- type: desc
- primary_category: Comedy
- secondary_category: 'Health & Fitness » Nutrition'
- keywords:
- - cereal
- - reviews
- - breakfast
- spoken_language: en
- author: 'Jack McDade'
- copyright: '© {{ now format="Y" }} Jack McDade'
- owner_name: 'Jack McDade'
- owner_email: jack@jackmcdade.com
- explicit: false
- itunes_block: false
- google_block: false
- locked: false
- complete: false
+title: Podcast
\ No newline at end of file
diff --git a/content/globals/theme.yaml b/content/globals/theme.yaml
index cbe142f..1926e62 100644
--- a/content/globals/theme.yaml
+++ b/content/globals/theme.yaml
@@ -1,17 +1 @@
-title: Theme
-data:
- social_links:
- -
- name: Twitter
- url: 'https://twitter.com/jackmcdade'
- icon: theme/social/twitter.svg
- -
- name: Github
- url: 'https://github.com/jackmcdade'
- icon: theme/social/github.svg
- -
- name: Email
- url: 'mailto:shout@jackmcdade.com'
- icon: theme/social/email.svg
- primary_color: '#FA7268'
- secondary_color: '#C62368'
+title: Theme
\ No newline at end of file
diff --git a/resources/js/components/fieldtypes/DummyFieldtype.vue b/resources/js/components/fieldtypes/DummyFieldtype.vue
deleted file mode 100644
index db1be15..0000000
--- a/resources/js/components/fieldtypes/DummyFieldtype.vue
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
Let's get this podcast going. Your listeners are waiting.
-Set your podcast's name, cover artwork, iTunes, categories, and other important details.
-Get that fresh episode out there, or make some tweaks to existing episodes.
- @else -Finished recording and editing? What are you waiting for — get that content out there!
- @endif -Customize colors, social media links, and other settings to make the site more uniquely you!
-If you need multiple user accounts, roles, permissions, or want to white label the control panel, it's time for Statamic Pro!
-