<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
northwestern-sysdev / northwestern-filament-theme example snippets
use Northwestern\FilamentTheme\NorthwesternTheme;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
NorthwesternTheme::make(),
// ... other plugins
])
// ... rest of panel config
;
}
return [
// A unit lockup (URL or public path). null uses the dept 4.0 "Northwestern" wordmark.
'lockup' => env('NU_LOCKUP'),
// The unit responsible for the application, shown in the footer.
'unit' => [
'name' => env('NU_UNIT_NAME'),
'address' => env('NU_UNIT_ADDRESS'),
'city' => env('NU_UNIT_CITY'),
'phone' => env('NU_UNIT_PHONE'),
'fax' => env('NU_UNIT_FAX'),
'email' => env('NU_UNIT_EMAIL'),
],
'footer' => [
// Shown under "Quick Links", as label => URL.
'links' => [],
// The "Connect" accounts, as network => URL. [] hides the section.
'social' => [
'facebook' => 'https://www.facebook.com/NorthwesternU',
'instagram' => 'https://instagram.com/northwesternu',
'youtube' => 'https://www.youtube.com/user/NorthwesternU',
],
],
];
use Northwestern\FilamentTheme\Footer\RequiredLink;
RequiredLink::Accessibility->url(); // https://www.northwestern.edu/accessibility/report/
RequiredLink::PrivacyStatement->label(); // Privacy Statement
RequiredLink::RESOURCES; // the five links under "Northwestern Resources"
RequiredLink::LEGAL; // the four links in the bottom bar