pages/index.html
2024-01-13 14:33:06 +01:00

182 lines
6.1 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>TheClashFruit's Forgejo &bull; Pages</title>
<link rel="icon" href="/favicon.ico" />
<meta name="name" content="TheClashFruit's Forgejo &bull; Pages" />
<meta name="description" content="Host your static pages." />
<meta name="keywords" content="TheClashFruit, tcf, blokkok, the, clash, fruit, forgejo, static, hosting, pages, git, gitea, gay, codeberg" />
<meta name="theme-color" content="#3B0764" />
<meta property="og:site_name" content="TheClashFruit's Forgejo" />
<meta property="og:title" content="Pages" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_UK" />
<meta property="og:url" content="https://theclashfruit.page" />
<meta property="og:image" content="https://theclashfruit.page/img/social_card.png" />
<meta property="og:description" content="Host your static pages." />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="theclashfruit.page" />
<meta property="twitter:url" content="https://theclashfruit.page" />
<meta name="twitter:title" content="TheClashFruit's Forgejo &bull; Pages" />
<meta name="twitter:description" content="Host your static pages." />
<meta name="twitter:image" content="https://theclashfruit.page/img/social_card.png" />
<link rel="stylesheet" href="/css/style.css" />
</head>
<body>
<header>
<div>
<div class="title">
<svg width="3rem" height="3rem" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18 15C16.3431 15 15 16.3431 15 18C15 19.6569 16.3431 21 18 21C19.6569 21 21 19.6569 21 18C21 16.3431 19.6569 15 18 15ZM18 15V8C18 7.46957 17.7893 6.96086 17.4142 6.58579C17.0391 6.21071 16.5304 6 16 6H13M6 9C7.65685 9 9 7.65685 9 6C9 4.34315 7.65685 3 6 3C4.34315 3 3 4.34315 3 6C3 7.65685 4.34315 9 6 9ZM6 9V16C6 16.5304 6.21071 17.0391 6.58579 17.4142C6.96086 17.7893 7.46957 18 8 18H11" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<h1>TheClashFruit's Forgejo</h1>
</div>
</div>
</header>
<main>
<div>
<h2>
Quick Setup
</h2>
<div class="cards">
<div class="card">
<h3>
Create a Repository.
</h3>
<p>
Create a repository on <a href="https://git.theclashfruit.me">TheClashFruit's Forgejo</a> named <code>pages</code> and push your code to the <code>main</code> branch.
</p>
<p>
Alternatively, you can create a page for a repo at <code>user.theclashfruit.page/repo</code> by creating a new empty branch named <code>pages</code> in your repo.
</p>
</div>
<div class="card">
<h3>
Upload your Code.
</h3>
<p>
Upload your HTML, CSS, and JS and whatever else to you repository.
</p>
<p>
Keep in mind that we have caching enabled, so when you push new code it may take a few minutes to update, alternatively you can try refreshing with <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>R</kbd>.
</p>
</div>
<div class="card">
<h3>
That's It!
</h3>
<p>
You can now access your page at <code>user.theclashfruit.page</code> or <code>user.theclashfruit.page/repo</code>.
</p>
<p>
The software we use to deliver your pages is open-source! Check out its <a href="https://git.gay/gitgay/pages-server">source code</a>!
</p>
</div>
</div>
</div>
<div>
<h2>
Custom Domains
</h2>
<p>
To use a custom domain create a <code>.domains</code> file in the root of your repository and add your domain to it.
</p>
<p>
Then add a CNAME record to your DNS pointing to <code>[[branch.]repo.]user.theclashfruit.page</code>.
</p>
<p>
For apex domains where you can't add a <code>CNAME</code> record, add an <code>A</code> record pointing to <code>132.145.233.75</code>, an <code>AAAA</code> record pointing to <code>2603:c020:8013:a05a:de6c:60c0:9a73:35ae</code>, and a <code>TXT</code> record with the value <code>[[branch.]repo.]user.theclashfruit.page</code>.
</p>
</div>
</main>
<footer>
<div class="footerInner">
<div class="footerText">
<p>
Copyright &copy; 2024 TheClashFruit.
</p>
<label>
Powered by <a href="https://git.gay/gitgay/pages-server">git.gay pages-server</a>.
</label>
<p>
<a href="https://git.theclashfruit.me">
TheClashFruit's Forgejo
</a>
</p>
</div>
<div class="footerLinks">
<div>
<label>Legal</label>
<ul>
<li>
<a href="/legal/privacy.html">
Privacy
</a>
</li>
<li>
<a href="/legal/terms.html">
Terms
</a>
</li>
<li>
<a href="/legal/rules.html">
Rules
</a>
</li>
</ul>
</div>
<div>
<label>Resources</label>
<ul>
<li>
<a href="/docs/">
Docs
</a>
</li>
<li>
<a href="https://git.theclashfruit.me/Forgejo/Community/issues">
Issues
</a>
</li>
<li>
<a href="https://status.theclashfruit.me/">
Status
</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
</body>
</html>