update: office hours dates, streamline social stats and respective links.

This commit is contained in:
Darshan
2025-04-06 15:14:52 +05:30
parent c0977fef30
commit a913330ee0
22 changed files with 109 additions and 75 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import { afterNavigate } from '$app/navigation';
import { IsLoggedIn } from '$lib/components';
import { GITHUB_REPO_LINK, GITHUB_STARS } from '$lib/constants';
import { SOCIAL_STATS } from '$lib/constants';
import type { NavLink } from './MainNav.svelte';
import { getAppwriteDashboardUrl } from '$lib/utils/dashboard';
@@ -42,14 +42,14 @@
</div>
<div class="web-side-nav-mobile-footer-buttons">
<a
href={GITHUB_REPO_LINK}
href={SOCIAL_STATS.GITHUB.LINK}
target="_blank"
rel="noopener noreferrer"
class="web-button is-text web-u-inline-width-100-percent-mobile"
>
<span class="web-icon-star" aria-hidden="true"></span>
<span class="text">Star on GitHub</span>
<span class="web-inline-tag text-sub-body">{GITHUB_STARS}</span>
<span class="web-inline-tag text-sub-body">{SOCIAL_STATS.GITHUB.STAT}</span>
</a>
</div>
</div>