landing page completed

This commit is contained in:
2025-07-09 17:54:32 +05:45
parent 608f63cc87
commit d85b5a3662
27 changed files with 1097 additions and 63 deletions

View File

@ -1514,6 +1514,24 @@ CREATE TABLE IF NOT EXISTS `tbl_visa_grants` (
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
');
DB::statement('
CREATE TABLE IF NOT EXISTS `tbl_banners` (
`banner_id` int(11) AUTO_INCREMENT PRIMARY KEY,
`display` varchar(255) NULL DEFAULT NULL,
`title` varchar(250) NULL DEFAULT NULL,
`text` text NULL DEFAULT NULL,
`extra_content` LONGTEXT NULL DEFAULT NULL,
`cover` varchar(255) NULL DEFAULT NULL,
`display_order` int(11) NOT NULL DEFAULT 1,
`status` int(11) NOT NULL DEFAULT 1,
`createdby` int(11) DEFAULT NULL,
`updatedby` int(11) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
');
if (!(DB::table('users')->first())) {
DB::statement("INSERT INTO `tbl_users` (`id`, `name`, `email`, `username`, `email_verified_at`, `status`, `password`, `is_admin`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Prajwal Adhikari', 'prajwalbro@hotmail.com', 'prajwalbro@hotmail.com', '2024-04-18 09:59:01', 1, '$2y$10$3zlF9VeXexzWKRDPZuDio.W7RZIC3tU.cjwMoLzG8ki8bVwAQn1WW', 1, NULL, '2024-04-18 09:58:39', '2024-04-18 09:58:46');");