diff options
| author | Saumit <justsaumit@protonmail.com> | 2025-09-27 02:14:26 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2025-09-27 02:14:26 +0530 |
| commit | 82e03978b89938219958032efb1448cc76baa181 (patch) | |
| tree | 626f3e54d52ecd49be0ed3bee30abacc0453d081 /src/frontend/styles/Home.styled.ts | |
Initial snapshot - OpenTelemetry demo 2.1.3 -f
Diffstat (limited to 'src/frontend/styles/Home.styled.ts')
| -rw-r--r-- | src/frontend/styles/Home.styled.ts | 51 |
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%; + } + } +`; |
