2019-09-18 23:06:48 +08:00
|
|
|
<!DOCTYPE html>
|
2019-12-31 10:00:27 +08:00
|
|
|
<html lang="{{ locale }}">
|
2019-09-18 23:06:48 +08:00
|
|
|
<head>
|
|
|
|
{{ include('shared.head') }}
|
2020-05-21 11:35:27 +08:00
|
|
|
<link rel="stylesheet" href="{{ home_page_css }}" crossorigin="anonymous">
|
2020-05-18 16:40:31 +08:00
|
|
|
<link rel="preload" as="image" href="{{ home_pic_url }}">
|
2019-09-18 23:06:48 +08:00
|
|
|
<title>{{ site_name }}</title>
|
|
|
|
<style>
|
|
|
|
.hp-wrapper {
|
|
|
|
{% if fixed_bg %}
|
|
|
|
background-color: rgba(0, 0, 0, 0);
|
|
|
|
{% else %}
|
|
|
|
background-image: url('{{ home_pic_url }}');
|
|
|
|
{% endif %}
|
|
|
|
}
|
|
|
|
</style>
|
2020-05-20 12:07:37 +08:00
|
|
|
<link rel="prefetch" as="script" href="https://cdn.jsdelivr.net/npm/react@16.13.1/umd/react.production.min.js" crossorigin="anonymous">
|
|
|
|
<link rel="prefetch" as="script" href="https://cdn.jsdelivr.net/npm/react-dom@16.13.1/umd/react-dom.production.min.js" crossorigin="anonymous">
|
|
|
|
<link rel="prefetch" as="script" href="{{ app_js }}" crossorigin="anonymous">
|
2019-09-18 23:06:48 +08:00
|
|
|
</head>
|
|
|
|
|
2019-11-24 14:32:58 +08:00
|
|
|
<body class="hold-transition layout-top-nav">
|
2019-09-18 23:06:48 +08:00
|
|
|
<div class="hp-wrapper">
|
|
|
|
{% if fixed_bg %}
|
|
|
|
<div id="fixed-bg" style="background-image: url('{{ home_pic_url }}')"></div>
|
|
|
|
{% endif %}
|
|
|
|
|
2019-12-04 16:45:09 +08:00
|
|
|
<nav class="navbar navbar-expand fixed-top navbar-{{ navbar_color }} navbar-{{ color_mode }}
|
2019-11-24 14:32:58 +08:00
|
|
|
ml-0 {{ transparent_navbar ? 'transparent' }}"
|
|
|
|
>
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<a href="{{ url('/') }}" class="navbar-brand">{{ site_name }}</a>
|
|
|
|
</div>
|
2019-09-18 23:06:48 +08:00
|
|
|
|
2019-11-24 14:32:58 +08:00
|
|
|
<div class="navbar-custom-menu">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{ url('skinlib') }}">{{ trans('general.skinlib') }}</a>
|
|
|
|
</li>
|
2019-09-18 23:06:48 +08:00
|
|
|
|
2019-11-24 14:32:58 +08:00
|
|
|
{{ include('shared.languages') }}
|
2019-09-18 23:06:48 +08:00
|
|
|
|
2019-11-24 14:32:58 +08:00
|
|
|
{% if auth_check() %}
|
|
|
|
{{ include('shared.user-menu') }}
|
|
|
|
{% else %}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="{{ url('auth/login') }}">
|
|
|
|
<i class="icon fas fa-sign-in-alt"></i>
|
|
|
|
{{ trans('general.login') }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
2019-09-18 23:06:48 +08:00
|
|
|
</div>
|
2019-11-24 14:32:58 +08:00
|
|
|
</div>
|
|
|
|
</nav>
|
2019-09-18 23:06:48 +08:00
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="splash">
|
|
|
|
<h1 class="splash-head">{{ site_name }}</h1>
|
|
|
|
<p class="splash-subhead">
|
|
|
|
{{ site_description }}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{% if auth_check() %}
|
2020-05-18 16:40:31 +08:00
|
|
|
<a href="{{ url('user') }}" class="main-button">
|
2019-09-18 23:06:48 +08:00
|
|
|
{{ trans('general.user-center') }}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
{% if user_can_register %}
|
2020-05-18 16:40:31 +08:00
|
|
|
<a href="{{ url('auth/register') }}" class="main-button">
|
2019-09-18 23:06:48 +08:00
|
|
|
{{ trans('general.register') }}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
2020-05-18 16:40:31 +08:00
|
|
|
<a href="{{ url('auth/login') }}" class="main-button">
|
2019-09-18 23:06:48 +08:00
|
|
|
{{ trans('general.login') }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if hide_intro %}
|
2019-11-24 14:32:58 +08:00
|
|
|
<div id="copyright" class="without-intro">
|
2019-09-18 23:06:48 +08:00
|
|
|
<div class="container">
|
|
|
|
{{ include('shared.copyright') }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if not hide_intro %}
|
|
|
|
<div id="intro">
|
|
|
|
<div class="container">
|
2019-11-24 14:32:58 +08:00
|
|
|
<div class="text-center">
|
2019-09-18 23:06:48 +08:00
|
|
|
<h1>{{ trans('index.features.title') }}</h1>
|
|
|
|
<br>
|
|
|
|
<br>
|
2019-12-08 10:56:55 +08:00
|
|
|
<div class="container-lg">
|
|
|
|
<div class="row">
|
|
|
|
{% for item in ['first', 'second', 'third'] %}
|
|
|
|
<div class="col-lg">
|
|
|
|
<i class="fas {{ trans("index.features.#{item}.icon") }} mb-3" aria-hidden="true"></i>
|
|
|
|
<h3>{{ trans("index.features.#{item}.name") }}</h3>
|
2020-03-27 16:01:29 +08:00
|
|
|
<p>{{ trans("index.features.#{item}.desc")|raw }}</p>
|
2019-12-08 10:56:55 +08:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2019-11-24 14:32:58 +08:00
|
|
|
</div>
|
2019-09-18 23:06:48 +08:00
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-18 16:40:31 +08:00
|
|
|
<div id="footer-wrap">
|
2019-12-08 10:56:55 +08:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6 mb-2">
|
|
|
|
{{ trans('index.introduction', {sitename: site_name}) }}
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-4"></div>
|
|
|
|
<div class="col-lg-2 d-flex justify-content-center align-items-center">
|
2020-05-18 16:40:31 +08:00
|
|
|
<a href="{{ url('auth/register') }}" class="main-button">
|
2019-12-08 10:56:55 +08:00
|
|
|
{{ trans('index.start') }}
|
|
|
|
</a>
|
|
|
|
</div>
|
2019-09-18 23:06:48 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-24 14:32:58 +08:00
|
|
|
<div id="copyright" class="with-intro">
|
2019-09-18 23:06:48 +08:00
|
|
|
<div class="container">
|
|
|
|
{{ include('shared.copyright') }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2020-05-20 10:03:47 +08:00
|
|
|
<div id="modal-logout" class="modal fade" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title">{{ trans('general.notice') }}</h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p>{{ trans('front-end.general.confirmLogout') }}</p>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button class="btn btn-secondary" data-dismiss="modal">{{ trans('general.cancel') }}</button>
|
|
|
|
<button class="btn btn-primary" id="btn-logout">{{ trans('front-end.general.confirm') }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-05-18 16:40:31 +08:00
|
|
|
{% if home_page_css_loader %}
|
|
|
|
<script src="{{ home_page_css_loader }}"></script>
|
|
|
|
{% endif %}
|
2019-09-18 23:06:48 +08:00
|
|
|
<script>
|
2019-11-20 17:09:11 +08:00
|
|
|
blessing.extra = { transparent_navbar: {{ transparent_navbar ? 'true' : 'false' }} }
|
2019-09-18 23:06:48 +08:00
|
|
|
</script>
|
|
|
|
{{ include('shared.foot') }}
|
|
|
|
</body>
|
|
|
|
</html>
|