Update faq section to be a bit better
This commit is contained in:
parent
645fd818d4
commit
f1a56b9f91
4 changed files with 70 additions and 54 deletions
|
|
@ -12,11 +12,13 @@
|
|||
"menu.welcome": "Welcome to Alu",
|
||||
"menu.search": "Search the web...",
|
||||
|
||||
"faq.title": "Frequently Asked Questions",
|
||||
|
||||
"faq.whatIsAProxy": "What is a proxy?",
|
||||
"faq.whatIsAProxy.answer": "A proxy is a method of making your internet traffic anonymous by sending your request to a server (proxy), having that make the request, and then send it back to you! This allows for a much larger level of security, as well as bypassing website restrictions in public spaces and censorship.",
|
||||
|
||||
"faq.whyIsAluSoSlow": "Why is Alu so slow?",
|
||||
"faq.whyIsAluSoSlow.answer": "This could be for a number of reasons, but it is most likely due to the proxy you are using. If you are far away from where Alu is hosted, it will take longer for the request to be sent and received. If the proxy you are using is congested with traffic, it will also be slower.",
|
||||
"faq.noBareClients": "What does \"there are no bare clients\" mean?",
|
||||
"faq.noBareClients.answer": "There are a couple reasons this particular error happens, but it's most commonly an issue with the proxy failing to load. Please reload the page, and if the problem persists, make a GitHub issue!",
|
||||
|
||||
"faq.contributeToAlu": "How can I contribute to Alu?",
|
||||
"faq.contributeToAlu.answer.segment1": "Spreading the word of Alu is a great start, but if you really enjoy Alu, and want private links, consider supporting me through Patreon!",
|
||||
|
|
|
|||
|
|
@ -12,11 +12,13 @@
|
|||
"menu.welcome": "アルーにようこそ",
|
||||
"menu.search": "ウェブを検索する...",
|
||||
|
||||
"faq.title": "よくある質問",
|
||||
|
||||
"faq.whatIsAProxy": "プロキシとは何ですか?",
|
||||
"faq.whatIsAProxy.answer": "プロキシは、ウェブサイトにアクセスするための中継サーバーです。プロキシを使用すると、ウェブサイトにアクセスする際に自分のIPアドレスを隠すことができます。",
|
||||
|
||||
"faq.whyIsAluSoSlow": "なぜアルーは遅いのですか?",
|
||||
"faq.whyIsAluSoSlow.answer": "アルーは、プロキシを使用してウェブサイトにアクセスするため、ウェブサイトの読み込みに時間がかかることがあります。また、アルーはまだ開発中のため、パフォーマンスが低いことがあります。",
|
||||
"faq.noBareClients": "「there are no bare clients.」とはどういう意味ですか?",
|
||||
"faq.noBareClients.answer": "このエラーはやや一般的で、通常はプロキシのロードに失敗したことを意味します。ページをリロードするか、GitHub に問題を作成してください。",
|
||||
|
||||
"faq.contributeToAlu": "アルーの発展にどのように貢献できますか?",
|
||||
"faq.contributeToAlu.answer.segment1": "アルーの言葉を広めることは素晴らしいスタートですが、Alu が本当に好きで、プライベート リンクが必要な場合は、Patreon を通じて私をサポートすることを検討してください。",
|
||||
|
|
|
|||
|
|
@ -15,58 +15,62 @@ export function getStaticPaths() {
|
|||
<Layout title={t("pages.home")}>
|
||||
<main id="main-content">
|
||||
<h1 class="title-text">{t("menu.welcome")}</h1>
|
||||
<div class="form-wrapper">
|
||||
<form class="url-input-form" id="url-input-form">
|
||||
<Input
|
||||
className="url-input"
|
||||
inputName="url"
|
||||
height="50px"
|
||||
placeholder={t("menu.search")}
|
||||
defaultStyles={false}
|
||||
transition:persist
|
||||
/>
|
||||
<div id="search-suggestions"></div>
|
||||
<div id="loading-content">Loading...</div>
|
||||
</form>
|
||||
<div id="top-bar">
|
||||
<div class="top-bar-left">
|
||||
<button id="close-button">Close</button>
|
||||
<div class="nav-container">
|
||||
<img id="nav-backwards" src="/img/nav/backwards.svg" alt="Backwards Arrow">
|
||||
<img id="nav-forwards" src="/img/nav/forwards.svg" alt="Forwards Arrow">
|
||||
<img id="nav-share" src="/img/nav/share.svg" alt="Share Page">
|
||||
<section id="proxy-input">
|
||||
<div class="form-wrapper">
|
||||
<form class="url-input-form" id="url-input-form">
|
||||
<Input
|
||||
className="url-input"
|
||||
inputName="url"
|
||||
height="50px"
|
||||
placeholder={t("menu.search")}
|
||||
defaultStyles={false}
|
||||
transition:persist
|
||||
/>
|
||||
<div id="search-suggestions"></div>
|
||||
<div id="loading-content">Loading...</div>
|
||||
</form>
|
||||
<div id="top-bar">
|
||||
<div class="top-bar-left">
|
||||
<button id="close-button">Close</button>
|
||||
<div class="nav-container">
|
||||
<img id="nav-backwards" src="/img/nav/backwards.svg" alt="Backwards Arrow">
|
||||
<img id="nav-forwards" src="/img/nav/forwards.svg" alt="Forwards Arrow">
|
||||
<img id="nav-share" src="/img/nav/share.svg" alt="Share Page">
|
||||
</div>
|
||||
</div>
|
||||
<div class="top-bar-right">
|
||||
<img id="proxied-favicon" alt="favicon" />
|
||||
<span id="url-text"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="top-bar-right">
|
||||
<img id="proxied-favicon" alt="favicon" />
|
||||
<span id="url-text"></span>
|
||||
<iframe title="proxy-iframe" id="proxy-frame"></iframe>
|
||||
</div>
|
||||
</section>
|
||||
<section id="faq">
|
||||
<h2 class="faq-title">{t("faq.title")}</h2>
|
||||
<div class="faq-section">
|
||||
<div class="faq-card">
|
||||
<h2>{t("faq.whatIsAProxy")}</h2>
|
||||
<p>{t("faq.whatIsAProxy.answer")}</p>
|
||||
</div>
|
||||
<div class="faq-card">
|
||||
<h2>{t("faq.contributeToAlu")}</h2>
|
||||
<p>
|
||||
{t("faq.contributeToAlu.answer.segment1")}
|
||||
<Link
|
||||
href="https://www.patreon.com/wearr"
|
||||
newTab
|
||||
content={t("faq.contributeToAlu.answer.patreonLinkText")}
|
||||
/>
|
||||
{t("faq.contributeToAlu.answer.segment2")}
|
||||
</p>
|
||||
</div>
|
||||
<div class="faq-card faq-large">
|
||||
<h2>{t("faq.noBareClients")}</h2>
|
||||
<p>{t("faq.noBareClients.answer")}</p>
|
||||
</div>
|
||||
</div>
|
||||
<iframe title="proxy-iframe" id="proxy-frame"></iframe>
|
||||
</div>
|
||||
|
||||
<div class="faq-section">
|
||||
<div class="faq-card">
|
||||
<h2>{t("faq.whatIsAProxy")}</h2>
|
||||
<p>{t("faq.whatIsAProxy.answer")}</p>
|
||||
</div>
|
||||
<div class="faq-card">
|
||||
<h2>{t("faq.whyIsAluSoSlow")}</h2>
|
||||
<p>{t("faq.whyIsAluSoSlow.answer")}</p>
|
||||
</div>
|
||||
<div class="faq-card faq-large">
|
||||
<h2>{t("faq.contributeToAlu")}</h2>
|
||||
<p>
|
||||
{t("faq.contributeToAlu.answer.segment1")}
|
||||
<Link
|
||||
href="https://www.patreon.com/wearr"
|
||||
newTab
|
||||
content={t("faq.contributeToAlu.answer.patreonLinkText")}
|
||||
/>
|
||||
{t("faq.contributeToAlu.answer.segment2")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<ProxyRegistrar />
|
||||
<script>
|
||||
|
|
@ -220,13 +224,20 @@ export function getStaticPaths() {
|
|||
transition: 250ms ease-in-out;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.faq-title {
|
||||
color: var(--text-color);
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.faq-section {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
margin: 0 auto;
|
||||
margin: 20px auto 0;
|
||||
width: 90%;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.faq-card {
|
||||
|
|
|
|||
|
|
@ -396,6 +396,7 @@ export function getStaticPaths() {
|
|||
#current-content {
|
||||
transition: opacity 250ms ease-in-out;
|
||||
margin-left: 20px;
|
||||
height: 400px;
|
||||
}
|
||||
.settings-container {
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue