Skip to content

Commit

Permalink
feat: add FAQ page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabster28 committed Jul 11, 2020
1 parent de6a712 commit cf1ff70
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 0 deletions.
218 changes: 218 additions & 0 deletions src/pages/FAQ.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
<template>
<q-page class="col q-ma-lg items-center justify-evenly">
<div class="col-10">
<h1>FAQ</h1>
<h5 disabled>
Got a question? Look no further! You can ctrl (or cmd) + F if you want
to find something specific
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">So, what is Mirai, anyway?</h4>
<h5>
Mirai is
<span class="text-strike"
>the after-effect of me downing five cups of Fanta and slapping a
keyboard for ten hours
</span>
a new, modern, sleek and quicker web UI (user interface) for
MyAnimeList.net
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">It's a replacement?</h4>
<h5>
Not exactly - a replacement for you, maybe; but not a replacement for
the whole website. All of the data shown on this website is taken using
Jikan, which takes the data directly from MAL.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">So a reskin?</h4>
<h5>
Eh, sure. Let's go with that.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">But why? Their website looks fine to me...</h4>
<h5>
To a degree, it is. It shows any data you ask it for, and you can
navigate it like any website. However, Mirai goes a step further, a true
definition of a Progressive Web App.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">Progressive Web App?</h4>
<h5>
A PWA is simply a website that follows a specific set of rules that are
intended to better the UX (user's experience) of the website. Things
like caching data, making it secure, ensuring it works on mobile and
offline (without any work from the user), all attribute to a good PWA.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">Caching?</h4>
<h5>
Caching is like asking a question to someone, and remembering the answer
so that you don't need to ask the person again. Almost everything is
cached on this website (even the website itself! Try accessing this
without internet and see what happens) such as the images of animes,
user statistics, pretty much everything.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">But won't the data become old at some point?</h4>
<h5>
Yes, and I've solved this by using what I like to call
<span class="text-bold">Speed Caching</span>. Instead of searching for
an anime that you've searched for before and leaving the user with
nothing to look at for a couple seconds, the website will load the
cached version, and update it in the background, in case there were any
changes. This allows the user to see what they want quickly and show
them something while they wait.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
Wait, how come the URL changes when I click a link, but the page doesn't
load anything?
</h4>
<h5>
That's the power of a Single Page Application, my friend. Put simply, an
SPA is an application (web app, in this case) that uses one page that
laods every page and dynamically switches between them based on user
input. It's the same reson that GMail doesn't reload when you open an
email, but the URL still changes.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
Cool, but why is it called Mirai?
</h4>
<h5>
Mirai is Japanese for "future", and that's exactly what I wanted this
website to feel like compared to MAL.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
Are you going to collect my IP Address and kill me in my sleep?
</h4>
<h5>
No.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
Do you mine cryptocurrencies in the website?
</h4>
<h5>
No.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
So I won't be abducted by two guys in black suits?
</h4>
<h5>
You might, but it has nothing to do with me or this website.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
And you're not going to email me about my dead uncle's $500,000 worth of
unpolished diamonds?
</h4>
<h5>
No.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
Really?
</h4>
<h5>
Yes, the only data-collecting tool the website uses is Firebase :P
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
How can I trust you?
</h4>
<h5>
<a href="https://github.com/Jabster28/mirai"
>Here's all of the source code to my application.</a
>
You can build it, hash the results and compare them to this website.
Either I'm telling the truth, or I'm stealing all of your data AND
managed to do make a hash collision that would require me to
<em>hash 6 billion files per second for 100 years</em> =)
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
What if I still don't trust you?
</h4>
<h5>
<a
href="https://github.com/gorhill/uBlock/blob/master/README.md#installation"
>Go ahead and install uBlock Origin</a
>, which might be the best advertising, tracking, cryptomining blocker
out there. (you can also install
<a href="https://reek.github.io/anti-adblock-killer/"
>anti adblock killer</a
>
if you don't like websites telling you to disable it)
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
Will there ever be ads?
</h4>
<h5>
No, if I can afford it.
</h5>
</div>

<div class="col-10">
<h4 class="text-italic">
Will I ever have to pay for this?
</h4>
<h5>
Do you honestly think I'm going to promote a paid UI to a free service?
I'm not Microsoft Office, am I?
</h5>
</div>
</q-page>
</template>

<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
name: 'PageIndex',
mounted() {
document.title = 'Mirai';
},
data() {
return {};
}
});
</script>
5 changes: 5 additions & 0 deletions src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ const routes: RouteConfig[] = [
component: () => import('layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('pages/SetUsername.vue') }]
},
{
path: '/faq',
component: () => import('layouts/MainLayout.vue'),
children: [{ path: '', component: () => import('pages/FAQ.vue') }]
},

// Always leave this as last one,
// but you can also remove it
Expand Down

1 comment on commit cf1ff70

@vercel
Copy link

@vercel vercel bot commented on cf1ff70 Jul 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.