asset path correction
This commit is contained in:
+4
-2
@@ -1,4 +1,6 @@
|
||||
import { useEffect, useRef, useState, Component } from 'react';
|
||||
|
||||
const BASE = import.meta.env.BASE_URL;
|
||||
import {
|
||||
LayoutDashboard,
|
||||
Sparkles,
|
||||
@@ -93,7 +95,7 @@ function LoginPreview() {
|
||||
return (
|
||||
<div className="login-preview">
|
||||
<div className="login-preview-intro">
|
||||
<img src="/assets/cavin_logo.svg" alt="Cavin Infotech" />
|
||||
<img src={`${BASE}assets/cavin_logo.svg`} alt="Cavin Infotech" />
|
||||
<div>
|
||||
<h1>Content <span>Manager</span></h1>
|
||||
<p>Preview the live website before you sign in. Edits publish instantly after login.</p>
|
||||
@@ -501,7 +503,7 @@ export default function App() {
|
||||
|
||||
<aside className={`admin-sidebar ${sidebarOpen ? 'open' : ''}`}>
|
||||
<div className="admin-sidebar-brand">
|
||||
<img src="/assets/cavin_logo.svg" alt="Cavin Infotech" />
|
||||
<img src={`${BASE}assets/cavin_logo.svg`} alt="Cavin Infotech" />
|
||||
<h2>Content Manager</h2>
|
||||
<p>Cavin Infotech Website</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user