summaryrefslogtreecommitdiff
path: root/src/frontend/styles/Home.styled.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/styles/Home.styled.ts')
-rw-r--r--src/frontend/styles/Home.styled.ts51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/frontend/styles/Home.styled.ts b/src/frontend/styles/Home.styled.ts
new file mode 100644
index 0000000..d1a0d14
--- /dev/null
+++ b/src/frontend/styles/Home.styled.ts
@@ -0,0 +1,51 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+import styled from 'styled-components';
+
+export const Container = styled.div`
+ width: 100%;
+ padding: 0 20px;
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ padding: 0 100px;
+ }
+`;
+
+export const Row = styled.div`
+ display: flex;
+ flex-wrap: wrap;
+ width: 100%;
+`;
+
+export const Content = styled.div`
+ width: 100%;
+ ${({ theme }) => theme.breakpoints.desktop} {
+ margin-top: 100px;
+ }
+`;
+
+export const HotProducts = styled.div`
+ margin-bottom: 20px;
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ margin-bottom: 100px;
+ }
+`;
+
+export const HotProductsTitle = styled.h1`
+ font-size: ${({ theme }) => theme.sizes.mLarge};
+ font-weight: ${({ theme }) => theme.fonts.bold};
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ font-size: ${({ theme }) => theme.sizes.dxLarge};
+ }
+`;
+
+export const Home = styled.div`
+ @media (max-width: 992px) {
+ ${Content} {
+ width: 100%;
+ }
+ }
+`;