-
-
Notifications
You must be signed in to change notification settings - Fork 365
/
footer.blade.php
116 lines (114 loc) · 4.54 KB
/
footer.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<footer class="footer">
<div class="footer__wrapper">
<section class="footer__section">
<h2 class="footer__section-title">
<b>{{ config('other.title') }}</b>
</h2>
<p>{{ config('other.meta_description') }}</p>
<i
class="{{ config('other.font-awesome') }} fa-tv-retro footer__icon"
style="font-size: 90px"
></i>
</section>
<section class="footer__section">
<h2 class="footer__section-title">{{ __('common.account') }}</h2>
<ul class="footer__section-list">
<li>
<a href="{{ route('users.show', ['user' => auth()->user()]) }}">
{{ __('user.my-profile') }}
</a>
</li>
<li>
<form action="{{ route('logout') }}" method="POST" style="display: contents">
@csrf
<button style="display: contents">
{{ __('common.logout') }}
</button>
</form>
</li>
</ul>
</section>
<section class="footer__section">
<h2 class="footer__section-title">{{ __('common.community') }}</h2>
<ul class="footer__section-list">
<li>
<a href="{{ route('forums.index') }}">{{ __('forum.forums') }}</a>
</li>
<li>
<a href="{{ route('articles.index') }}">{{ __('common.news') }}</a>
</li>
<li><a href="{{ route('wikis.index') }}">Wikis</a></li>
</ul>
</section>
@if ($footer_pages)
<section class="footer__section">
<h2 class="footer__section-title">{{ __('common.pages') }}</h2>
<ul class="footer__section-list">
@foreach ($footer_pages as $page)
<li>
<a href="{{ route('pages.show', ['page' => $page]) }}">
{{ $page->name }}
</a>
</li>
@endforeach
<li>
<a href="{{ route('pages.index') }}">[View All]</a>
</li>
</ul>
</section>
@endif
<section class="footer__section">
<h2 class="footer__section-title">{{ __('common.info') }}</h2>
<ul class="footer__section-list">
<li>
<a href="{{ route('staff') }}">{{ __('common.staff') }}</a>
</li>
<li>
<a href="{{ route('internal') }}">{{ __('common.internal') }}</a>
</li>
<li>
<a href="{{ route('client_blacklist') }}">{{ __('common.blacklist') }}</a>
</li>
<li>
<a href="{{ route('about') }}">{{ __('common.about') }}</a>
</li>
<li>
<a
href="https://github.com/HDInnovations/UNIT3D-Community-Edition/wiki/Torrent-API-(UNIT3D-v8.x.x)"
>
API Documentation
</a>
</li>
</ul>
</section>
<section class="footer__section">
<h2 class="footer__section-title">{{ __('common.other') }}</h2>
<ul class="footer__section-list">
<li>
<a
href="https://polar.sh/HDInnovations"
target="_blank"
class="form__button form__button--outlined"
>
Support UNIT3D Development
</a>
</li>
<li>
<a
href="https://github.com/HDInnovations/UNIT3D"
target="_blank"
class="form__button form__button--outlined"
>
{{ __('common.powered-by') }}
</a>
</li>
</ul>
</section>
</div>
<p class="footer__stats">
This page took
{{ number_format(microtime(true) - (defined('LARAVEL_START') ? LARAVEL_START : request()->server('REQUEST_TIME_FLOAT')), 3) }}
seconds to render and {{ number_format(memory_get_peak_usage(true) / 1024 / 1024, 2) }} MB
of memory
</p>
</footer>