<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

class Layout extends BaseConfig
{
    public const KEYWORD = '일본IDC 일본서버 일본 서버 일본호스팅 서버호스팅 디도스 공격 해외 호스팅 DDOS 방어 ddos 의뢰 디도스 보안 일본 단독서버 가상서버';

    public array $layouts = [
        'auth' => [
            'title' => self::KEYWORD,
            'path' => 'auth',
            'layout' => 'layouts' . DIRECTORY_SEPARATOR . 'auth',
            'template' => 'templates' . DIRECTORY_SEPARATOR . 'auth',
            'metas' => [
                '<meta charset="UTF-8">',
                '<meta name="viewport" content="width=device-width, initial-scale=1.0">',
                '<meta http-equiv="X-UA-Compatible" content="IE=Edge">',
                '<meta name="subject" content="Daemon IDC">',
                '<meta name="description" content="' . self::KEYWORD . '">',
                '<meta name="keywords" content="' . self::KEYWORD . '">',
                '<meta property="og:type" content="website">',
                '<meta property="og:title" content="Daemon IDC">',
                '<meta property="og:description" content="' . self::KEYWORD . '">',
            ],
            'stylesheets' => [
                '<link rel="icon" href="/favicon.ico">',
                '<link href="//cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">',
                '<link rel="stylesheet" href="/css/common/style.css" />',
            ],
            'javascripts' => [
                '<script src="//cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>',
            ],
            'footerScripts' => []
        ],
        'front' => [
            'title' => self::KEYWORD,
            'path' => 'front',
            'layout' => 'layouts' . DIRECTORY_SEPARATOR . 'front',
            'template' => 'templates' . DIRECTORY_SEPARATOR . 'front',
            'topmenus' => ['aboutus', 'hosting', 'service', 'support'],
            'metas' => [
                '<meta charset="UTF-8">',
                '<meta name="viewport" content="width=device-width, initial-scale=1.0">',
                '<meta http-equiv="X-UA-Compatible" content="IE=Edge">',
                '<meta name="subject" content="Daemon IDC">',
                '<meta name="description" content="' . self::KEYWORD . '">',
                '<meta name="keywords" content="' . self::KEYWORD . '">',
                '<meta property="og:type" content="website">',
                '<meta property="og:title" content="Daemon IDC">',
                '<meta property="og:description" content="' . self::KEYWORD . '">',
            ],
            'stylesheets' => [
                '<link rel="icon" href="/favicon.ico">',
                '<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">',
                '<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">',
                '<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">',
                '<link rel="stylesheet" href="/css/common/style.css" />',
            ],
            'javascripts' => [
                '<script src="//cdn.jsdelivr.net/npm/jquery@3.7.0/dist/jquery.min.js"></script>',
                '<script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>',
                '<script src="//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>',
                '<script src="//cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>',
            ],
            'footerScripts' => []
        ],
        'admin' => [
            'title' => '관리자화면',
            'path' => 'admin',
            'layout' => 'layouts' . DIRECTORY_SEPARATOR . 'admin',
            'template' => 'templates' . DIRECTORY_SEPARATOR . 'admin',
            'metas' => [
                '<meta charset="UTF-8">',
                '<meta name="viewport" content="width=device-width, initial-scale=1.0">',
                '<meta http-equiv="X-UA-Compatible" content="IE=Edge">',
                '<meta name="subject" content="Daemon IDC">',
                '<meta name="description" content="' . self::KEYWORD . '">',
                '<meta name="keywords" content="' . self::KEYWORD . '">',
                '<meta property="og:type" content="website">',
                '<meta property="og:title" content="Daemon IDC">',
                '<meta property="og:description" content="' . self::KEYWORD . '">',
            ],
            'stylesheets' => [
                '<link rel="icon" href="/favicon.ico">',
                '<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">',
                '<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">',
                '<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">',
                '<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css">',
                '<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/select2-bootstrap-5-theme@1.3.0/dist/select2-bootstrap-5-theme.min.css" />',
                '<link rel="stylesheet" href="/assets/tagify/dist/tagify.css">',
                '<link rel="stylesheet" href="/css/common/style.css" />',
            ],
            'javascripts' => [
                '<script src="//cdn.jsdelivr.net/npm/jquery@3.7.0/dist/jquery.min.js"></script>',
                '<script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>',
                '<script src="//cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>',
                '<script src="//cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>',
                '<script src="/assets/tinymce/tinymce.min.js" referrerpolicy="origin"></script>',
                '<script src="/assets/tagify/dist/tagify.js"></script>'
            ],
            'footerScripts' => []
        ],
    ];
}
