blob: 9b4d3e52f4bc04ad3e1a91cea9fcb681c420be9e (
plain) (
blame)
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
|
@layout('layouts.v2')
@section('content')
<div class="leading-normal tracking-normal text-gray-900" style="font-family: 'Source Sans Pro', sans-serif;">
<div class="h-screen bg-right bg-cover">
<div class="flex justify-center">
<img class="h-20 my-10" src="{{ assetsUrl('img/icon.png') }}">
</div>
<!--Main-->
<div class="container px-6 mx-auto flex flex-wrap flex-col md:flex-row items-center">
<!--Left Col-->
<div class="flex flex-col w-full xl:w-2/5 justify-center lg:items-start overflow-y-hidden">
<h1
class="my-4 text-3xl md:text-5xl text-gray-800 font-bold leading-tight text-center md:text-left slide-in-bottom-h1">
Ferdi Server
</h1>
<p class="text-gray-700 font-bold pb-8 lg:pb-6 text-center md:text-left fade-in">
Setup your client
</p>
<div class="flex w-full justify-center md:justify-start pb-24 lg:pb-0 fade-in">
<ol class="list-decimal list-inside">
<li>
Logout of Ferdi, if you are currently logged in
</li>
<li>
Choose "Change Server" to get to the settings screen
</li>
<li>
Enter <code id="server"></code>
</li>
</ol>
</div>
<p class="text-gray-700 font-bold pb-8 lg:pb-6 text-center md:text-left fade-in pt-8">
Don't have Ferdi yet?
</p>
<a href="https://getferdi.com" class="bg-gray-700 hover:bg-gray-900 text-white font-bold py-2 px-4 rounded">
Get Ferdi now
</a>
<p class="text-gray-700 font-bold pb-8 lg:pb-6 text-center md:text-left fade-in pt-8">
Manage your account
</p>
<a href="/user/account" class="bg-gray-700 hover:bg-gray-900 text-white font-bold py-2 px-4 rounded">
Go to account dashboard
</a>
</div>
<!--Right Col-->
<div class="w-full xl:w-3/5 py-6 overflow-y-hidden">
<img class="w-5/6 mx-auto lg:mr-0 slide-in-bottom" src="{{ assetsUrl('img/hero.png') }}">
</div>
<!--Footer-->
<div class="w-full pt-16 pb-6 text-sm text-center md:text-left fade-in">
<a class="text-gray-500 no-underline hover:no-underline" href="https://github.com/getferdi">
Ferdi server is a project by The Ferdi Team
</a>
</div>
</div>
<script>
// Get server URL for current location
let server = location.href.replace('/index.html', '');
if (server[server.length - 1] == '/') {
server = server.substr(0, server.length - 1)
}
// Show on page
document.getElementById('server').innerText = server;
</script>
</div>
</div>
@endsection
|