1
0
Fork 0
pixelfed/resources/views/site/index.blade.php

145 lines
4.9 KiB
PHP
Raw Normal View History

2019-03-16 08:49:42 +00:00
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
2018-08-20 01:22:54 +00:00
2021-05-24 05:09:26 +00:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
2018-08-20 01:22:54 +00:00
2021-05-24 05:09:26 +00:00
<meta name="mobile-web-app-capable" content="yes">
2018-08-20 01:22:54 +00:00
2021-05-24 05:09:26 +00:00
<title>{{ config('app.name', 'Laravel') }}</title>
2018-08-20 01:22:54 +00:00
2021-05-24 05:09:26 +00:00
<meta property="og:site_name" content="{{ config('app.name', 'pixelfed') }}">
<meta property="og:title" content="{{ config('app.name', 'pixelfed') }}">
<meta property="og:type" content="article">
<meta property="og:url" content="{{request()->url()}}">
<meta property="og:description" content="Federated Image Sharing">
<meta name="medium" content="image">
<meta name="theme-color" content="#10c5f8">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="shortcut icon" type="image/png" href="/img/favicon.png?v=2">
<link rel="apple-touch-icon" type="image/png" href="/img/favicon.png?v=2">
<link href="{{ mix('css/landing.css') }}" rel="stylesheet">
<style type="text/css">
.feature-circle {
display: flex !important;
-webkit-box-pack: center !important;
justify-content: center !important;
-webkit-box-align: center !important;
align-items: center !important;
margin-right: 1rem !important;
background-color: #08d !important;
color: #fff;
border-radius: 50% !important;
width: 60px;
height:60px;
}
.section-spacer {
height: 13vh;
}
</style>
2019-03-16 08:49:42 +00:00
</head>
<body class="">
2021-05-24 05:09:26 +00:00
<main id="content">
<section class="container">
<div class="section-spacer"></div>
<div class="row pt-md-5 mt-5">
<div class="col-12 col-md-6 d-none d-md-block">
<div class="m-my-4">
<p class="display-2 font-weight-bold">Photo Sharing</p>
<p class="h1 font-weight-bold">For Everyone.</p>
</div>
</div>
<div class="col-12 col-md-5 offset-md-1">
<div>
<div class="pt-md-3 d-flex justify-content-center align-items-center">
<img src="/img/pixelfed-icon-color.svg" loading="lazy" width="50px" height="50px">
<span class="font-weight-bold h3 ml-2 pt-2">Pixelfed</span>
</div>
<div class="d-block d-md-none">
<p class="font-weight-bold mb-0 text-center">Photo Sharing. For Everyone</p>
</div>
<div class="card my-4 shadow-none border">
<div class="card-body px-lg-5">
<div class="text-center">
<p class="small text-uppercase font-weight-bold text-muted">Account Login</p>
</div>
<div>
<form class="px-1" method="POST" action="{{ route('login') }}" id="login_form">
@csrf
<div class="form-group row">
2021-05-24 05:09:26 +00:00
<div class="col-md-12">
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="{{__('Email')}}" required autofocus>
2021-05-24 05:09:26 +00:00
@if ($errors->has('email'))
<span class="invalid-feedback">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
2021-05-24 05:09:26 +00:00
<div class="form-group row">
2020-04-17 22:34:19 +00:00
2021-05-24 05:09:26 +00:00
<div class="col-md-12">
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{__('Password')}}" required>
2021-05-24 05:09:26 +00:00
@if ($errors->has('password'))
<span class="invalid-feedback">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
2021-05-24 05:09:26 +00:00
<div class="form-group row">
<div class="col-md-12">
<div class="checkbox">
<label>
<input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}>
<span class="font-weight-bold small ml-1 text-muted">
{{ __('Remember Me') }}
</span>
</label>
</div>
</div>
</div>
@if(config('captcha.enabled'))
<div class="d-flex justify-content-center mb-3">
{!! Captcha::display() !!}
</div>
@endif
<div class="form-group row mb-0">
<div class="col-md-12">
<button type="submit" class="btn btn-primary btn-block py-0 font-weight-bold text-uppercase">
{{ __('Login') }}
</button>
2020-04-17 22:34:19 +00:00
2021-05-24 05:09:26 +00:00
</div>
</div>
</form>
</div>
</div>
</div>
<div class="card shadow-none border card-body">
<p class="text-center mb-0 font-weight-bold small">
2021-06-08 01:28:26 +00:00
@if(config_cache('pixelfed.open_registration'))
2021-05-24 05:09:26 +00:00
<a href="/register">Register</a>
<span class="px-1">·</span>
@endif
<a href="/password/reset">Password Reset</a>
</p>
</div>
</div>
</div>
</div>
</section>
</main>
@include('layouts.partial.footer')
2019-03-16 08:49:42 +00:00
</body>
2019-04-30 07:29:02 +00:00
</html>