This repository has been archived on 2022-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
gosocial/web/templates/index.html
Noah Petherbridge c43d052665 User Profile and Settings Pages
* Vendor fontawesome icons
* User settings page: to edit profile details (other features not hooked
  up yet)
* Initial user profile page
2022-08-10 20:59:59 -07:00

151 lines
6.5 KiB
HTML

{{define "title"}}A social network for real nudists and exhibitionists{{end}}
{{define "content"}}
<div class="block">
<section class="hero is-info is-bold">
<div class="hero-body">
<div class="container">
<h1 class="title">{{ .Title }}</h1>
<h2 class="subtitle">{{ .Subtitle }}</h2>
</div>
</div>
</section>
</div>
<div class="block">
<div class="columns">
<div class="column content is-three-quarters p-4">
<p>
Welcome to <strong>{{.Title}}</strong>, a social network designed for <strong>real</strong>
nudists and exhibitionists!
</p>
<p>
This website was designed by a life-long nudist, exhibitionist and software engineer to create
a safe space for like-minded individuals online, especially in the modern online political
climate and after Tumblr, Pornhub and other social networks had begun clamping down and kicking
off all the nudists from their platforms.
</p>
<p>
This website is open to <em>all</em> nudists and exhibitionists, but I understand that not all
nudists want to see any sexual content, so this site provides some controls to support
both camps:
</p>
<ul>
<li>
For <strong>nudists:</strong> a default setting on your profile will hide 'explicit content'
from users' profile pages and you will not see the explicit web forums either.
</li>
<li>
For <strong>exhibitionists:</strong> you can toggle that setting to view explicit content
and mark your own explicit pictures as such so that nudists who don't want to see them
don't have to.
</li>
</ul>
<h1>Site Rules</h1>
<ul>
<li>
🧑 Only <strong>real people</strong> are allowed to join. You must be comfortable showing your
face on your profile page. You don't need to include your face in your nudes but a profile picture
of your face is required.
</li>
<li>
<strong>Verification is mandatory.</strong> Along with the face picture on your profile page,
you will need to take a selfie with a hand-written note on paper to verify that you're a real
person.
</li>
<li>
🤳 <strong>Self pictures only.</strong> You are expected to post only pictures that you're in.
No "porn blogs" of random content you found online!
</li>
<li>
😈 <strong><span class="has-text-danger">Explicit content</span> is permitted in designated areas only.</strong>
Not all nudists want to see "sexual" content, but exhibitionists are welcome here too. If you want to upload
sexually charged content, mark those pictures as 'explicit' when uploading them or post them only to the
designated explicit forums so nudists who prefer not to see don't have to.
</li>
<li>
🔞 You must be <strong class="has-text-danger">18 years or older</strong> to sign up for this website.
</li>
</ul>
<h1>Site Features</h1>
<p>
This website is still a work in progress, but <em>eventually</em> it will have at least
the following features and functions:
</p>
<ul>
<li>
<strong>Web forums</strong> where you can write posts and meet your fellow members in the comments.
</li>
<li>
<strong>Profile pages</strong> where you can write a bit about yourself and upload some of your
nudist or exhibitionist pictures.
</li>
<li>
<strong>Direct messages</strong> where you can chat with other members on the site.
</li>
</ul>
</div>
<div class="column is-one-quarter">
{{if .LoggedIn}}
<div class="card">
<header class="card-header has-background-link">
<p class="card-header-title has-text-light">Welcome back, {{.CurrentUser.Username}}!</p>
</header>
<div class="card-content">
Content to come here soon.
</div>
</div>
{{else}}
<div class="card">
<header class="card-header has-background-link">
<p class="card-header-title has-text-light">Log In</p>
</header>
<div class="card-content">
<form action="/login" method="POST">
{{ InputCSRF }}
<div class="field">
<label class="label" for="idx_username">Username</label>
<input type="text" class="input"
name="username"
placeholder="username"
id="idx_username"
autocomplete="off">
</div>
<div class="field">
<label class="label" for="idx_password">Password</label>
<input type="password" class="input"
name="password"
placeholder="password"
id="idx_password"
autocomplete="off">
<a href="/forgot-password">Forgot?</a>
</div>
<div class="columns">
<div class="column">
<button type="submit" class="button is-link is-fullwidth">Log in</button>
</div>
<div class="column">
<a href="/signup" class="button is-secondary is-fullwidth">Sign up</a>
</div>
</div>
</form>
</div>
</div>
{{end}}
</div>
</div>
</div>
{{end}}