diff --git a/package.json b/package.json index 790365c..9d91d53 100644 --- a/package.json +++ b/package.json @@ -53,9 +53,11 @@ "react-dom": "^19.0.0", "react-hook-form": "^7.56.2", "react-icons": "^5.5.0", + "react-markdown": "^10.1.0", "react-resizable-panels": "^3.0.1", "react-router-dom": "^7.5.1", "react-scripts": "5.0.1", + "remark-gfm": "^4.0.1", "sonner": "^2.0.3", "tailwind-merge": "^3.2.0", "tailwindcss-animate": "^1.0.7", diff --git a/public/index.html b/public/index.html index d765e5c..05d5ccb 100644 --- a/public/index.html +++ b/public/index.html @@ -25,7 +25,6 @@ Learn how to configure a non-root public URL by running `npm run build`. --> LOAF - Lesbians Over Age Fifty - diff --git a/src/App.js b/src/App.js index b3c327b..e414a10 100644 --- a/src/App.js +++ b/src/App.js @@ -70,9 +70,12 @@ const PrivateRoute = ({ children, adminOnly = false }) => { }; function App() { + // Use /membership basename only in production + const basename = process.env.NODE_ENV === 'production' ? '/membership' : ''; + return ( - + } /> } /> diff --git a/src/pages/Landing.js b/src/pages/Landing.js index a30f9f4..75dc7c8 100644 --- a/src/pages/Landing.js +++ b/src/pages/Landing.js @@ -88,7 +88,7 @@ const Landing = () => { LOAF
- +