From 82e03978b89938219958032efb1448cc76baa181 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 27 Sep 2025 02:14:26 +0530 Subject: Initial snapshot - OpenTelemetry demo 2.1.3 -f --- src/frontend/styles/Home.styled.ts | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/frontend/styles/Home.styled.ts (limited to 'src/frontend/styles/Home.styled.ts') 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%; + } + } +`; -- cgit v1.2.3