Skip to content

Commit

Permalink
feat: remove image and description from organisation page
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Dec 19, 2024
1 parent 1b3fe50 commit ad2537b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/pages/OrganisationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import useSWRV from "swrv";
import { ref, watchEffect } from "vue";
import { useRoute } from "vue-router";
import placeholderImage from "../assets/images/placeholder-organization.png";
import AppAlert from "../components/AppAlert.vue";
import BasicAlert from "../components/BasicAlert.vue";
import CaptionedLoadingSpinner from "../components/CaptionedLoadingSpinner.vue";
Expand Down Expand Up @@ -108,17 +107,6 @@
<AppAlert v-if="errorMessage" variant="error">
<p>{{ errorMessage }}</p>
</AppAlert>
<div v-if="organisation && organisation.image_url" class="max-w-[200px]">
<img
:src="organisation.image_url"
:alt="organisation.name"
@error="(event) => (event.target.src = placeholderImage)"
/>
</div>
<div v-if="organisation && organisation.description">
<h2>Description</h2>
<p>{{ organisation.description }}</p>
</div>
</div>

<CaptionedLoadingSpinner v-if="loading && !errorMessage">
Expand Down

0 comments on commit ad2537b

Please sign in to comment.