Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hex-agon committed Jul 24, 2021
0 parents commit 177f4f2
Show file tree
Hide file tree
Showing 18 changed files with 213 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
resources
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

6 changes: 6 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
baseURL = "https://alterorb/"
languageCode = "en-us"
title = "AlterOrb"
theme = "altertheme"

paginate = 10
15 changes: 15 additions & 0 deletions content/posts/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Latest new post"
date: 2020-09-13T20:13:10-03:00
summary: A brief summary for this new post.
---

#### What is lorem impsum?

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard
dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially
unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more
recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.


2 changes: 2 additions & 0 deletions themes/altertheme/archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
+++
+++
30 changes: 30 additions & 0 deletions themes/altertheme/assets/sass/body.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@import "colors";

body {
height: 100vh;
margin: auto;
background-color: $background-color;
font-family: 'Roboto', sans-serif;
color: $text-color;
}

body a {
color: $text-highlight-light-color;
text-decoration: none;
}

body a:visited {
color: $text-highlight-light-color;
}

.wrapper {
display: grid;
min-height: 100%;
grid-template-rows: auto 1fr auto;
margin: 0 auto;
}

.content .main {
margin: 0 auto;
max-width: 1150px;
}
6 changes: 6 additions & 0 deletions themes/altertheme/assets/sass/colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$background-color: #292a2d;
$background-color-secondary: #252627;
$text-color: #a9a9b3;
$text-highlight-color: #05d9e8;
$text-highlight-light-color: #d1f7ff;
$text-highlight-dark-color: #ff2a6d;
11 changes: 11 additions & 0 deletions themes/altertheme/assets/sass/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@import "colors";

footer {
padding: 25px;
background-color: $background-color-secondary;
}

footer .inner {
margin: 0 auto;
max-width: 1200px;
}
17 changes: 17 additions & 0 deletions themes/altertheme/assets/sass/header.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@import "colors";

header {
padding: 5px 5px 5px 15px;
background-color: $background-color-secondary;
}

header .inner {
margin: 0 auto;
max-width: 1200px;
}

header h1 {
color: white;
font-size: 28px;
font-weight: 500;
}
2 changes: 2 additions & 0 deletions themes/altertheme/assets/sass/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import "colors", "header", "body", "footer", "text";

9 changes: 9 additions & 0 deletions themes/altertheme/assets/sass/text.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@import "colors";

.text-highlight {
color: $text-highlight-color;
}

.text-highlight-light {
color: $text-highlight-light-color;
}
Empty file.
19 changes: 19 additions & 0 deletions themes/altertheme/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
{{- partial "head.html" . -}}

<body>
<div class="wrapper">
<header>
{{- partial "header.html" . -}}
</header>
<div class="content">
{{- block "main" . }}{{- end }}
</div>
<footer>
{{- partial "footer.html" . -}}
</footer>
</div>
</body>

</html>
58 changes: 58 additions & 0 deletions themes/altertheme/layouts/_default/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{{define "main"}}
<div class="main">
<section>
<h2>About</h2>
<p>
AlterOrb is a project that aims to emulate all the original features that were available in the original
FunOrb games.
It solely focuses on the single-player games that were available.
</p>
</section>

<section>
<h2>Downloading the Launcher</h2>
<p>
Before downloading, make sure you have at least Java 11 installed, you can download Java from the
<a href="https://adoptopenjdk.net/" target="_parent">AdoptOpenJDK Project</a>.
</p>
<p>
The latest launcher version can always be downloaded from the
<a href="https://github.com/alterorb/launcher/releases" target="_parent">GitHub releases page</a>.
</p>
</section>

<section>
<h2>Creating an account</h2>
<p>
You create an account by attempting to logging in with an unique username & password, upon successful login,
your account has been created.
</p>
</section>

<section>
<h2>But I'm looking for the multiplayer games!</h2>
<p>
Sadly AlterOrb does not support any of the multiplayer games. But the most popular ones have community
remakes, below you can find a direct link to a few. You can find more info about other projects in the
FunOrb discord linked in the section below.
</p>
<ul>
<li><a href="https://www.arcanists2.com/">Arcanists 2</a></li>
</ul>
</section>

<section>
<h2>Getting help</h2>
<p>
If you’re having any trouble downloading or using the launcher you can ask for help in the following
channels:
</p>

<ul>
<li>The <a href="https://discordapp.com/invite/MGfDrDf">FunOrb discord</a> server</li>
<li>The <a href="https://discordapp.com/invite/a4qUynM">FunOrb Central discord</a> server</li>
<li>The irc channel #alterorb at <a href="https://qchat.rizon.net/?channels=alterorb">rizon.net</a></li>
</ul>
</section>
</div>
{{end}}
3 changes: 3 additions & 0 deletions themes/altertheme/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="inner">
<span>Repository at <a href="https://github.com/alterorb">GitHub</a></span>
</div>
15 changes: 15 additions & 0 deletions themes/altertheme/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{$page_title := ""}}
{{if not .IsHome}}
{{$page_title = delimit (slice "|" .Title) " "}}
{{end}}
{{$title := delimit (slice site.Title $page_title) " "}}
<title>{{$title}}</title>

{{ $sass := resources.Get "sass/main.scss" }}
{{ $style := $sass | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
</head>
4 changes: 4 additions & 0 deletions themes/altertheme/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div class="inner">
<a href="{{relLangURL ""}}"><h1 class="text-highlight-light">Alter<span class="text-highlight">Orb</span>
</h1></a>
</div>
8 changes: 8 additions & 0 deletions themes/altertheme/theme.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name = "AlterTheme"
license = "MIT"
tags = []
features = []
min_version = "0.41.0"

[author]
name = "Hexagon"

0 comments on commit 177f4f2

Please sign in to comment.