Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanyam-2026 committed Jan 21, 2024
1 parent 5170d74 commit ec608c3
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
Binary file modified public/assets/1_iips.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/2_iips_meme.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/assets/3_iips-hostel.jpg
Binary file not shown.
Binary file added public/assets/3_iips-hostel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/4_iips.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/iips-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/my-img.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/DashboardComponents/ShowItems/ShowItems.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const ShowItems = ({ title, items, type }) => {
onClick={() => handleClick(item.docId)}
onContextMenu={(event) => handleRightClick(event, item.docId)}
>
<img src={type === 'file' ? "../../../../public/assets/file-icon.png" : "../../../../public/assets/folder-icon.png"} alt={type === 'file' ? "File Icon" : "Folder Icon"} />
<img src={type === 'file' ? "/assets/file-icon.png" : "/assets/folder-icon.png"} alt={type === 'file' ? "File Icon" : "Folder Icon"} />
<span>{item.data?.name}</span>
</div>
))}
Expand Down
10 changes: 5 additions & 5 deletions src/components/Navbar/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Navbar = () => {
</Link>
)}

<img src="../../../../public/assets/home-icon.png" alt="Home" />
<img src="/assets/home-icon.png" alt="Home" />
</li>


Expand All @@ -60,7 +60,7 @@ const Navbar = () => {
<button className='logout-btn' onClick={() => dispatch(signOutUser())}>

Logout
<img src="../../../public/assets/log-out.png" alt="log out" width="70px" />
<img src="/assets/log-out.png" alt="log out" width="70px" />

</button>
</li>
Expand All @@ -69,7 +69,7 @@ const Navbar = () => {
<li className='nav-item'>
<p className='user-welcome'>
<span className='user-name'>{user.displayName?.toUpperCase()}</span>
<img className='user-icon' src="../../../../public/assets/user-icon.png" alt="Admin" />
<img className='user-icon' src="/assets/user-icon.png" alt="Admin" />
</p>
</li>
)}
Expand All @@ -79,13 +79,13 @@ const Navbar = () => {
<li className='nav-item'>
<Link className='login-btn' to='/login'>
Sign In
<img src="../../../public/assets/sign-in_icon.png" alt="Sign In" width="70px" />
<img src="/assets/sign-in_icon.png" alt="Sign In" width="70px" />
</Link>
</li>
<li className='nav-item'>
<Link className='register-btn' to='/Register'>
Sign Up
<img src="../../../public/assets/sign-up_icon.jpg" alt="Sign In" width="70px" />
<img src="/assets/sign-up_icon.jpg" alt="Sign In" width="70px" />
</Link>
</li>
</>
Expand Down
10 changes: 5 additions & 5 deletions src/pages/AboutUs/Aboutus.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const AboutUs = () => {

<a href="https://www.linkedin.com/in/sanyam-jain-874892201/" target='_blank'>
<img
src="../../../public/assets/linkedin.svg"
src="/assets/linkedin.svg"
alt="LinkedIn"
className='social-links-icon'
/>
</a>
<a href="https://github.com/Sanyam-2026" target='_blank'>
<img
src="../../../public/assets/github.svg"
src="/assets/github.svg"
alt="GitHub"
className='social-links-icon'
/>
Expand All @@ -36,20 +36,20 @@ const AboutUs = () => {
</div>

<div className="team-member">
<img src="../../public/assets/ashish-img.jpg" alt="Ashish Rai" />
<img src="/assets/ashish-img.jpg" alt="Ashish Rai" />
<h3>Ashish Rai</h3>
<div className="social-links">
{/* Add your friend's social media links */}
<a href="https://www.linkedin.com/in/ashish-rai-404-error/" target='_blank'>
<img
src="../../../public/assets/linkedin.svg"
src="/assets/linkedin.svg"
alt="LinkedIn"
className='social-links-icon'
/>
</a>
<a href="https://github.com/ashishrair500" target='_blank'>
<img
src="../../../public/assets/github.svg"
src="/assets/github.svg"
alt="GitHub"
className='social-links-icon'
/>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Contributors/Contributor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ const Contributor = () => {
<td>{contributor.name}</td>
<td>
<a href={contributor.linkedin} target="_blank" rel="noopener noreferrer">
<img src="../../../public/assets/linkedin.svg" alt="LinkedIn" width="auto" height="35" />
<img src="/assets/linkedin.svg" alt="LinkedIn" width="auto" height="35" />
</a>
</td>
<td>
<a href={contributor.github} target="_blank" rel="noopener noreferrer">
<img src="../../../public/assets/github.svg" alt="GitHub" width="auto" height="40" />
<img src="/assets/github.svg" alt="GitHub" width="auto" height="40" />
</a>
</td>
</tr>
Expand Down
12 changes: 6 additions & 6 deletions src/pages/HomePage/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const HomePage = () => {
<div className='image-container'>
<img

src="../../../public/assets/iips-logo.png"
src="/assets/iips-logo.png"
loading="lazy"
alt="IIPS Logo"
className='logo-image'
Expand All @@ -63,10 +63,10 @@ const HomePage = () => {
<div className='carousel'>


<img src="../../../public/assets/1_iips.jpg" alt="IIPS" loading="lazy" />
<img src="../../../public/assets/2_iips_meme.jpg" alt="IIPS" loading="lazy" />
<img src="../../../public/assets/3_iips-hostel.jpg" alt="IIPS" loading="lazy" />
<img src="../../../public/assets/4_iips.jpg" alt="IIPS" loading="lazy" />
<img src="/assets/1_iips.jpg" alt="IIPS" loading="lazy" />
<img src="/assets/2_iips_meme.jpg" alt="IIPS" loading="lazy" />
<img src="/assets/3_iips-hostel.png" alt="IIPS" loading="lazy" />
<img src="/assets/4_iips.jpg" alt="IIPS" loading="lazy" />

</div>
</div>
Expand All @@ -75,7 +75,7 @@ const HomePage = () => {
<a href="https://www.linkedin.com/school/iips-davv/" target="_blank" className='iips-linkedin'
>@International Institute of Professional Studies

<img src="../../../public/assets/linkedin-logo.jpg"loading="lazy" ></img>
<img src="/assets/linkedin-logo.jpg"loading="lazy" ></img>

</a>

Expand Down

0 comments on commit ec608c3

Please sign in to comment.