From 9cc502a4a1a3002683064e7696b439c1b8b22849 Mon Sep 17 00:00:00 2001 From: Suhaib Date: Thu, 16 Jan 2025 20:59:06 -0800 Subject: [PATCH] Add react files --- .gitignore | 2 + .../modules/front/views/layouts/searchbox.php | 8 +- public/reactbuild/bundle.js | 2 + public/reactbuild/bundle.js.LICENSE.txt | 39 + react/.babelrc | 3 + react/components/SearchComponent.jsx | 25 + react/package-lock.json | 6212 +++++++++++++++++ react/package.json | 26 + react/webpack.config.js | 30 + 9 files changed, 6342 insertions(+), 5 deletions(-) create mode 100644 public/reactbuild/bundle.js create mode 100644 public/reactbuild/bundle.js.LICENSE.txt create mode 100644 react/.babelrc create mode 100644 react/components/SearchComponent.jsx create mode 100644 react/package-lock.json create mode 100644 react/package.json create mode 100644 react/webpack.config.js diff --git a/.gitignore b/.gitignore index 4aa62d54..c0be0156 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ .env.local **gz + +react/node_modules/* \ No newline at end of file diff --git a/application/modules/front/views/layouts/searchbox.php b/application/modules/front/views/layouts/searchbox.php index 638541e9..9ef1fa65 100644 --- a/application/modules/front/views/layouts/searchbox.php +++ b/application/modules/front/views/layouts/searchbox.php @@ -5,14 +5,12 @@ else $stextval = ""; } ?> - +