Skip to content

Commit

Permalink
Website: Add phishing page
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRockettek committed Jul 30, 2024
1 parent f449848 commit f8e5249
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
1 change: 1 addition & 0 deletions website/app/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export const IsDevelopment = true;

export const LinkSupportServer = "https://discord.gg/UyUVCEcBU9";
export const LinkYoutubeChannel = "";
export const LinkPhishing = "https://discord.com/safety/common-scams-what-to-look-out-for";

const primaryBotId = "330416853971107840";
const betaBotId = "342685807221407744";
Expand Down
9 changes: 6 additions & 3 deletions website/app/src/pages/GuildSelector.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="flex-1 focus:outline-none bg-white dark:bg-secondary">
<main class="relative z-0 flex-1 min-h-full pb-8">
<div class="font-medium pb-20">
<main class="z-0 flex-1">
<div class="font-medium pb-20 min-h-screen">
<div class="dashboard-container">
<div class="dashboard-title-container">
<div class="dashboard-title">My Guilds</div>
Expand Down Expand Up @@ -82,11 +82,14 @@
</div>
</div>
</div>

<Footer />
</main>
</div>
</template>

<script>
import Footer from "@/components/Footer.vue";
import { ChevronRightIcon, PlusIcon } from "@heroicons/vue/outline";
import FormValue from "@/components/dashboard/FormValue.vue";
import LoadingIcon from "@/components/LoadingIcon.vue";
Expand All @@ -98,7 +101,7 @@ import {
} from "@/constants";
export default {
components: { FormValue, ChevronRightIcon, LoadingIcon, PlusIcon },
components: { FormValue, ChevronRightIcon, LoadingIcon, PlusIcon, Footer },
setup() {
store.dispatch("fetchGuilds");
},
Expand Down
12 changes: 12 additions & 0 deletions website/app/src/pages/Phishing.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<template>
</template>

<script>
import { LinkPhishing } from '@/constants';
export default {
setup() {
window.location.replace(LinkPhishing);
},
};
</script>
6 changes: 6 additions & 0 deletions website/app/src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Premium from "@/pages/Premium.vue";
import Invite from "@/pages/Invite.vue";
import Dashboard from "@/pages/Dashboard.vue";
import Support from "@/pages/Support.vue";
import Phishing from "@/pages/Phishing.vue";

const routes = [
{
Expand All @@ -27,6 +28,11 @@ const routes = [
name: "support",
component: Support,
},
{
path: "/phishing",
name: "phishing",
component: Phishing,
},
{
path: "/backgrounds",
name: "backgrounds",
Expand Down

0 comments on commit f8e5249

Please sign in to comment.