Archived
1
0

Merge pull request #7 from creyD/dev

Fixed Discord and README Link
This commit is contained in:
2020-01-24 20:03:41 +01:00
committed by GitHub
8 changed files with 105 additions and 94 deletions

View File

@@ -15,5 +15,6 @@ jobs:
uses: creyD/prettier_action@master uses: creyD/prettier_action@master
with: with:
branch: ${{ github.head_ref }} branch: ${{ github.head_ref }}
prettier_options: '--write **/*.js'
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -2,6 +2,6 @@
"endOfLine": "lf", "endOfLine": "lf",
"semi": false, "semi": false,
"singleQuote": false, "singleQuote": false,
"tabWidth": 2, "tabWidth": 4,
"trailingComma": "es5" "trailingComma": "es5"
} }

View File

@@ -1,3 +1,3 @@
# Urban Brothers Website # Urban Brothers Website
This is the source code of the [Urban Brothers website](urbanbrothers.de). This is the source code of the [Urban Brothers website](https://www.urbanbrothers.de).

View File

@@ -3,25 +3,25 @@
*/ */
module.exports = { module.exports = {
siteMetadata: { siteMetadata: {
title: `Urban Brothers Website`, title: `Urban Brothers Website`,
siteURL: `https://www.urbanbrothers.de`, siteURL: `https://www.urbanbrothers.de`,
description: `Homepage of the Urban Brothers`, 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.
},
}, },
], // 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" import { Link } from "gatsby"
export default () => ( export default () => (
<div style={{ textAlign: `center` }}> <div style={{ textAlign: `center` }}>
<a target="_blanc" href="ts3server://urbanbrothers.de"> <a target="_blanc" href="ts3server://urbanbrothers.de">
ts ts
</a> </a>
. .
<a target="_blanc" href="https://discord.gg/k6TnPq"> <a target="_blanc" href="https://discord.gg/aYcvtWE">
discord discord
</a> </a>
. .
<a target="_blanc" href="https://github.com/creyD/urban_website"> <a target="_blanc" href="https://github.com/creyD/urban_website">
github github
</a> </a>
.<Link to="/about/">about</Link> .<Link to="/about/">about</Link>
</div> </div>
) )

View File

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

View File

@@ -3,28 +3,34 @@ import Header from "../components/header"
import Footer from "../components/footer" import Footer from "../components/footer"
export default () => ( export default () => (
<div> <div>
<Header headline="About" /> <Header headline="About" />
<div class="container"> <div class="container">
<p> <p>
As this is a private website, it doesn't need an imprint. However let's As this is a private website, so no legal notice is required.
clarify a few things: However let's clarify a few things:
</p> </p>
<h2>Cookies</h2> <h2>Cookies</h2>
<p>This site uses none.</p> <p>This site uses none.</p>
<h2>GDPR</h2> <h2>GDPR</h2>
<p> <p>
As this site doesn't use any user data, it complies with GDPR As this site doesn't use any user data, it complies with GDPR
regulations. regulations.
</p> </p>
<a href="/"> <h2>Legal</h2>
<button>Back to homepage</button> <p>
</a> 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>
</div>
) )

View File

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