2016-07-21 22:01:57 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2016-09-15 23:03:58 +08:00
|
|
|
<title>{{ option('site_name') }}</title>
|
2016-12-31 13:36:46 +08:00
|
|
|
{!! bs_favicon() !!}
|
2016-07-21 22:01:57 +08:00
|
|
|
<!-- Tell the browser to be responsive to screen width -->
|
|
|
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
|
|
<!-- App Styles -->
|
2017-07-03 20:54:19 +08:00
|
|
|
@include('common.dependencies.style', ['module' => 'index'])
|
2016-07-21 22:01:57 +08:00
|
|
|
</head>
|
|
|
|
|
2016-09-15 23:03:58 +08:00
|
|
|
<body class="hold-transition {{ option('color_scheme') }} layout-top-nav">
|
2016-07-21 22:01:57 +08:00
|
|
|
|
2017-08-05 14:35:28 +08:00
|
|
|
<div class="wrapper" style="background-image: url('{{ $home_pic_url }}');">
|
2016-12-11 15:17:24 +08:00
|
|
|
<!-- Navigation -->
|
|
|
|
<header class="main-header transparent">
|
|
|
|
<nav class="navbar navbar-fixed-top">
|
2016-07-21 22:01:57 +08:00
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
2016-09-15 23:03:58 +08:00
|
|
|
<a href="{{ option('site_url') }}" class="navbar-brand">{{ option('site_name') }}</a>
|
2016-09-25 10:40:39 +08:00
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
|
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</button>
|
2016-07-21 22:01:57 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
|
|
|
<div class="collapse navbar-collapse pull-left" id="navbar-collapse">
|
|
|
|
<ul class="nav navbar-nav">
|
2016-09-15 23:03:58 +08:00
|
|
|
<li class="active"><a href="{{ url('/') }}">{{ trans('general.index') }}</a></li>
|
|
|
|
<li><a href="{{ url('skinlib') }}">{{ trans('general.skinlib') }}</a></li>
|
2016-09-25 10:40:39 +08:00
|
|
|
</ul>
|
|
|
|
</div><!-- /.navbar-collapse -->
|
|
|
|
<!-- Navbar Right Menu -->
|
|
|
|
<div class="navbar-custom-menu">
|
|
|
|
<ul class="nav navbar-nav">
|
2017-07-03 20:54:19 +08:00
|
|
|
@include('common.language')
|
2016-12-11 15:17:24 +08:00
|
|
|
|
2016-09-15 23:03:58 +08:00
|
|
|
@if (!is_null($user))
|
2017-07-03 20:54:19 +08:00
|
|
|
@include('common.user-menu')
|
2016-09-15 23:03:58 +08:00
|
|
|
@else {{-- Anonymous User --}}
|
|
|
|
<!-- User Account Menu -->
|
|
|
|
<li class="dropdown user user-menu">
|
|
|
|
<a href="{{ url('auth/login') }}" class="btn btn-login">{{ trans('general.login') }}</a>
|
|
|
|
</li>
|
|
|
|
@endif
|
2016-07-21 22:01:57 +08:00
|
|
|
</ul>
|
2016-09-15 23:03:58 +08:00
|
|
|
</div><!-- /.navbar-custom-menu -->
|
2016-07-21 22:01:57 +08:00
|
|
|
</div><!-- /.container-fluid -->
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
2016-12-11 15:17:24 +08:00
|
|
|
<div class="container">
|
|
|
|
<div class="splash">
|
|
|
|
<h1 class="splash-head">{{ option('site_name') }}</h1>
|
|
|
|
<p class="splash-subhead">
|
|
|
|
{{ option('site_description') }}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
@if (is_null($user))
|
|
|
|
@if (option('user_can_register'))
|
|
|
|
<a href="{{ url('auth/register') }}" id="btn-register" class="button">{{ trans('general.register') }}</a>
|
2016-09-10 17:02:47 +08:00
|
|
|
@else
|
2016-12-11 15:17:24 +08:00
|
|
|
<a href="{{ url('auth/login') }}" id="btn-close-register" class="button">{{ trans('general.login') }}</a>
|
2016-09-10 17:02:47 +08:00
|
|
|
@endif
|
2016-12-11 15:17:24 +08:00
|
|
|
@else
|
|
|
|
<a href="{{ url('user') }}" class="button">{{ trans('general.user-center') }}</a>
|
|
|
|
@endif
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div> <!--/ .container -->
|
|
|
|
</div><!--/ #headerwrap -->
|
|
|
|
|
|
|
|
<!-- INTRO WRAP -->
|
|
|
|
<div id="intro">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row text-center">
|
|
|
|
<h1>Features</h1>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<i class="fa fa-users" aria-hidden="true"></i>
|
2016-12-11 22:04:15 +08:00
|
|
|
<h3>{{ trans('index.features.multi-player.name') }}</h3>
|
|
|
|
<p>{{ trans('index.features.multi-player.desc') }}</p>
|
2016-12-11 15:17:24 +08:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<i class="fa fa-share-alt" aria-hidden="true"></i>
|
2016-12-11 22:04:15 +08:00
|
|
|
<h3>{{ trans('index.features.sharing.name') }}</h3>
|
|
|
|
<p>{{ trans('index.features.sharing.desc') }}</p>
|
2016-12-11 15:17:24 +08:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<i class="fa fa-cloud" aria-hidden="true"></i>
|
2016-12-11 22:04:15 +08:00
|
|
|
<h3>{{ trans('index.features.free.name') }}</h3>
|
|
|
|
<p>{{ trans('index.features.free.desc') }}</p>
|
2016-07-21 22:01:57 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-11 15:17:24 +08:00
|
|
|
<br>
|
|
|
|
</div> <!--/ .container -->
|
|
|
|
</div><!--/ #introwrap -->
|
2016-07-21 22:01:57 +08:00
|
|
|
|
2016-12-11 15:17:24 +08:00
|
|
|
<div id="footerwrap">
|
|
|
|
<div class="container">
|
|
|
|
<div class="col-lg-6">
|
2016-12-11 22:04:15 +08:00
|
|
|
{{ trans('index.introduction', ['sitename' => option('site_name')]) }}
|
2016-07-21 22:01:57 +08:00
|
|
|
</div>
|
|
|
|
|
2016-12-11 15:17:24 +08:00
|
|
|
<div class="col-lg-6">
|
2016-12-11 22:04:15 +08:00
|
|
|
<a href="{{ url('auth/register') }}" id="btn-register" class="button">{{ trans('index.start') }}</a>
|
2016-12-11 15:17:24 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="copyright">
|
|
|
|
<!-- Designed by Pratt -->
|
|
|
|
<div class="container">
|
|
|
|
<!-- YOU CAN NOT MODIFIY THE COPYRIGHT TEXT W/O PERMISSION -->
|
2017-01-21 12:59:35 +08:00
|
|
|
<div id="copyright-text" class="pull-right hidden-xs">
|
2016-12-27 23:05:09 +08:00
|
|
|
{!! bs_copyright() !!}
|
2016-12-11 15:17:24 +08:00
|
|
|
</div>
|
|
|
|
<!-- Default to the left -->
|
2016-12-27 23:05:09 +08:00
|
|
|
{!! bs_custom_copyright() !!}
|
2016-12-11 15:17:24 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-07-21 22:01:57 +08:00
|
|
|
|
|
|
|
<!-- App Scripts -->
|
2017-07-14 09:45:30 +08:00
|
|
|
@include('common.dependencies.script')
|
2016-12-10 19:50:15 +08:00
|
|
|
|
2017-08-04 10:21:03 +08:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var cachedWindowWidth = $(window).width();
|
|
|
|
|
|
|
|
function changeWrapperHeight() {
|
|
|
|
var btn = $('p a.button');
|
|
|
|
var bottom = btn.offset().top + btn.height() + 80;
|
|
|
|
|
|
|
|
if (bottom > $(window).height()) {
|
|
|
|
$('.wrapper').height(bottom + 'px');
|
|
|
|
} else {
|
|
|
|
$('.wrapper').height($(window).height() + 'px');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function changeHeaderTransparency() {
|
2016-12-11 15:17:24 +08:00
|
|
|
if (document.body.scrollTop >= ($(window).height() * 2 / 3)) {
|
|
|
|
$('.main-header').removeClass('transparent');
|
|
|
|
} else {
|
|
|
|
$('.main-header').addClass('transparent');
|
|
|
|
}
|
2017-08-04 10:21:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
$(window)
|
|
|
|
.scroll(changeHeaderTransparency)
|
|
|
|
.ready(changeWrapperHeight)
|
|
|
|
.resize(function () {
|
|
|
|
if ($(window).width() !== cachedWindowWidth) {
|
|
|
|
changeWrapperHeight();
|
|
|
|
}
|
|
|
|
});
|
2016-12-11 15:17:24 +08:00
|
|
|
</script>
|
2016-07-21 22:01:57 +08:00
|
|
|
</body>
|
|
|
|
</html>
|