From 984272c7a725c218da7167ce8a561e8a92062a81 Mon Sep 17 00:00:00 2001 From: Kevin O'Connell Date: Fri, 30 Aug 2024 11:41:14 -0400 Subject: [PATCH] make backgrounds better --- public/background-horizontal.svg | 110 +++++++++++++++++++++++++++++++ public/background-vertical.svg | 101 ++++++++++++++++++++++++++++ src/app/layout.tsx | 4 +- 3 files changed, 213 insertions(+), 2 deletions(-) create mode 100644 public/background-horizontal.svg create mode 100644 public/background-vertical.svg diff --git a/public/background-horizontal.svg b/public/background-horizontal.svg new file mode 100644 index 0000000..df3bf2f --- /dev/null +++ b/public/background-horizontal.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/background-vertical.svg b/public/background-vertical.svg new file mode 100644 index 0000000..d3dce82 --- /dev/null +++ b/public/background-vertical.svg @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 680be22..fdaf440 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -34,9 +34,9 @@ export default function RootLayout({ const getBackgroundImage = () => { if (pathname === '/') { - return 'url(/homebackground.png)'; + return 'url(/background-horizontal.svg)'; } - return 'url(/searchbackground.png)'; + return 'url(/background-vertical.svg)'; }; return (