Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/web/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@

<script setup lang="ts">
let cursor: HTMLElement | null = null;
console.log("here");

onMounted(() => {
console.log("here");
Comment thread
notxorand marked this conversation as resolved.
Outdated
Comment thread
notxorand marked this conversation as resolved.
Outdated
cursor = document.getElementById("custom-cursor");

const moveCursor = (e: MouseEvent) => {
Expand Down
20 changes: 10 additions & 10 deletions apps/web/components/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@
</template>

<script setup>
const words = ref(["confidential", "verifiable", "stateful"]);
const currentWordIndex = ref(0);
// const words = ref(["confidential", "verifiable", "stateful"]);
// const currentWordIndex = ref(0);

const currentTextArray = computed(() => {
return words.value[currentWordIndex.value].split(" ");
});
// const currentTextArray = computed(() => {
// return words.value[currentWordIndex.value].split(" ");
// });

onMounted(() => {
setInterval(() => {
currentWordIndex.value = (currentWordIndex.value + 1) % words.value.length;
}, 4000);
});
// onMounted(() => {
// setInterval(() => {
// currentWordIndex.value = (currentWordIndex.value + 1) % words.value.length;
// }, 4000);
// });
</script>

<style scoped>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
v-if="isLoading"
class="fixed inset-0 z-50 flex items-center justify-center"
>
<TrackLoader />
<div class="text-[#EE6F53] text-xl font-bold">Loading...</div>
</div>
<div
:class="{
Expand Down
7 changes: 4 additions & 3 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@
"@nuxt/content": "^3.7.1",
"@radix-icons/vue": "^1.0.0",
"@remixicon/vue": "^4.6.0",
"@tailwindcss/vite": "^4.1.14",
"@tailwindcss/vite": "4.1.5",
"better-sqlite3": "^11.10.0",
"motion-v": "^1.7.2",
"nuxt": "^3.19.0",
"nuxt": "^4.1.3",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.14",
"tailwindcss-animate": "^1.0.7",
"vue": "^3.5.22",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@nuxtjs/color-mode": "^3.5.2"
"@nuxtjs/color-mode": "^3.5.2",
"typescript": "5.8.3"
}
}
10 changes: 6 additions & 4 deletions apps/web/pages/blog/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,14 @@ const otherPosts = computed(() => {
const parsedTags = computed(() => {
if (!post.value || !post.value.tags) return [];

const tags = post.value.tags as string[] | string;

// Handle different formats of tags
if (Array.isArray(post.value.tags)) {
return post.value.tags;
} else if (typeof post.value.tags === "string") {
if (Array.isArray(tags)) {
return tags;
} else if (typeof tags === "string") {
// If it's a comma-separated string
return post.value?.tags
return tags
.split(",")
.map((tag: string) => tag.trim())
.filter((tag: string) => Boolean(tag));
Expand Down
2 changes: 1 addition & 1 deletion apps/web/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { useScroll } from "@vueuse/core";
const { y, directions } = useScroll(window);

watch([y, directions], () => {
const path = document.querySelector("#track-animated");
const path = document.querySelector("#track-animated") as SVGPathElement;
const footerHeight = 168;
// const footerHeight = 0;
const scrollHeight =
Expand Down
Loading