update deploy
This commit is contained in:
10
app/Enums/AnnouncementCategory.php
Normal file
10
app/Enums/AnnouncementCategory.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum AnnouncementCategory: string
|
||||
{
|
||||
case Announcement = 'announcement';
|
||||
case News = 'news';
|
||||
case Event = 'event';
|
||||
}
|
||||
23
app/Enums/CourseBadge.php
Normal file
23
app/Enums/CourseBadge.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum CourseBadge: string
|
||||
{
|
||||
case Popular = 'popular';
|
||||
case MostPreferred = 'most_preferred';
|
||||
case New = 'new';
|
||||
case Recommended = 'recommended';
|
||||
case Limited = 'limited';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Popular => 'Popüler',
|
||||
self::MostPreferred => 'En Çok Tercih Edilen',
|
||||
self::New => 'Yeni',
|
||||
self::Recommended => 'Önerilen',
|
||||
self::Limited => 'Sınırlı Kontenjan',
|
||||
};
|
||||
}
|
||||
}
|
||||
15
app/Enums/FaqCategory.php
Normal file
15
app/Enums/FaqCategory.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum FaqCategory: string
|
||||
{
|
||||
case Egitimler = 'egitimler';
|
||||
case Stcw = 'stcw';
|
||||
case Makine = 'makine';
|
||||
case YatKaptanligi = 'yat-kaptanligi';
|
||||
case Yenileme = 'yenileme';
|
||||
case Guvenlik = 'guvenlik';
|
||||
case Kayit = 'kayit';
|
||||
case Iletisim = 'iletisim';
|
||||
}
|
||||
13
app/Enums/LeadSource.php
Normal file
13
app/Enums/LeadSource.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum LeadSource: string
|
||||
{
|
||||
case KursKayit = 'kurs_kayit';
|
||||
case Danismanlik = 'danismanlik';
|
||||
case Duyuru = 'duyuru';
|
||||
case Iletisim = 'iletisim';
|
||||
case HeroForm = 'hero_form';
|
||||
case WhatsappWidget = 'whatsapp_widget';
|
||||
}
|
||||
11
app/Enums/LeadStatus.php
Normal file
11
app/Enums/LeadStatus.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum LeadStatus: string
|
||||
{
|
||||
case New = 'new';
|
||||
case Contacted = 'contacted';
|
||||
case Enrolled = 'enrolled';
|
||||
case Cancelled = 'cancelled';
|
||||
}
|
||||
11
app/Enums/MenuLocation.php
Normal file
11
app/Enums/MenuLocation.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum MenuLocation: string
|
||||
{
|
||||
case HeaderMain = 'header_main';
|
||||
case FooterCorporate = 'footer_corporate';
|
||||
case FooterEducation = 'footer_education';
|
||||
case FooterQuicklinks = 'footer_quicklinks';
|
||||
}
|
||||
10
app/Enums/MenuType.php
Normal file
10
app/Enums/MenuType.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum MenuType: string
|
||||
{
|
||||
case Link = 'link';
|
||||
case MegaMenuEducation = 'mega_menu_education';
|
||||
case MegaMenuCalendar = 'mega_menu_calendar';
|
||||
}
|
||||
17
app/Enums/SettingGroup.php
Normal file
17
app/Enums/SettingGroup.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum SettingGroup: string
|
||||
{
|
||||
case General = 'general';
|
||||
case Contact = 'contact';
|
||||
case Maps = 'maps';
|
||||
case Social = 'social';
|
||||
case Seo = 'seo';
|
||||
case Analytics = 'analytics';
|
||||
case Header = 'header';
|
||||
case Footer = 'footer';
|
||||
case Integrations = 'integrations';
|
||||
case InfoSections = 'info_sections';
|
||||
}
|
||||
15
app/Enums/SettingType.php
Normal file
15
app/Enums/SettingType.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum SettingType: string
|
||||
{
|
||||
case Text = 'text';
|
||||
case Textarea = 'textarea';
|
||||
case Image = 'image';
|
||||
case Boolean = 'boolean';
|
||||
case Json = 'json';
|
||||
case Richtext = 'richtext';
|
||||
case Url = 'url';
|
||||
case Color = 'color';
|
||||
}
|
||||
Reference in New Issue
Block a user