File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
components/layout/PublicOnlyLayout Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11import styled from 'styled-components' ;
22
3+ import BackgroundImage from '@/assets/background.svg' ;
4+
35export const LayoutContainer = styled . div `
46 position: relative;
57 width: 100%;
@@ -15,7 +17,7 @@ export const Background = styled.div`
1517 width: 100vw;
1618 height: 100vh;
1719
18- background-image: url('/src/assets/background.svg' );
20+ background-image: url(${ BackgroundImage } );
1921 background-repeat: no-repeat;
2022 background-size: cover;
2123` ;
Original file line number Diff line number Diff line change 11import styled from 'styled-components' ;
22
3+ import LandingBackgroundImage from '@/assets/landingBackground.png' ;
4+ import LandingPreview from '@/assets/landingPreview.webp' ;
5+ import LandingStars from '@/assets/landingStars.webp' ;
36import { BodyRegularText , DisplayText } from '@/styles/Typography' ;
47
58export const PageContainer = styled . div `
@@ -9,7 +12,7 @@ export const PageContainer = styled.div`
912
1013 width: 100%;
1114
12- background-image: url('/src/assets/landingBackground.png' );
15+ background-image: url(${ LandingBackgroundImage } );
1316 background-repeat: no-repeat;
1417 background-position: 0 1%;
1518 background-size: cover;
@@ -25,7 +28,7 @@ export const DescriptionContainer = styled.div`
2528 padding: 0 4rem;
2629 padding-top: 10rem;
2730
28- background-image: url('/src/assets/landingStars.webp' );
31+ background-image: url(${ LandingStars } );
2932 background-repeat: no-repeat;
3033 background-size: 90%;
3134` ;
@@ -56,7 +59,7 @@ export const PreviewImageWrapper = styled.div`
5659 max-width: 60rem;
5760 min-height: 50rem;
5861
59- background-image: url('/src/assets/landingPreview.webp' );
62+ background-image: url(${ LandingPreview } );
6063 background-repeat: no-repeat;
6164 background-position: 50%;
6265 background-size: contain;
Original file line number Diff line number Diff line change 11import { motion } from 'motion/react' ;
22import styled from 'styled-components' ;
33
4+ import QRCodeAssetImage from '@/assets/qrcode.svg' ;
45import {
56 BodyMediumText ,
67 BodyRegularText ,
@@ -146,7 +147,7 @@ export const QRCodeWrapper = styled.div`
146147export const QRCodeImage = styled . div `
147148 width: 100%;
148149 height: 100%;
149- background-image: url('/src/assets/qrcode.svg' );
150+ background-image: url(${ QRCodeAssetImage } );
150151 background-size: cover;
151152` ;
152153
You can’t perform that action at this time.
0 commit comments