* Updated content and colors of faq.html.

* Updated home.js.
This commit is contained in:
Bobby Wibowo 2018-01-24 03:41:28 +07:00
parent bcdfcd7064
commit 62ccfe5fee
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 31 additions and 12 deletions

View File

@ -32,7 +32,18 @@
<title>safe.fiery.me &#8211; A small safe worth protecting.</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.3.0/css/bulma.min.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<link rel="stylesheet" type="text/css" href="/css/style.css">
<style>
/** Based on KDE Breeze Dark **/
.message-body {
color: #eff0f1;
background-color: #31363b;
border-color: #898b8d;
}
</style>
</head>
<body>
@ -40,10 +51,10 @@
<div class="hero-body">
<div class="container has-text-left">
<h2 class='subtitle'>What is lolisafe?</h2>
<h2 class='subtitle'>What is safe.fiery.me?</h2>
<article class="message">
<div class="message-body">
lolisafe is an easy to use, open source and completely free file upload service. We accept your files, photos, documents, anything, and give you back a shareable link for you to send to others.
safe.fiery.me is merely another clone of lolisafe. lolisafe itself is an easy to use, open source and completely free file upload service. We accept your files, photos, documents, anything, and give you back a shareable link for you to send to others. On a side note, this site was originally made for personal usage but I disabled private mode in the end, so yeah, feel free..
</div>
</article>
@ -64,16 +75,24 @@
<h2 class='subtitle'>What are albums?</h2>
<article class="message">
<div class="message-body">
Albums are a simple way of sorting uploads together. Right now you can create albums through the dashboard and use them only with <a target="_blank" href="https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj">our chrome extension</a> which will enable you to <strong>right click -> send to lolisafe</strong> or to a desired album if you have any.
Albums are a simple way of sorting uploads together. Right now you can create albums through the dashboard and use them only with <a target="_blank" href="https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj">our chrome extension</a> which will enable you to <strong>right click -> send to lolisafe</strong> or to a desired album if you have any.
You will probably have to change some things involving https://safe.fiery.me/api/upload.
</div>
</article>
<h2 class='subtitle'>Why should I use this?</h2>
<article class="message">
<div class="message-body">
There are too many file upload services out there, and a lot of them rely on the foundations of pomf which is ancient. In a desperate and unsuccessful attempt of finding a good file uploader that's easily extendable, lolisafe was born. We give you control over your files, we give you a way to sort your uploads into albums for ease of access and we give you an api to use with ShareX or any other thing that let's you make POST requests. Awesome isn't it? Just like you.
I don't know.
</div>
</article>
</article>
<h2 class='subtitle'>I saw something too illegal for my tastes here, what do?</h2>
<article class="message">
<div class="message-body">
Send a strongly worded email to <a href="mailto:bobbywibowo98@gmail.com" target="_blank">bobbywibowo98@gmail.com</a> and I will <i>try</i> to get back to you within 24 hours.
</div>
</article>
</div>
</div>

View File

@ -18,8 +18,8 @@ upload.checkIfPublic = function () {
upload.preparePage()
})
.catch(error => {
swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error')
return console.log(error)
console.log(error)
return swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error')
})
}
@ -56,8 +56,8 @@ upload.verifyToken = function (token, reloadOnError) {
return upload.prepareUpload()
})
.catch(error => {
swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error')
return console.log(error)
console.log(error)
return swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error')
})
}
@ -89,8 +89,8 @@ upload.prepareUpload = function () {
document.getElementById('albumDiv').style.display = 'block'
})
.catch(e => {
swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error')
return console.log(e)
console.log(e)
return swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error')
})
}