blob: d7c28c72732ab582d78524245449ac2ab0155234 [file] [log] [blame]
Shivam Mishra823c7952019-05-19 16:01:45 +05301{% extends "templates/base.html" %}
2{% block title %}{{ education_settings.portal_title }}{% endblock %}
Shivam Mishraf22793f2019-05-30 16:34:53 +05303{% from "www/lms/macros/card.html" import program_card %}
Shivam Mishra823c7952019-05-19 16:01:45 +05304
5{% block head_include %}
6 <meta name="description" content="{{ education_settings.description }}" />
7 <meta name="keywords" content="ERP Software, Cloud ERP, Open Source ERP, Accounting Software, Online ERP, Online Accounting, ERP for small business" />
8 <style>
9 div.card-hero-img {
10 height: 220px;
11 background-size: cover;
12 background-repeat: no-repeat;
13 background-position: center;
14 background-color: rgb(250, 251, 252);
15 }
16
17 .card-image-wrapper {
18 display: flex;
19 overflow: hidden;
20 height: 220px;
21 background-color: rgb(250, 251, 252);
22 justify-content: center;
23 }
24
25 .image-body {
26 align-self: center;
27 color: #d1d8dd;
28 font-size: 24px;
29 font-weight: 600;
30 line-height: 1;
31 padding: 20px;
32 }
Shivam Mishrab3127652019-06-06 14:03:01 +053033
34 section {
35 padding: 5rem 0 5rem 0;
36 }
Shivam Mishra823c7952019-05-19 16:01:45 +053037 </style>
38{% endblock %}
39
Shivam Mishra823c7952019-05-19 16:01:45 +053040{% block content %}
Shivam Mishrab3127652019-06-06 14:03:01 +053041<section class="top-section" style="padding: 6rem 0rem;">
Shivam Mishra823c7952019-05-19 16:01:45 +053042 <div class='container pb-5'>
43 <h1>{{ education_settings.portal_title }}</h1>
44 <p class='lead'>{{ education_settings.description }}</p>
45 <p class="mt-4">
Shivam Mishraf22793f2019-05-30 16:34:53 +053046 <a class="btn btn-primary btn-lg" href="{{ '/login#signup' if frappe.session.user == 'Guest' else '/lms/all-programs' }}">{{ 'Start Learning' if frappe.session.user == 'Guest' else 'Explore Programs'}}</a>
Shivam Mishra823c7952019-05-19 16:01:45 +053047 </p>
Shivam Mishra823c7952019-05-19 16:01:45 +053048 </div>
49 <div class='container'>
50 <div class="row mt-5">
51 {% for program in featured_programs %}
Shivam Mishra12579612019-05-30 17:19:11 +053052 {{ program_card(program.program, program.has_access) }}
Shivam Mishra823c7952019-05-19 16:01:45 +053053 {% endfor %}
54 </div>
Shivam Mishra823c7952019-05-19 16:01:45 +053055 </div>
56</section>
Shivam Mishra823c7952019-05-19 16:01:45 +053057{% endblock %}