Skip to content

Commit

Permalink
path correction for images and links (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshulv1401 committed Aug 10, 2023
1 parent 39105d8 commit ab58843
Show file tree
Hide file tree
Showing 6 changed files with 638 additions and 638 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default function AppointmentConfirmation({ isOpen,
</div>
</div>
<div className="flex items-center justify-start p-2 ">
<Link to="/userprofile">
<Link to={process.env.PUBLIC_URL + "/userprofile"}>
<button className="bg-blue-500 hover:bg-blue-700 text-white left-0 p-2 m-2 font-bold rounded">
{t("home")}
</button>
Expand Down
2 changes: 1 addition & 1 deletion mock-relying-party-ui/src/components/BookAppointment.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function BookAppointment({
<img src="images/Schedule for Vaccination.jpeg"></img>
</div>
<div className="p-2 m-2">
<Link to="/userprofile">
<Link to={process.env.PUBLIC_URL + "/userprofile"}>
<button className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
{t("cancel")}
</button>
Expand Down
6 changes: 3 additions & 3 deletions mock-relying-party-ui/src/components/ProfileUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,18 @@ export default function ProfileUI({
{i18n.t(formattedDate)}
</p>
<p className="text-xs text-gray-500 truncate inline-flex whitespace-pre-wrap">
<img src="./../images/scheduleTime.png" className="h-4 w-4 ml-2 mr-2"></img>
<img src="images/scheduleTime.png" className="h-4 w-4 ml-2 mr-2"></img>
{data["time"]}
</p>
<div className="text-xs text-gray-500 truncate whitespace-pre-wrap inline-flex">
<img src="./../images/marker.png" className="h-4 w-4 ml-2 mr-2 mb-2"></img>
<img src="images/marker.png" className="h-4 w-4 ml-2 mr-2 mb-2"></img>
{t(data["location"])}
</div>
<div className="py-2">
<div className="flex">
<img
className="w-8 h-8 rounded-full shadow-lg"
src="./../images/doctor_logo.png"
src="images/doctor_logo.png"
alt="Jese Leos image"
/>
<div className="ml-3 mr-3">
Expand Down
Loading

0 comments on commit ab58843

Please sign in to comment.