summaryrefslogtreecommitdiff
path: root/src/frontend/components/Header/Header.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/components/Header/Header.tsx')
-rw-r--r--src/frontend/components/Header/Header.tsx26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/frontend/components/Header/Header.tsx b/src/frontend/components/Header/Header.tsx
new file mode 100644
index 0000000..857fc7b
--- /dev/null
+++ b/src/frontend/components/Header/Header.tsx
@@ -0,0 +1,26 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+import CartIcon from '../CartIcon';
+import CurrencySwitcher from '../CurrencySwitcher';
+import * as S from './Header.styled';
+
+const Header = () => {
+ return (
+ <S.Header>
+ <S.NavBar>
+ <S.Container>
+ <S.NavBarBrand href="/">
+ <S.BrandImg />
+ </S.NavBarBrand>
+ <S.Controls>
+ <CurrencySwitcher />
+ <CartIcon />
+ </S.Controls>
+ </S.Container>
+ </S.NavBar>
+ </S.Header>
+ );
+};
+
+export default Header;