<!--resoureces/views/admin/partials/head.blade.php-->

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>{{ $siteTitle }}</title>
        <link href="{{ asset('styles/global.css') }}" rel='stylesheet' />
        <link href="{{ asset('images/site_logo.png') }}" rel='icon' />
        <link href="{{ asset('fonts/setup.css') }}" rel='stylesheet' />
        <script src="{{ asset('scripts/jQuery.js') }}"></script>
        <link href="{{ asset('styles/admin/partials/header.css') }}" rel='stylesheet' />
    </head>
    <body>
    <div class='Site region'>

    <div class='Title'>
        <div class='wrapper'>
            <a href='<?php echo url("/") ?>'>{{ $siteTitle }}</a>
            
        </div>
    </div>

    

 

@include('admin.partials.header')
<script src="{{ asset('scripts/ckeditor/ckeditor.js') }}"></script>
<link href="{{ asset('styles/admin/post.css') }}" rel='stylesheet' />

<div class='Post'>
    <form action='<?php url("/admin/post") ?>' method='post'>
        <input type='text' name='title' required />
        <textarea class='editor' name='content' id='editor'></textarea>
        <div class='wrapper'>
            <input type='text' name='thumb' required />
            <input type='datetime-local' name='datetime' required />
            <input type='submit' value='បញ្ជូន' />
        </div>
    </form>
</div>

<script src="{{ asset('scripts/ckeditor/config.js') }}"></script>

@include('partials.footer')

 

.Post .ck-editor__editable{
    min-height: 300px;
}

.Post form input[name=title]{
    width: 100%;
}

.Post form input{
    font: var(--body-font);
    padding: 0 10px;
}

.Post .wrapper{
    display: grid;
    grid-template-columns: auto 30% 10%;
}

 

GitHub: https://github.com/Sokhavuth/laravel

Heroku: http://khmerweb-laravel.herokuapp.com/