path correction

This commit is contained in:
sandhiya-hepl
2026-07-20 12:58:36 +05:30
parent ee590f8d81
commit bc4c4f22ca
22 changed files with 27 additions and 26 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>CITPL Admin</title>
<script type="module" crossorigin src="/citpl_website/assets/admin-CSMXWGox.js"></script>
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-BGySr-Oa.js">
<script type="module" crossorigin src="/citpl_website/assets/admin-HxoFqfhF.js"></script>
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-gyvy4NrT.js">
<link rel="stylesheet" crossorigin href="/citpl_website/assets/admin-yhMCgkf-.css">
</head>
<body>
+1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
-1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
-1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{r as i,t as a}from"./App-DSMPVYfs.js";var o=n(r(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{r as i,t as a}from"./App-BAlDiH2W.js";var o=r(n(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{r as i,t as a}from"./App-DSMPVYfs.js";var o=n(r(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{r as i,t as a}from"./App-BAlDiH2W.js";var o=r(n(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
+1 -1
View File
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{r as i,t as a}from"./App-DSMPVYfs.js";var o=n(r(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{r as i,t as a}from"./App-BAlDiH2W.js";var o=r(n(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
+1 -1
View File
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{r as i,t as a}from"./App-DSMPVYfs.js";var o=n(r(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{r as i,t as a}from"./App-BAlDiH2W.js";var o=r(n(),1),s=t(),c=e();(0,s.createRoot)(document.getElementById(`root`)).render((0,c.jsx)(o.StrictMode,{children:(0,c.jsx)(i,{children:(0,c.jsx)(a,{})})}));
+1 -1
View File
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{n as i,r as a,t as o}from"./App-DSMPVYfs.js";var s=n(r(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{n as i,r as a,t as o}from"./App-BAlDiH2W.js";var s=r(n(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
+1 -1
View File
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{n as i,r as a,t as o}from"./App-DSMPVYfs.js";var s=n(r(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{n as i,r as a,t as o}from"./App-BAlDiH2W.js";var s=r(n(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
+1 -1
View File
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{n as i,r as a,t as o}from"./App-DSMPVYfs.js";var s=n(r(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{n as i,r as a,t as o}from"./App-BAlDiH2W.js";var s=r(n(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
@@ -1 +1 @@
import{c as e,l as t,m as n,u as r}from"./x-BGySr-Oa.js";import{n as i,r as a,t as o}from"./App-DSMPVYfs.js";var s=n(r(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
import{c as e,d as t,f as n,g as r}from"./x-gyvy4NrT.js";import{n as i,r as a,t as o}from"./App-BAlDiH2W.js";var s=r(n(),1),c=t(),l=e();function u(){return(0,s.useEffect)(()=>(document.body.classList.add(`admin-preview-embed`),()=>document.body.classList.remove(`admin-preview-embed`)),[]),(0,l.jsx)(o,{previewMode:!0})}(0,c.createRoot)(document.getElementById(`root`)).render((0,l.jsx)(s.StrictMode,{children:(0,l.jsx)(i.Provider,{value:!0,children:(0,l.jsx)(a,{previewMode:!0,children:(0,l.jsx)(u,{})})})}));
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -8,9 +8,9 @@
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Cavin Infotech | One Trusted Technology Partner</title>
<script type="module" crossorigin src="/citpl_website/assets/main-DDe1Epiy.js"></script>
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-BGySr-Oa.js">
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-DSMPVYfs.js">
<script type="module" crossorigin src="/citpl_website/assets/main-CVVqQI0V.js"></script>
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-gyvy4NrT.js">
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-BAlDiH2W.js">
<link rel="stylesheet" crossorigin href="/citpl_website/assets/App-DpUt8oMg.css">
</head>
<body>
+3 -3
View File
@@ -7,9 +7,9 @@
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>CITPL Preview</title>
<script type="module" crossorigin src="/citpl_website/assets/preview-gug_t9LZ.js"></script>
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-BGySr-Oa.js">
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-DSMPVYfs.js">
<script type="module" crossorigin src="/citpl_website/assets/preview-zh4TDIbq.js"></script>
<link rel="modulepreload" crossorigin href="/citpl_website/assets/x-gyvy4NrT.js">
<link rel="modulepreload" crossorigin href="/citpl_website/assets/App-BAlDiH2W.js">
<link rel="stylesheet" crossorigin href="/citpl_website/assets/App-DpUt8oMg.css">
<link rel="stylesheet" crossorigin href="/citpl_website/assets/preview-DknkzKsF.css">
</head>
+3 -2
View File
@@ -1,6 +1,7 @@
import { useState } from 'react';
import { Upload, Plus, Trash2 } from 'lucide-react';
import { adminApi } from '../api';
import { assetUrl } from '../../lib/assetUrl';
export function ImageUpload({ value, onChange, label = 'Image' }) {
const [uploading, setUploading] = useState(false);
@@ -25,9 +26,9 @@ export function ImageUpload({ value, onChange, label = 'Image' }) {
{value && (
<div className="form-preview">
{value.match(/\.(mp4|webm)$/i) ? (
<video src={value} controls />
<video src={assetUrl(value)} controls />
) : (
<img src={value} alt="" />
<img src={assetUrl(value)} alt="" />
)}
</div>
)}