aboutsummaryrefslogtreecommitdiffstats
path: root/thallium-frontend/src/components/Header.tsx
blob: 56c940b8734b75211e6b53c23c363684071992c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React from 'react';
import styled from 'styled-components';

const HeaderContainer = styled.header`
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;

  img {
    width: 64px;
    height: 64px;
  }

  h1 {
    margin: 0;
    margin-left: 1rem;
  }
`;


const Header = () => {
    return (
        <HeaderContainer>
            <img src="icon.svg" alt="Thallium logo" />
            <h1>
                Thallium
            </h1>
        </HeaderContainer>
    );
};

export default Header;