File tree 6 files changed +41
-1
lines changed
6 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 96
96
97
97
domains : context
98
98
gcloud beta run domain-mappings create --service osrs-loadouts-api --platform managed --domain api.osrsloadouts.app
99
- gcloud beta run domain-mappings create --service osrs-loadouts-web --platform managed --domain osrsloadouts.app
99
+ gcloud beta run domain-mappings create --service osrs-loadouts-web --platform managed --domain osrsloadouts.app
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ class Header extends React.Component {
43
43
-
44
44
{ loadouts }
45
45
< Link to = "/browse" > Browse Loadouts</ Link >
46
+ -
47
+ < Link to = "/contact" > Contact</ Link >
46
48
</ div >
47
49
< div style = { { float : 'right' } } >
48
50
{ account }
Original file line number Diff line number Diff line change
1
+ import React from 'react' ;
2
+ import discord from './discord.png' ;
3
+ import github from './github.png' ;
4
+
5
+ const DISCORD_URL = 'https://discord.com/channels/@me/107680246739767296'
6
+ const DISCORD_USERNAME = 'while-loop#6157'
7
+ const GITHUB_URL = 'https://github.com/while-loop/osrsinvy/issues'
8
+ const GITHUB_USERNAME = 'while-loop'
9
+
10
+ function Contact ( ) {
11
+ return (
12
+ < div style = { {
13
+ display : "flex" ,
14
+ flexDirection : "column" ,
15
+ justifyContent : "space-between" ,
16
+ } } >
17
+ < h4 > Contact Me</ h4 >
18
+
19
+ < div >
20
+ < a href = { DISCORD_URL } target = '_blank' > < img style = { { verticalAlign : 'middle' } } src = { discord } alt = { "discord logo" } width = { 50 } /> </ a >
21
+
22
+ < a href = { DISCORD_URL } target = '_blank' > { DISCORD_USERNAME } </ a >
23
+ </ div >
24
+ < br />
25
+ < div >
26
+ < a href = { GITHUB_URL } target = '_blank' > < img style = { { verticalAlign : 'middle' } } src = { github } alt = { "github logo" } width = { 50 } /> </ a >
27
+
28
+ < a href = { GITHUB_URL } target = '_blank' > { GITHUB_USERNAME } </ a >
29
+ </ div >
30
+
31
+
32
+ </ div >
33
+ ) ;
34
+ }
35
+
36
+ export default Contact ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import app, {refreshToken} from "../utils/base"
10
10
import Login from "../components/Login/Login" ;
11
11
import Account from "../components/Account/Account" ;
12
12
import Profile from "../components/Account/Profile" ;
13
+ import Contact from "../components/Contact/Contact" ;
13
14
14
15
class AppRouter extends React . Component {
15
16
state = {
@@ -49,6 +50,7 @@ class AppRouter extends React.Component {
49
50
< App authenticated = { authenticated } >
50
51
< div >
51
52
< Route exact path = "/" component = { Home } />
53
+ < Route exact path = "/contact" component = { Contact } />
52
54
53
55
< Route exact path = "/login" component = { Login } />
54
56
< PrivateRoute exact path = "/account" component = { Account } authenticated = { authenticated } />
You can’t perform that action at this time.
0 commit comments