From f60e81560c3299219095ce056d5fa34e1b5c5d6b Mon Sep 17 00:00:00 2001
From: Padmaja <52911293+padms@users.noreply.github.com>
Date: Fri, 16 Feb 2024 16:22:23 +0530
Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Alignment=20#2014?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sanityv3/icons/customIcons.tsx | 65 +++++++++
sanityv3/schemas/index.js | 2 +
.../schemas/objects/background/background.tsx | 40 +++---
.../objects/background/imageBackground.tsx | 76 +++++++++++
sanityv3/schemas/objects/textBlock.tsx | 11 +-
.../src/Backgrounds/BackgroundContainer.tsx | 8 +-
.../src/Backgrounds/ColouredContainer.tsx | 1 +
.../Backgrounds/ImageBackgroundContainer.tsx | 127 ++++++++++++------
web/lib/queries/common/background.ts | 5 +-
web/types/types.ts | 9 +-
10 files changed, 272 insertions(+), 72 deletions(-)
create mode 100644 sanityv3/schemas/objects/background/imageBackground.tsx
diff --git a/sanityv3/icons/customIcons.tsx b/sanityv3/icons/customIcons.tsx
index 77a0712b6..c4800efd2 100644
--- a/sanityv3/icons/customIcons.tsx
+++ b/sanityv3/icons/customIcons.tsx
@@ -88,6 +88,71 @@ export const LeftAlignedImage = (): JSX.Element => (
)
+export const ContentCenterImage = (): JSX.Element => (
+
+)
+export const ContentLeftImage = (): JSX.Element => (
+
+)
+
+export const ContentRightImage = (): JSX.Element => (
+
+)
+
export const RightAlignedImage = (): JSX.Element => (