mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-07 10:31:46 +00:00
link to fakeyou for profile
This commit is contained in:
1 parent
36cc3b74ca
commit
95d9381eb6
2 files changed
+7
-10
No files matched your search
@@ -42,14 +42,15 @@ function TopNavSessionButton(props: Props) {
|
||||
let logoutLink = <span />;
|
||||
|
||||
if (loggedIn) {
|
||||
//let url = `/profile/${displayName}`;
|
||||
let url = `/`;
|
||||
let url = `https://fakeyou.com/profile/${displayName}`;
|
||||
sessionLink = (
|
||||
<Link
|
||||
to={url}
|
||||
<a
|
||||
href={url}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
onClick={() => props.closeHamburgerAction()}
|
||||
className="button is-alert is-inverted is-pulled-right"
|
||||
> {gravatar} {displayName}</Link>
|
||||
> {gravatar} {displayName}</a>
|
||||
);
|
||||
logoutLink = <button
|
||||
className="button is-alert is-inverted is-pulled-right"
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
import { faTwitch } from '@fortawesome/free-brands-svg-icons';
|
||||
import { faCogs, faVideo } from '@fortawesome/free-solid-svg-icons';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import React from 'react';
|
||||
import { FakeYouExternalLink } from '@storyteller/components/src/elements/FakeYouExternalLink';
|
||||
import { SessionWrapper } from '@storyteller/components/src/session/SessionWrapper';
|
||||
import React from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { LoggedInIndex } from './subpages/LoggedInIndex';
|
||||
import { LoggedOutIndex } from './subpages/LoggedOutIndex';
|
||||
|
||||
|
||||
Reference in new issue
Block a user