86 lines
3.3 KiB
HTML
86 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html data-theme="{{ .theme }}">
|
|
<head>
|
|
<title>AnonymousOverflow - Private frontend for StackOverflow</title>
|
|
<link rel="stylesheet" href="/static/globals.css" />
|
|
<link rel="stylesheet" href="/static/home.css" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta
|
|
http-equiv="Content-Security-Policy"
|
|
content="default-src 'none'; style-src 'self'; script-src 'none'; img-src 'self';"
|
|
/>
|
|
<link rel="icon" href="/static/codecircles.png" />
|
|
<meta name="theme-color" content="#8CFFC1" />
|
|
<meta name="og:image" content="/static/codecircles.png" />
|
|
<meta
|
|
name="description"
|
|
content="View StackOverflow threads in privacy and without the clutter."
|
|
/>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="title">
|
|
<img
|
|
class="logo"
|
|
src="/static/codecircles.png"
|
|
alt="4 circles with alternating colors between green and white"
|
|
/>
|
|
<h1>AnonymousOverflow</h1>
|
|
</div>
|
|
<h2>Get programming help without compromising your privacy.</h2>
|
|
<p>
|
|
AnonymousOverflow allows you to view StackOverflow threads
|
|
without the cluttered interface and exposing your IP address,
|
|
browsing habits and other browser fingerprint data to
|
|
StackOverflow.
|
|
</p>
|
|
{{ if .errorMessage }}
|
|
<div class="error">
|
|
<p><b>Error</b>: {{ .errorMessage }}</p>
|
|
</div>
|
|
{{ end }}
|
|
<form method="POST">
|
|
<div class="view-form">
|
|
<input
|
|
class="view-input"
|
|
type="text"
|
|
name="url"
|
|
placeholder="https://stackoverflow.com/questions/123456/example-url"
|
|
/>
|
|
<button class="view-button" type="submit">View</button>
|
|
</div>
|
|
</form>
|
|
<div class="options">
|
|
<div class="icon">
|
|
<a href="/options/images">
|
|
<img src="/static/icons/image.svg" alt="Toggle theme" />
|
|
</a>
|
|
</div>
|
|
<div class="icon">
|
|
<a href="/options/theme?redirect_url={{ .currentUrl }}">
|
|
<img src="/static/icons/{{ if eq .theme "dark" }}sun{{
|
|
else }}moon{{ end }}.svg" alt="Toggle theme" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<p class="footer">
|
|
Brought to you by
|
|
<a
|
|
href="https://github.com/WhateverLabs"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>Whatever Labs</a
|
|
>
|
|
•
|
|
<a
|
|
href="https://github.com/httpjamesm/AnonymousOverflow"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>Source</a
|
|
>
|
|
• Version {{ .version }}
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|