Archived
1
0

Prettified Code!

This commit is contained in:
creyD
2020-01-24 18:42:15 +00:00
committed by GitHub Actions
parent 10bf5c0912
commit 6f85a2056c
5 changed files with 102 additions and 97 deletions

View File

@@ -3,25 +3,25 @@
*/
module.exports = {
siteMetadata: {
title: `Urban Brothers Website`,
siteURL: `https://www.urbanbrothers.de`,
description: `Homepage of the Urban Brothers`,
},
// pathPrefix: ``, // URL prefix of the whole site
plugins: [
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Urban Brothers Homepage`,
short_name: `Urban Website`,
start_url: `/`,
background_color: `#6b37bf`,
theme_color: `#6b37bf`,
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
display: `standalone`,
icon: `src/images/icon.png`, // This path is relative to the root of the site.
},
siteMetadata: {
title: `Urban Brothers Website`,
siteURL: `https://www.urbanbrothers.de`,
description: `Homepage of the Urban Brothers`,
},
],
// pathPrefix: ``, // URL prefix of the whole site
plugins: [
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Urban Brothers Homepage`,
short_name: `Urban Website`,
start_url: `/`,
background_color: `#6b37bf`,
theme_color: `#6b37bf`,
// Enables "Add to Homescreen" prompt and disables browser UI (including back button)
display: `standalone`,
icon: `src/images/icon.png`, // This path is relative to the root of the site.
},
},
],
}

View File

@@ -2,18 +2,18 @@ import React from "react"
import { Link } from "gatsby"
export default () => (
<div style={{ textAlign: `center` }}>
<a target="_blanc" href="ts3server://urbanbrothers.de">
ts
</a>
.
<a target="_blanc" href="https://discord.gg/aYcvtWE">
discord
</a>
.
<a target="_blanc" href="https://github.com/creyD/urban_website">
github
</a>
.<Link to="/about/">about</Link>
</div>
<div style={{ textAlign: `center` }}>
<a target="_blanc" href="ts3server://urbanbrothers.de">
ts
</a>
.
<a target="_blanc" href="https://discord.gg/aYcvtWE">
discord
</a>
.
<a target="_blanc" href="https://github.com/creyD/urban_website">
github
</a>
.<Link to="/about/">about</Link>
</div>
)

View File

@@ -1,8 +1,8 @@
import React from "react"
export default props => (
<div id={props.title}>
<h1>{props.title}</h1>
<p>{props.text}</p>
</div>
<div id={props.title}>
<h1>{props.title}</h1>
<p>{props.text}</p>
</div>
)

View File

@@ -3,33 +3,34 @@ import Header from "../components/header"
import Footer from "../components/footer"
export default () => (
<div>
<Header headline="About" />
<div class="container">
<p>
As this is a private website, so no legal notice is required. However
let's clarify a few things:
</p>
<div>
<Header headline="About" />
<div class="container">
<p>
As this is a private website, so no legal notice is required.
However let's clarify a few things:
</p>
<h2>Cookies</h2>
<p>This site uses none.</p>
<h2>Cookies</h2>
<p>This site uses none.</p>
<h2>GDPR</h2>
<p>
As this site doesn't use any user data, it complies with GDPR
regulations.
</p>
<h2>GDPR</h2>
<p>
As this site doesn't use any user data, it complies with GDPR
regulations.
</p>
<h2>Legal</h2>
<p>
If you have any questions or queries regarding this website, please
write <a herf="mailto://webmaster@urbanbrothers.de">an email.</a>
</p>
<a href="/">
<button>Back to homepage</button>
</a>
<h2>Legal</h2>
<p>
If you have any questions or queries regarding this website,
please write{" "}
<a herf="mailto://webmaster@urbanbrothers.de">an email.</a>
</p>
<a href="/">
<button>Back to homepage</button>
</a>
<Footer />
<Footer />
</div>
</div>
</div>
)

View File

@@ -4,40 +4,44 @@ import MainEntry from "../components/main_entry"
import Footer from "../components/footer"
export default () => (
<div>
<Header headline="The Urban Brothers" />
<p id="tagline">Welcome to the Urban Brothers Website</p>
<div class="container">
<MainEntry title="Ressources" />
<ul>
<a href="ts3server://urbanbrothers.de">
<li>TeamSpeak 3 Server</li>
</a>
<a href="https://discord.gg/k6TnPq">
<li>Discord Server</li>
</a>
<a href="https://steamcommunity.com/groups/urban_group" target="_blanc">
<li>Steam Community Group</li>
</a>
</ul>
<MainEntry title="Contribute" />
<p>
As it was requested by some people over the last years, we finally
created a{" "}
<a href="https://paypal.me/pools/c/89fz0b2YFk" target="_blanc">
donation link (PayPal).
</a>{" "}
All the donated money will go 100% towards keeping up the servers and
running other community related projects in the future. However our
services will continue to be freely available for anyone. -{" "}
<b>Thank you to everyone who donated.</b>
</p>
<MainEntry title="Help" />
<p>
For help with any community related matters, please contact one of our
moderators or admins on either TeamSpeak or Discord.
</p>
<div>
<Header headline="The Urban Brothers" />
<p id="tagline">Welcome to the Urban Brothers Website</p>
<div class="container">
<MainEntry title="Ressources" />
<ul>
<a href="ts3server://urbanbrothers.de">
<li>TeamSpeak 3 Server</li>
</a>
<a href="https://discord.gg/k6TnPq">
<li>Discord Server</li>
</a>
<a
href="https://steamcommunity.com/groups/urban_group"
target="_blanc"
>
<li>Steam Community Group</li>
</a>
</ul>
<MainEntry title="Contribute" />
<p>
As it was requested by some people over the last years, we
finally created a{" "}
<a href="https://paypal.me/pools/c/89fz0b2YFk" target="_blanc">
donation link (PayPal).
</a>{" "}
All the donated money will go 100% towards keeping up the
servers and running other community related projects in the
future. However our services will continue to be freely
available for anyone. -{" "}
<b>Thank you to everyone who donated.</b>
</p>
<MainEntry title="Help" />
<p>
For help with any community related matters, please contact one
of our moderators or admins on either TeamSpeak or Discord.
</p>
</div>
<Footer />
</div>
<Footer />
</div>
)