Skip to content

Commit

Permalink
added common Whatsapp group button
Browse files Browse the repository at this point in the history
  • Loading branch information
ravikumawat7716 committed Feb 21, 2024
1 parent aeda1ee commit 988a0ab
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions src/components/UserPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,22 @@
</button>
</a>
</div>

<div
v-if="GroupUrl2 && GroupUrl2.length > 0"
class="mt-6"
>
<a
:href="GroupUrl2"
target="_blank"
>
<button
class="w-full px-6 py-3 text-sm font-medium tracking-wide text-black capitalize transition-colors duration-300 transform bg-gray-200 rounded-lg hover:bg-gray-400 focus:outline-none focus:ring focus:ring-gray-300 focus:ring-opacity-50"
>
Common Group
</button>
</a>
</div>
</div>


Expand Down Expand Up @@ -142,6 +158,7 @@ export default {
userDetails: null,
GroupId: null,
GroupUrl: null,
GroupUrl2: null,
GLmail: null,
};
},
Expand Down Expand Up @@ -172,6 +189,7 @@ export default {
if (result.data.success) {
this.GroupId = result.data.GroupId;
this.GroupUrl = result.data.link;
this.GroupUrl2 = result.data.link2;
this.GLmail = result.data.gl_email;
}
} catch (error) {
Expand Down
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const storedUserDetails = localStorage.getItem('userDetails');
userDetail = JSON.parse(storedUserDetails);
}
const globalData = {
backendUrl: "https://sundarbans.camlio.shop",
// backendUrl: "http://127.0.0.1:8000",
// backendUrl: "https://sundarbans.camlio.shop",
backendUrl: "http://127.0.0.1:8000",
userDetails : userDetail
};

Expand Down

1 comment on commit 988a0ab

@vercel
Copy link

@vercel vercel bot commented on 988a0ab Feb 21, 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.