Skip to content

Commit

Permalink
Merge pull request #39 from ravikumawat7716/main
Browse files Browse the repository at this point in the history
image rendering issue resolved
  • Loading branch information
SundarbansIITM authored Feb 22, 2024
2 parents 4a71be2 + d7264ec commit 9fa48c2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/components/CouncilPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
>
<img
class="object-cover w-full h-56"
:src="admins[0].image_url"
:src="prependBackendLink(admins[0].image)"
alt="avatar"
>
<div class="py-5 text-center">
Expand All @@ -81,7 +81,7 @@
>
<img
class="object-cover w-full h-56"
:src="admins[1].image_url"
:src="prependBackendLink(admins[1].image)"
alt="avatar"
>
<div class="py-5 text-center">
Expand Down Expand Up @@ -126,7 +126,7 @@
>
<img
class="object-cover w-full h-56"
:src="g_l.image_url"
:src="prependBackendLink(g_l.image)"
alt="avatar"
>

Expand Down Expand Up @@ -172,7 +172,7 @@
>
<img
class="object-cover w-32 h-32 rounded-full ring-4 ring-gray-300"
:src="wops.image_url"
:src="prependBackendLink(wops.image)"
alt="avatar"
>

Expand Down Expand Up @@ -200,7 +200,7 @@
<p
class="max-w-2xl mx-auto my-6 text-center text-gray-500 dark:text-gray-300"
>
Meet the Team Behind All the Social Media Posts, Event Poters Design.
Meet the Team Behind All the Social Media Posts, Event Posters Design.
</p>

<div
Expand All @@ -213,7 +213,7 @@
>
<img
class="object-cover w-32 h-32 rounded-full ring-4 ring-gray-300"
:src="designer.image_url"
:src="prependBackendLink(designer.image)"
alt="avatar"
>

Expand Down Expand Up @@ -249,9 +249,14 @@ export default {
graphics: [],
};
},
methods:{
prependBackendLink(url) {
return `${this.$globalData.backendUrl}` + url;
},
},
async mounted() {
try {
const response = await axios.get('https://sundarbans.camlio.shop/council');
const response = await axios.get(`${this.$globalData.backendUrl}/council`);
const data = response.data;
// Use only the specified parts of the response
Expand Down

1 comment on commit 9fa48c2

@vercel
Copy link

@vercel vercel bot commented on 9fa48c2 Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sundarbans – ./

sundarbans-sundarbans-projects.vercel.app
sundarbans-git-main-sundarbans-projects.vercel.app

Please sign in to comment.