Skip to content

Commit

Permalink
fix image imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyanthropos committed Apr 4, 2023
1 parent ed43229 commit fc2fbc3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Tools/_framework/Logo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { pageToolViewAtom } from './NewToolRoot';

const LogoButton = styled.button`
background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
url('./Doenet_Logo_cloud_only.png');
url('/Doenet_Logo_cloud_only.png');
background-position: center;
background-repeat: no-repeat;
background-size: 50px 25px;
Expand Down
2 changes: 1 addition & 1 deletion src/Tools/_framework/ToolPanels/ChooseLearnerPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export default function ChooseLearnerPanel(props) {
<img
style={{ width: '250px', height: '250px' }}
alt="Doenet Logo"
src={'/media/Doenet_Logo_Frontpage.png'}
src={'/Doenet_Logo_Frontpage.png'}
/>
<div style={{ leftPadding: "10px" }}>
<label>
Expand Down
2 changes: 1 addition & 1 deletion src/Tools/_framework/ToolPanels/EndExamPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default function EndExamPanel() {
<img
style={{ width: '250px', height: '250px' }}
alt="Doenet Logo"
src={'/media/Doenet_Logo_Frontpage.png'}
src={'/Doenet_Logo_Frontpage.png'}
/>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/Tools/_framework/ToolPanels/HomePanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function HomePage(props) {

return <div style = {props.style}>
<DoenetLogo>
<DoenetImage alt="Doenet logo showing donut in front of a cloud" src={'./Doenet_Logo_Frontpage.png'} />
<DoenetImage alt="Doenet logo showing donut in front of a cloud" src={'/Doenet_Logo_Frontpage.png'} />
</DoenetLogo>
<CloudColorSection>
<SectionText>
Expand Down
2 changes: 1 addition & 1 deletion src/Tools/_framework/ToolPanels/SignIn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export default function SignIn(props) {
<img
style={{ width: '250px', height: '250px' }}
alt="Doenet Logo"
src={'/media/Doenet_Logo_Frontpage.png'}
src={'/Doenet_Logo_Frontpage.png'}
/>
<div>
<p style={{ marginLeft: '2px' }}>
Expand Down
6 changes: 3 additions & 3 deletions src/Tools/_framework/ToolPanels/SignOut.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function SignOut() {
>
<img
style={{ width: '250px', height: '250px' }}
src={'/media/Doenet_Logo_Frontpage.png'}
src={'/Doenet_Logo_Frontpage.png'}
alt={
'Chocolate glazed donut on a white cartoon cloud, sitting on a sky blue circle background'
}
Expand Down Expand Up @@ -78,7 +78,7 @@ export default function SignOut() {
>
<img
style={{ width: '250px', height: '250px' }}
src={'/media/Doenet_Logo_Frontpage.png'}
src={'/Doenet_Logo_Frontpage.png'}
alt={
'Chocolate glazed donut on a white cartoon cloud, sitting on a sky blue circle background'
}
Expand Down Expand Up @@ -110,7 +110,7 @@ export default function SignOut() {
>
<img
style={{ width: '250px', height: '250px' }}
src={'/media/Doenet_Logo_Frontpage.png'}
src={'/Doenet_Logo_Frontpage.png'}
alt={
'Chocolate glazed donut on a white cartoon cloud, sitting on a sky blue circle background'
}
Expand Down
2 changes: 1 addition & 1 deletion src/Tools/_framework/temp/UserProfile.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component, useState } from 'react';
import './header.css';
import doenetImage from './Doenet_Logo_cloud_only.png';
import doenetImage from '/Doenet_Logo_cloud_only.png';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
faTh,
Expand Down

0 comments on commit fc2fbc3

Please sign in to comment.