<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{{ config('app.name', '') }}</title>
    <meta charset='utf-8'>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="{{ asset('assets/index/img/favicon.ico') }}" mce_href="favicon.ico" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/font-awesome.min.css') }}"/>
    <link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/swiper.min.css') }}"/>
    <link rel="stylesheet" type="text/css" href="{{ asset('assets/index/css/style.css') }}"/>
</head>
<body>

<!-- tool -->
<div class="tool">
    <div class="container">
        <form class="tool-search" action="{{ route('article.search') }}">
            <div class="search">
                <input type="text" placeholder="请输入..." name="title" value=""/>
                <button type="submit">搜索</button>
            </div>
        </form>

        <a href="#"><i class="fa fa-star"></i>加入收藏</a>
        <a href="#"><i class="fa fa-globe"></i>院所网站</a>
    </div>
</div>
<!-- end tool -->
<!-- header -->
<div class="container header">
    <a href="/">
        <img src="/assets/index/img/logo.png" class="header-logo">
    </a>
    <nav>
        <a href="/" @if (!isset($parent)) class="show" @endif>网站首页</a>
        @foreach ($all_categorys as $cate)
            <a href="{{ route('category.show',$cate) }}" @if (isset($parent) && $cate->id==$parent->id) class="show" @endif>{{ $cate->title }}</a>
        @endforeach
    </nav>
</div>
<!-- end header -->
<!-- 欢迎语 -->
<div class="hello">
    <div class="container hello-text">
        今天是 {{ now()->isoFormat('Y年M月D日 a h:mm:ss') }}  {{ now()->get('dayName') }}
    </div>
</div>
<!-- end 欢迎语 -->
@section('content')

@show
<script src="{{ asset('assets/index/js/jquery.min.js') }}" type="text/javascript" charset="utf-8"></script>
<script src="{{ asset('assets/index/js/swiper.min.js') }}" type="text/javascript" charset="utf-8"></script>

<!-- 友情连接 -->
<div class="container href">
    <div class="mian-title">
        <b>友情连接</b>
        <span>/&nbsp;&nbsp;Links</span>
    </div>
    <div class="href-content">
        @if ($links->isNotEmpty())
            @foreach ($links as $link)
                <a href="{{ $link->url }}">{{ $link->title}}</a>
            @endforeach
        @endif
    </div>
</div>
<!-- end 友情连接 -->
<!-- footer -->
<div class="footer">
    <p>黑龙江省科学院大庆分院 版权所有 (C)2012 All Right Reserved Power by DedeCms</p>
    <p>
        <span>地址：黑龙江省大庆市高新区博学大街45号</span>
        <span>备案号：黑ICP备1000001号</span>
    </p>
    <p>
        <span>邮箱：hkydqyb@126.com</span>
        <span>电话：086-459-8998866</span>
        <span>传真：086-459-8998866</span>
        <span>邮编：163319</span>
    </p>
    <img src="/assets/index/img/blue.png">
</div>
<!-- end footer -->

@stack('script')

</body>
</html>
