diff --git a/src/app/components/Background.tsx b/src/app/components/Background.tsx index 7cb2f7e..d143acd 100644 --- a/src/app/components/Background.tsx +++ b/src/app/components/Background.tsx @@ -1,12 +1,18 @@ -const IFRAME_SRC = 'https://shubidumdu.github.io/sketchbook/pages/ocean/'; +type BackgroundType = 'ocean' | 'cloud' | 'bunny' | 'pollock'; -const Background = () => { +const IFRAME_BASE_URL = 'https://shubidumdu.github.io/sketchbook/pages/'; + +type BackgroundProps = { + type?: BackgroundType; +}; + +const Background = ({ type = 'ocean' }: BackgroundProps) => { return (