Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .gitignore
Binary file not shown.
13 changes: 9 additions & 4 deletions admin/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';

// https://vitejs.dev/config/
export default defineConfig({
Expand All @@ -10,4 +10,9 @@ export default defineConfig({
"@": path.resolve(__dirname, "./src"),
},
},
})
server: {
proxy: {
'/api': 'http://localhost:5000', // Change 5000 to your backend port
},
},
});
2 changes: 1 addition & 1 deletion user/src/components/Grievances.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Grievances = () => {
</div>

{/* Action Cards */}
<div className="max-w-5xl mx-auto flex flex-col justify-center gap-8 py-16 md:flex-row items-center bg-white dark:bg-gray-800 transition-colors duration-300">
<div className="max-w-7xl mx-auto flex flex-col justify-center gap-8 py-16 md:flex-row items-center bg-white dark:bg-gray-800 transition-colors duration-300 mb-12">

{/* Lodge Grievance */}
<div
Expand Down
4 changes: 2 additions & 2 deletions user/src/components/ScrollToBottom.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const ScrollToBottom = () => {
>
{/* SVG with three chevrons for the cascade animation */}
<svg
width="24"
height="24"
width="32"
height="32"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down
4 changes: 2 additions & 2 deletions user/src/components/ScrollToTop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const ScrollToTop = () => {
>
{/* SVG with two upward-pointing chevrons */}
<svg
width="24"
height="24"
width="32"
height="32"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion user/src/components/pages/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const About = () => {
<img
src={about}
alt="About SaralSeva"
className='w-full h-auto rounded-2xl shadow-xl dark:shadow-black/50 hover:scale-105 transition-transform duration-300'
className='w-full h-auto rounded-2xl shadow-xl dark:shadow-black/50 hover:scale-105 transition-transform duration-300 border-2 border-orange-200'
data-tooltip-id="about-img-tooltip"
data-tooltip-content="SaralSeva provides a unified digital platform for governance."
/>
Expand Down
1 change: 1 addition & 0 deletions user/src/components/pages/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const Footer = () => {

return (
<footer className="bg-orange-950 dark:bg-gray-900 text-orange-200 dark:text-gray-300">
<hr className="border-t-4 border-orange-900 dark:border-gray-800 mb-4" />
<div className="container mx-auto px-5 py-16">
<div className="flex flex-wrap md:text-left text-center order-first">

Expand Down
5 changes: 5 additions & 0 deletions user/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ export default defineConfig({
"@": path.resolve(__dirname, "./src"),
},
},
server: {
proxy: {
'/api': 'http://localhost:5000', // Change 5000 if your backend runs on a different port
},
},
})