fix: add debug labels

This commit is contained in:
swve 2022-09-24 14:35:26 +02:00
parent 3b85a73ec1
commit c5bb590b2d
4 changed files with 23 additions and 6 deletions

View file

@ -9,7 +9,9 @@ export const HeaderProfileBox = () => {
return (
<ProfileArea>
{" "}
<span>HeaderProfileBox {String(auth.isAuthenticated)}</span>{" "}
<span>
HeaderProfileBox <br /> isLogged : {String(auth.isAuthenticated)} <br /> user : {String(auth.userInfo.username)}
</span>{" "}
<UnidentifiedArea>
<ul>
<li>
@ -41,7 +43,8 @@ const ProfileArea = styled.div`
padding: 6px;
font-size: 12px;
margin: 3px;
background-color: #19191939;
// blur
background-color: #19191960;
border-radius: 5px;
color: white;
width: auto;

View file

@ -1,12 +1,26 @@
import React from "react";
import { Menu } from "./elements/menu";
import Link from 'next/link'
import styled from "styled-components";
export const Header = () => {
return (
<div>
<Menu></Menu>
<PreAlphaLabel>🚧 Pre-Alpha</PreAlphaLabel>
</div>
);
};
const PreAlphaLabel = styled.div`
position: fixed;
bottom: 0;
right: 0;
padding: 9px;
background-color: #080501;
color: white;
font-size: 19px;
font-weight: bold;
border-radius: 5px 0 0 0px;
`;