Skip to content

Commit

Permalink
feat: Remove countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Jun 17, 2024
1 parent 752c791 commit 2a91680
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 170 deletions.
57 changes: 0 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"dependencies": {
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.11",
"lucide-vue-next": "^0.378.0",
"pinia": "^2.1.7",
"radix-vue": "^1.8.0",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
Expand Down
14 changes: 2 additions & 12 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
<script setup>
import Navbar from "./components/Navbar.vue";
import Footer from "./components/Footer.vue";
import { useGeneralStore } from "./stores/general";
import CountdownSection from "./pages/Home/CountdownSection.vue";
import LAnnouncementBanner from "./components/LAnnouncementBanner.vue";
const store = useGeneralStore();
const displaySite = () => {
store.showCountdown = false;
window.scrollTo(0, 0);
};
</script>

<template>
<LAnnouncementBanner text="Mark your calendars, June 18th 12:00 GMT is the official launch date of $LTAI on Base" />
<Navbar v-show="!store.isCountdownDisplayed" />
<CountdownSection v-if="store.isCountdownDisplayed" :action="displaySite" />
<Navbar />

<RouterView v-else />
<RouterView />
<Footer />
</template>
5 changes: 1 addition & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { createApp } from "vue";
import { createPinia } from "pinia";
import "./style.css";
import App from "./App.vue";
import { router } from "./router.ts";

const pinia = createPinia();

createApp(App).use(router).use(pinia).mount("#app");
createApp(App).use(router).mount("#app");
87 changes: 0 additions & 87 deletions src/pages/Home/CountdownSection.vue

This file was deleted.

8 changes: 0 additions & 8 deletions src/stores/general.ts

This file was deleted.

0 comments on commit 2a91680

Please sign in to comment.