diff --git a/fe_calckey/frontend/calckey-js/src/api.types.ts b/fe_calckey/frontend/calckey-js/src/api.types.ts
index 6825cf4..1ebc95f 100644
--- a/fe_calckey/frontend/calckey-js/src/api.types.ts
+++ b/fe_calckey/frontend/calckey-js/src/api.types.ts
@@ -947,9 +947,6 @@ export type Endpoints = {
// pinned-users
"pinned-users": { req: TODO; res: TODO };
- // promo
- "promo/read": { req: TODO; res: TODO };
-
// request-reset-password
"request-reset-password": {
req: { username: string; email: string };
diff --git a/fe_calckey/frontend/client/src/components/MagNote.vue b/fe_calckey/frontend/client/src/components/MagNote.vue
index bfe87f0..910bda7 100644
--- a/fe_calckey/frontend/client/src/components/MagNote.vue
+++ b/fe_calckey/frontend/client/src/components/MagNote.vue
@@ -25,14 +25,6 @@
}"
>
{{ i18n.ts.featured }}
@@ -517,13 +509,6 @@ function noteClick(e) {
}
}
-function readPromo() {
- os.api("promo/read", {
- noteId: appearNote.id,
- });
- isDeleted.value = true;
-}
-
let postIsExpanded = ref(false);
function setPostExpanded(val: boolean) {
diff --git a/fe_calckey/frontend/client/src/components/MkDateSeparatedList.vue b/fe_calckey/frontend/client/src/components/MkDateSeparatedList.vue
index 25301d3..e2f6dd7 100644
--- a/fe_calckey/frontend/client/src/components/MkDateSeparatedList.vue
+++ b/fe_calckey/frontend/client/src/components/MkDateSeparatedList.vue
@@ -1,6 +1,5 @@
-
-
diff --git a/fe_calckey/frontend/client/src/init.ts b/fe_calckey/frontend/client/src/init.ts
index c202301..9d7df3b 100644
--- a/fe_calckey/frontend/client/src/init.ts
+++ b/fe_calckey/frontend/client/src/init.ts
@@ -57,7 +57,6 @@ import I18n from "./components/global/i18n";
import RouterView from "./components/global/RouterView.vue";
import MkLoading from "./components/global/MkLoading.vue";
import MkError from "./components/global/MkError.vue";
-import MkAd from "./components/global/MkAd.vue";
import MkPageHeader from "./components/global/MkPageHeader.vue";
import MkSpacer from "./components/global/MkSpacer.vue";
import MkStickyContainer from "./components/global/MkStickyContainer.vue";
@@ -76,7 +75,6 @@ function globalComponents(app: App) {
app.component("MkUrl", MkUrl);
app.component("MkLoading", MkLoading);
app.component("MkError", MkError);
- app.component("MkAd", MkAd);
app.component("MkPageHeader", MkPageHeader);
app.component("MkSpacer", MkSpacer);
app.component("MkStickyContainer", MkStickyContainer);
@@ -98,7 +96,6 @@ declare module "@vue/runtime-core" {
MkUrl: typeof MkUrl;
MkLoading: typeof MkLoading;
MkError: typeof MkError;
- MkAd: typeof MkAd;
MkPageHeader: typeof MkPageHeader;
MkSpacer: typeof MkSpacer;
MkStickyContainer: typeof MkStickyContainer;
diff --git a/fe_calckey/frontend/client/src/pages/admin/index.vue b/fe_calckey/frontend/client/src/pages/admin/index.vue
index 34f2146..881528b 100644
--- a/fe_calckey/frontend/client/src/pages/admin/index.vue
+++ b/fe_calckey/frontend/client/src/pages/admin/index.vue
@@ -185,12 +185,6 @@ const menuDef = $computed(() => [
to: "/admin/announcements",
active: currentPage?.route.name === "announcements",
},
- {
- icon: "ph-money ph-bold ph-lg",
- text: i18n.ts.ads,
- to: "/admin/ads",
- active: currentPage?.route.name === "ads",
- },
{
icon: "ph-warning-circle ph-bold ph-lg",
text: i18n.ts.abuseReports,
diff --git a/fe_calckey/frontend/client/src/pages/admin/promotions.vue b/fe_calckey/frontend/client/src/pages/admin/promotions.vue
deleted file mode 100644
index ce61a8b..0000000
--- a/fe_calckey/frontend/client/src/pages/admin/promotions.vue
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/fe_calckey/frontend/client/src/pages/gallery/post.vue b/fe_calckey/frontend/client/src/pages/gallery/post.vue
index 254011b..6e40f0a 100644
--- a/fe_calckey/frontend/client/src/pages/gallery/post.vue
+++ b/fe_calckey/frontend/client/src/pages/gallery/post.vue
@@ -114,7 +114,6 @@
/>
-