This repository was archived by the owner on Mar 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +20
-14
lines changed
Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 77 <meta name =" viewport" content =" width=device-width, initial-scale=1" >
88 <meta name =" csrf-token" content =" {{ csrf_token () } }" >
99 <meta name =" api-token" content =" {{ auth ()-> user ()-> api_token ?? ' ' } }" >
10-
1110 <title >@yield (' title' ) – Console {{ config (' typicms.' . config (' typicms.admin_locale' ). ' .website_title' ) } } </title >
12-
1311 @stack (' css' )
14-
12+ <!-- Favicon -->
13+ <link rel =" apple-touch-icon" href =" {{ asset (' img/favicons/apple-touch-icon.png' ) } }" sizes =" 180x180" >
14+ <link rel =" icon" type =" image/png" href =" {{ asset (' img/favicons/favicon-32x32.png' ) } }" sizes =" 32x32" >
15+ <link rel =" icon" type =" image/png" href =" {{ asset (' img/favicons/favicon-16x16.png' ) } }" sizes =" 16x16" >
16+ <link rel =" manifest" href =" {{ asset (' img/favicons/site.webmanifest' ) } }" >
17+ <link rel =" mask-icon" href =" {{ asset (' img/favicons/safari-pinned-tab.svg' ) } }" color =" #00795d" >
18+ <meta name =" theme-color" content =" #fff" >
19+ <meta name =" mobile-web-app-capable" content =" yes" >
1520 <link href =" {{ App:: environment (' production' ) ? mix (' /css/admin.css' ) : asset (' /css/admin.css' ) } }" rel =" stylesheet" >
1621
1722</head >
Original file line number Diff line number Diff line change 2525 <a href =" #" class =" block__link" >@lang (' db.All tutorials' )</a >
2626 </header >
2727 <div class =" last-posts" >
28-
28+ @if ($latestTutorials = Tutorials:: latest (6 ) and $latestTutorials -> count () > 0 )
29+ @foreach ($latestTutorials as $tutorial )
30+ <article class =" last_post" itemscope itemtype =" http://schema.org/Article" >
31+ <time class =" last-post__date" >{{ $tutorial -> created_at -> format (' M d, Y' ) } } </time >
32+ <h6 class =" last-post__title" ><a href =" {{ $tutorial -> uri () } }" >{{ $tutorial -> title } } </a ></h6 >
33+ <p class =" last-post__summary" >
34+ {{ str_limit ($tutorial -> summary , 60 ) } }
35+ </p >
36+ <strong class =" last-post__author text-primary" ><span >{{ __ (' by' ) } } </span > {{ $tutorial -> user -> getFullName () } } </strong >
37+ </article >
38+ @endforeach
39+ @endif
2940 </div >
3041 </div >
3142 <div class =" next-event" >
101112
102113 @include (' pages::public.partials.sponsors' )
103114
104- {{--
105- @if ($latestNews = News::latest(3) and $latestNews->count() > 0)
106- <div class="news-container">
107- <h3><a href="{{ Route::has($lang.'::index-news') ? route($lang.'::index-news') : '/' }}">@lang('db.Latest news')</a></h3>
108- @include('news::public._list', ['items' => $latestNews])
109- <a href="{{ Route::has($lang.'::index-news') ? route($lang.'::index-news') : '/' }}" class="btn btn-light btn-xs">@lang('db.All news')</a>
110- </div>
111- @endif
112- --}}
113-
114115 @if ($upcomingEvents = Events:: upcoming () and $upcomingEvents -> count () > 0 )
115116 <section class =" events" >
116117 <div class =" container" >
You can’t perform that action at this time.
0 commit comments