Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import styled from 'styled-components';

import BackgroundImage from '@/assets/background.svg';

export const LayoutContainer = styled.div`
position: relative;
width: 100%;
Expand All @@ -15,7 +17,7 @@ export const Background = styled.div`
width: 100vw;
height: 100vh;

background-image: url('/src/assets/background.svg');
background-image: url(${BackgroundImage});
background-repeat: no-repeat;
background-size: cover;
`;
Expand Down
9 changes: 6 additions & 3 deletions src/frontend/src/pages/LandingPage/styles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import styled from 'styled-components';

import LandingBackgroundImage from '@/assets/landingBackground.png';
import LandingPreview from '@/assets/landingPreview.webp';
import LandingStars from '@/assets/landingStars.webp';
import { BodyRegularText, DisplayText } from '@/styles/Typography';

export const PageContainer = styled.div`
Expand All @@ -9,7 +12,7 @@ export const PageContainer = styled.div`

width: 100%;

background-image: url('/src/assets/landingBackground.png');
background-image: url(${LandingBackgroundImage});
background-repeat: no-repeat;
background-position: 0 1%;
background-size: cover;
Expand All @@ -25,7 +28,7 @@ export const DescriptionContainer = styled.div`
padding: 0 4rem;
padding-top: 10rem;

background-image: url('/src/assets/landingStars.webp');
background-image: url(${LandingStars});
background-repeat: no-repeat;
background-size: 90%;
`;
Expand Down Expand Up @@ -56,7 +59,7 @@ export const PreviewImageWrapper = styled.div`
max-width: 60rem;
min-height: 50rem;

background-image: url('/src/assets/landingPreview.webp');
background-image: url(${LandingPreview});
background-repeat: no-repeat;
background-position: 50%;
background-size: contain;
Expand Down
3 changes: 2 additions & 1 deletion src/frontend/src/pages/LoginPage/styles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { motion } from 'motion/react';
import styled from 'styled-components';

import QRCodeAssetImage from '@/assets/qrcode.svg';
import {
BodyMediumText,
BodyRegularText,
Expand Down Expand Up @@ -146,7 +147,7 @@ export const QRCodeWrapper = styled.div`
export const QRCodeImage = styled.div`
width: 100%;
height: 100%;
background-image: url('/src/assets/qrcode.svg');
background-image: url(${QRCodeAssetImage});
background-size: cover;
`;

Expand Down