Update navigation groups for various resources: change navigation group names for AboutPageSettings, ContactPageSettings, AuthorResource, BrandResource, CommentResource, InternshipResource, NewsResource, SolutionResource, SuccessResource, and TeamMemberResource to better reflect their content. Enhance panel navigation structure by adding new groups for improved organization.
This commit is contained in:
@@ -223,7 +223,7 @@ class AboutPageSettings extends SettingsPage
|
|||||||
|
|
||||||
public static function getNavigationGroup(): ?string
|
public static function getNavigationGroup(): ?string
|
||||||
{
|
{
|
||||||
return __('CMS');
|
return __('About US');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getNavigationLabel(): string
|
public static function getNavigationLabel(): string
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ use Illuminate\Contracts\Support\Htmlable;
|
|||||||
|
|
||||||
class ContactPageSettings extends SettingsPage
|
class ContactPageSettings extends SettingsPage
|
||||||
{
|
{
|
||||||
protected static ?string $navigationGroup = 'CMS';
|
protected static ?string $navigationGroup = 'Contact';
|
||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-phone';
|
protected static ?string $navigationIcon = 'heroicon-o-phone';
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ class ContactPageSettings extends SettingsPage
|
|||||||
|
|
||||||
public static function getNavigationGroup(): ?string
|
public static function getNavigationGroup(): ?string
|
||||||
{
|
{
|
||||||
return __('CMS');
|
return __('Contact');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getNavigationLabel(): string
|
public static function getNavigationLabel(): string
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class AuthorResource extends Resource
|
|||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-users';
|
protected static ?string $navigationIcon = 'heroicon-o-users';
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'News';
|
protected static ?string $navigationGroup = 'News & Stories';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class BrandResource extends Resource
|
|||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-tag';
|
protected static ?string $navigationIcon = 'heroicon-o-tag';
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'Brands';
|
protected static ?string $navigationGroup = 'Home';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ class CommentResource extends Resource
|
|||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-chat-bubble-bottom-center-text';
|
protected static ?string $navigationIcon = 'heroicon-o-chat-bubble-bottom-center-text';
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'News';
|
protected static ?string $navigationGroup = 'News & Stories';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class InternshipResource extends Resource
|
|||||||
{
|
{
|
||||||
protected static ?string $model = Internship::class;
|
protected static ?string $model = Internship::class;
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'Internships';
|
protected static ?string $navigationGroup = 'Careers';
|
||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-academic-cap';
|
protected static ?string $navigationIcon = 'heroicon-o-academic-cap';
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class NewsResource extends Resource
|
|||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-newspaper';
|
protected static ?string $navigationIcon = 'heroicon-o-newspaper';
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'News';
|
protected static ?string $navigationGroup = 'News & Stories';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class SolutionResource extends Resource
|
|||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-light-bulb';
|
protected static ?string $navigationIcon = 'heroicon-o-light-bulb';
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'Solutions';
|
protected static ?string $navigationGroup = 'Our Solutions';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class SuccessResource extends Resource
|
|||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-bookmark-square';
|
protected static ?string $navigationIcon = 'heroicon-o-bookmark-square';
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'Success Stories';
|
protected static ?string $navigationGroup = 'News & Stories';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class TeamMemberResource extends Resource
|
|||||||
|
|
||||||
protected static ?string $navigationIcon = 'heroicon-o-users';
|
protected static ?string $navigationIcon = 'heroicon-o-users';
|
||||||
|
|
||||||
protected static ?string $navigationGroup = 'CMS';
|
protected static ?string $navigationGroup = 'About US';
|
||||||
|
|
||||||
public static function form(Form $form): Form
|
public static function form(Form $form): Form
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,6 +33,16 @@ class PanelPanelProvider extends PanelProvider
|
|||||||
->colors([
|
->colors([
|
||||||
'primary' => Color::Amber,
|
'primary' => Color::Amber,
|
||||||
])
|
])
|
||||||
|
->navigationGroups([
|
||||||
|
'Home',
|
||||||
|
'About US',
|
||||||
|
'Our Solutions',
|
||||||
|
'News & Stories',
|
||||||
|
'Careers',
|
||||||
|
'Contact',
|
||||||
|
'Settings',
|
||||||
|
'Activities',
|
||||||
|
])
|
||||||
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
|
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
|
||||||
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
|
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
|
||||||
->pages([
|
->pages([
|
||||||
@@ -43,7 +53,6 @@ class PanelPanelProvider extends PanelProvider
|
|||||||
->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
|
->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
|
||||||
->widgets([
|
->widgets([
|
||||||
Widgets\AccountWidget::class,
|
Widgets\AccountWidget::class,
|
||||||
Widgets\FilamentInfoWidget::class,
|
|
||||||
])
|
])
|
||||||
->middleware([
|
->middleware([
|
||||||
EncryptCookies::class,
|
EncryptCookies::class,
|
||||||
|
|||||||
101
config/filament.php
Normal file
101
config/filament.php
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Broadcasting
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By uncommenting the Laravel Echo configuration, you may connect Filament
|
||||||
|
| to any Pusher-compatible websockets server.
|
||||||
|
|
|
||||||
|
| This will allow your users to receive real-time notifications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'broadcasting' => [
|
||||||
|
|
||||||
|
// 'echo' => [
|
||||||
|
// 'broadcaster' => 'pusher',
|
||||||
|
// 'key' => env('VITE_PUSHER_APP_KEY'),
|
||||||
|
// 'cluster' => env('VITE_PUSHER_APP_CLUSTER'),
|
||||||
|
// 'wsHost' => env('VITE_PUSHER_HOST'),
|
||||||
|
// 'wsPort' => env('VITE_PUSHER_PORT'),
|
||||||
|
// 'wssPort' => env('VITE_PUSHER_PORT'),
|
||||||
|
// 'authEndpoint' => '/broadcasting/auth',
|
||||||
|
// 'disableStats' => true,
|
||||||
|
// 'encrypted' => true,
|
||||||
|
// 'forceTLS' => true,
|
||||||
|
// ],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Filesystem Disk
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the storage disk Filament will use to store files. You may use
|
||||||
|
| any of the disks defined in the `config/filesystems.php`.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default_filesystem_disk' => env('FILAMENT_FILESYSTEM_DISK', 'public'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Assets Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the directory where Filament's assets will be published to. It
|
||||||
|
| is relative to the `public` directory of your Laravel application.
|
||||||
|
|
|
||||||
|
| After changing the path, you should run `php artisan filament:assets`.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'assets_path' => null,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the directory that Filament will use to store cache files that
|
||||||
|
| are used to optimize the registration of components.
|
||||||
|
|
|
||||||
|
| After changing the path, you should run `php artisan filament:cache-components`.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cache_path' => base_path('bootstrap/cache/filament'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Livewire Loading Delay
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This sets the delay before loading indicators appear.
|
||||||
|
|
|
||||||
|
| Setting this to 'none' makes indicators appear immediately, which can be
|
||||||
|
| desirable for high-latency connections. Setting it to 'default' applies
|
||||||
|
| Livewire's standard 200ms delay.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'livewire_loading_delay' => 'default',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| System Route Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the prefix used for the system routes that Filament registers,
|
||||||
|
| such as the routes for downloading exports and failed import rows.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'system_route_prefix' => 'filament',
|
||||||
|
|
||||||
|
];
|
||||||
@@ -30,6 +30,9 @@
|
|||||||
<div class="price__area section-padding">
|
<div class="price__area section-padding">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div class="col-xl-12 mb-25 text-center">
|
||||||
|
<h3 class="section-title">For general application, send your resume at career@gujurly.com</h3>
|
||||||
|
</div>
|
||||||
@forelse ($careers as $career)
|
@forelse ($careers as $career)
|
||||||
<div class="col-xl-4 col-md-6 xl-mb-25 wow fadeInUp" data-wow-delay=".4s">
|
<div class="col-xl-4 col-md-6 xl-mb-25 wow fadeInUp" data-wow-delay=".4s">
|
||||||
<div class="price__area-item">
|
<div class="price__area-item">
|
||||||
|
|||||||
@@ -30,6 +30,9 @@
|
|||||||
<div class="price__area section-padding">
|
<div class="price__area section-padding">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div class="col-xl-12 mb-25 text-center">
|
||||||
|
<h3 class="section-title">For general application, send your resume at career@gujurly.com</h3>
|
||||||
|
</div>
|
||||||
@forelse ($internships as $internship)
|
@forelse ($internships as $internship)
|
||||||
<div class="col-xl-4 col-md-6 xl-mb-25 wow fadeInUp" data-wow-delay=".4s">
|
<div class="col-xl-4 col-md-6 xl-mb-25 wow fadeInUp" data-wow-delay=".4s">
|
||||||
<div class="price__area-item">
|
<div class="price__area-item">
|
||||||
|
|||||||
Reference in New Issue
Block a user