Loading pet details...
} + {error &&{error}
} + + {!loading && !error && pet && ( +Loading pet details...
} + {error &&{error}
} + + {!loading && !error && pet && ( +Give a loving pet their forever home
+ +Loading pets...
} + + {error && ( +Failed to load pets
+{error}
+ + {health === "offline" + ? "The Spring Boot backend is not reachable. Make sure it is running in IntelliJ on port 8080." + : health === "error" + ? "The backend responded with an error. Check the IntelliJ Run console for stack traces." + : "The backend is reachable but the /pets endpoint failed. Check the IntelliJ Run console."} +
+No pets found.
+ )} + + {!loading && !error && pets.length > 0 && ( +Your One-Stop Shop for All Things Pets
{petSpecies}
+ + {petStatus} + ++ Interested in adopting {petName}? Visit us in store or schedule an appointment. +
+ + Schedule an Appointment + +