Skip to content

Commit

Permalink
- Finishing educate view template from canva
Browse files Browse the repository at this point in the history
- Create menu lang resource
- Update commong id lang resource
- Fix hidden login and register button on welcome page when using mobile
  • Loading branch information
ianriizky committed Jan 31, 2022
1 parent 41434bb commit 19395cc
Show file tree
Hide file tree
Showing 22 changed files with 444 additions and 53 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/AchievementController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class AchievementController extends Controller
{
/**
* Display a listing of the resource.
* Display index page.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/EducationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class EducationController extends Controller
{
/**
* Display a listing of the resource.
* Display index page.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/MonitoringController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class MonitoringController extends Controller
{
/**
* Display a listing of the resource.
* Display index page.
*
* @return \Illuminate\Contracts\Support\Renderable
*/
Expand Down
8 changes: 8 additions & 0 deletions resources/lang/en/menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'dashboard' => 'Dashboard',
'education' => 'Education',
'monitoring' => 'Monitoring',
'achievement' => 'Achievement',
];
4 changes: 3 additions & 1 deletion resources/lang/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -792,5 +792,7 @@
"Unscheduled": "Belum Terjadwal",
"Order Code": "Kode Pesanan",
"Self Created": "Diri Sendiri",
"Branch Name": "Nama Cabang"
"Branch Name": "Nama Cabang",
"Read More": "Baca Selanjutnya",
"Download Here": "Unduh Di Sini"
}
8 changes: 8 additions & 0 deletions resources/lang/id/menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
'dashboard' => 'Dasbor',
'education' => 'Edukasi',
'monitoring' => 'Monitoring',
'achievement' => 'Pencapaian',
];
8 changes: 2 additions & 6 deletions resources/views/achievement/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
@section('content')
<section class="section">
<div class="section-header">
<h1>@lang('Achievement')</h1>
<h1>@lang('menu.achievement')</h1>

<div class="section-header-breadcrumb">
<div class="breadcrumb-item">
<span>@lang('Menu')</span>
</div>

<div class="breadcrumb-item">
<a href="{{ route('achievement.index') }}">
<i class="fas @lang('icon.achievement')"></i> <span>@lang('Achievement')</span>
<i class="fas @lang('icon.achievement')"></i> <span>@lang('menu.achievement')</span>
</a>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions resources/views/components/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
<ul class="navbar-nav">
<li class="nav-item @if (Route::is('dashboard')) active @endif">
<a href="{{ route('dashboard') }}" class="nav-link">
<span>@lang('Dashboard')</span>
<span>@lang('menu.dashboard')</span>
</a>
</li>

<li class="nav-item @if (Route::is('education.*')) active @endif">
<a href="{{ route('education.index') }}" class="nav-link">
<span>@lang('Educate')</span>
<span>@lang('menu.education')</span>
</a>
</li>

<li class="nav-item @if (Route::is('monitoring.*')) active @endif">
<a href="{{ route('monitoring.index') }}" class="nav-link">
<span>@lang('Monitoring')</span>
<span>@lang('menu.monitoring')</span>
</a>
</li>

<li class="nav-item @if (Route::is('achievement.*')) active @endif">
<a href="{{ route('achievement.index') }}" class="nav-link">
<span>@lang('Achievement')</span>
<span>@lang('menu.achievement')</span>
</a>
</li>
</ul>
Expand Down
30 changes: 15 additions & 15 deletions resources/views/components/sidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,42 +35,42 @@
<ul class="navbar-nav">
<li class="nav-item dropdown @if (Route::is('education.*')) active @endif">
<a href="#" data-toggle="dropdown" class="nav-link has-dropdown">
<i class="fas @lang('icon.education')"></i> <span>@lang('Educate')</span>
<i class="fas @lang('icon.education')"></i> <span>@lang('menu.education')</span>
</a>

<ul class="dropdown-menu">
<li class="nav-item dropdown">
<a href="#" data-toggle="dropdown" class="nav-link has-dropdown">
<li class="nav-item dropdown @if (Route::is('education.webinar-literasi-keuangan.*')) active @endif">
<a href="{{ route('education.webinar-literasi-keuangan.index') }}" data-toggle="dropdown" class="nav-link has-dropdown">
<span class="narrow-line-height">Webinar Literasi Keuangan</span>
</a>

<ul class="dropdown-menu dropdown-menu-mobile" data-dropdown-menu-mobile-class="dropdown-submenu">
<li class="nav-item mb-xl-0 mb-4">
<a href="#" class="nav-link">
<li class="nav-item mb-xl-0 mb-4 @if (Route::is('education.webinar-literasi-keuangan.template-surat-penawaran-webinar')) active @endif">
<a href="{{ route('education.webinar-literasi-keuangan.template-surat-penawaran-webinar') }}" class="nav-link">
<span class="narrow-line-height">Template Surat Penawaran Webinar</span>
</a>
</li>

<li class="nav-item mb-xl-0 mb-4">
<a href="#" class="nav-link">
<li class="nav-item mb-xl-0 mb-4 @if (Route::is('education.webinar-literasi-keuangan.template-presentasi-webinar-literasi-keuangan')) active @endif">
<a href="{{ route('education.webinar-literasi-keuangan.template-presentasi-webinar-literasi-keuangan') }}" class="nav-link">
<span class="narrow-line-height">Template Presentasi Webinar Literasi Keuangan</span>
</a>
</li>

<li class="nav-item mb-xl-0 mb-4">
<a href="#" class="nav-link">
<li class="nav-item mb-xl-0 mb-4 @if (Route::is('education.webinar-literasi-keuangan.template-rundown-webinar-literasi-keuangan')) active @endif">
<a href="{{ route('education.webinar-literasi-keuangan.template-rundown-webinar-literasi-keuangan') }}" class="nav-link">
<span class="narrow-line-height">Template Rundown Webinar Literasi Keuangan</span>
</a>
</li>

<li class="nav-item mb-xl-0 mb-4">
<a href="#" class="nav-link">
<li class="nav-item mb-xl-0 mb-4 @if (Route::is('education.webinar-literasi-keuangan.pemetaan-sekolah-kampus-potensi-webinar')) active @endif">
<a href="{{ route('education.webinar-literasi-keuangan.pemetaan-sekolah-kampus-potensi-webinar') }}" class="nav-link">
<span class="narrow-line-height">Pemetaan Sekolah / Kampus Potensi Webinar</span>
</a>
</li>

<li class="nav-item mb-xl-0 mb-4">
<a href="#" class="nav-link">
<li class="nav-item mb-xl-0 mb-4 @if (Route::is('education.webinar-literasi-keuangan.input-rencana-penyelenggaraan-webinar')) active @endif">
<a href="{{ route('education.webinar-literasi-keuangan.input-rencana-penyelenggaraan-webinar') }}" class="nav-link">
<span class="narrow-line-height">Input Rencana Penyelenggaraan Webinar</span>
</a>
</li>
Expand All @@ -93,7 +93,7 @@

<li class="nav-item dropdown @if (Route::is('monitoring.*')) active @endif">
<a href="#" data-toggle="dropdown" class="nav-link has-dropdown">
<i class="fas @lang('icon.monitoring')"></i> <span>@lang('Monitoring')</span>
<i class="fas @lang('icon.monitoring')"></i> <span>@lang('menu.monitoring')</span>
</a>

<ul class="dropdown-menu">
Expand All @@ -107,7 +107,7 @@

<li class="nav-item dropdown @if (Route::is('achievement.*')) active @endif">
<a href="#" data-toggle="dropdown" class="nav-link has-dropdown">
<i class="fas @lang('icon.achievement')"></i> <span>@lang('Achievement')</span>
<i class="fas @lang('icon.achievement')"></i> <span>@lang('menu.achievement')</span>
</a>

<ul class="dropdown-menu">
Expand Down
8 changes: 2 additions & 6 deletions resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
@section('content')
<section class="section">
<div class="section-header">
<h1>@lang('Dashboard')</h1>
<h1>@lang('menu.dashboard')</h1>

<div class="section-header-breadcrumb">
<div class="breadcrumb-item">
<span>@lang('Home')</span>
</div>

<div class="breadcrumb-item">
<a href="{{ route('dashboard') }}">
<i class="fas @lang('icon.dashboard')"></i> <span>@lang('Dashboard')</span>
<i class="fas @lang('icon.dashboard')"></i> <span>@lang('menu.dashboard')</span>
</a>
</div>
</div>
Expand Down
Empty file.
88 changes: 81 additions & 7 deletions resources/views/education/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@
@section('content')
<section class="section">
<div class="section-header">
<h1>@lang('Educate')</h1>
<h1>@lang('menu.education')</h1>

<div class="section-header-breadcrumb">
<div class="breadcrumb-item">
<span>@lang('Menu')</span>
</div>

<div class="breadcrumb-item">
<a href="{{ route('education.index') }}">
<i class="fas @lang('icon.education')"></i> <span>@lang('Educate')</span>
<i class="fas @lang('icon.education')"></i> <span>@lang('menu.education')</span>
</a>
</div>
</div>
Expand All @@ -21,7 +17,85 @@
<div class="section-body">
<div class="card">
<div class="card-body">
<p>@lang('Welcome to the educate page!')</p>
<div class="row">
{{-- webinar-literasi-keuangan --}}
<div class="col-12 col-sm-6 col-md-6 col-lg-4">
<article class="article">
<div class="article-header">
<div class="article-image" data-background="https://www.gravatar.com/avatar/"></div>

<div class="article-title">
<h2>
<a href="{{ route('education.webinar-literasi-keuangan.index') }}">Webinar Literasi Keuangan</a>
</h2>
</div>
</div>

<div class="article-details">
<p>
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>

<div class="article-cta">
<a href="{{ route('education.webinar-literasi-keuangan.index') }}" class="btn btn-primary">@lang('Read More')</a>
</div>
</div>
</article>
</div>
{{-- /.webinar-literasi-keuangan --}}

{{-- pembukaan-rekening-online --}}
<div class="col-12 col-sm-6 col-md-6 col-lg-4">
<article class="article">
<div class="article-header">
<div class="article-image" data-background="https://www.gravatar.com/avatar/"></div>

<div class="article-title">
<h2>
<a href="{{ route('education.pembukaan-rekening-online') }}">Video Pembukaan Rekening Online</a>
</h2>
</div>
</div>

<div class="article-details">
<p>
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>

<div class="article-cta">
<a href="{{ route('education.pembukaan-rekening-online') }}" class="btn btn-primary">@lang('Read More')</a>
</div>
</div>
</article>
</div>
{{-- /.pembukaan-rekening-online --}}

{{-- employee-get-cin --}}
<div class="col-12 col-sm-6 col-md-6 col-lg-4">
<article class="article">
<div class="article-header">
<div class="article-image" data-background="https://www.gravatar.com/avatar/"></div>

<div class="article-title">
<h2>
<a href="{{ route('education.employee-get-cin') }}">Employee Get CiN</a>
</h2>
</div>
</div>

<div class="article-details">
<p>
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
</p>

<div class="article-cta">
<a href="{{ route('education.employee-get-cin') }}" class="btn btn-primary">@lang('Read More')</a>
</div>
</div>
</article>
</div>
{{-- /.employee-get-cin --}}
</div>
</div>
</div>
</div>
Expand Down
Empty file.
Loading

0 comments on commit 19395cc

Please sign in to comment.