Skip to content

Commit

Permalink
Merge pull request #1381 from ItzNotABug/update-github-link
Browse files Browse the repository at this point in the history
Update GitHub Repo Link
  • Loading branch information
TorstenDittmann authored Sep 25, 2024
2 parents 0ee9f7a + f66ee67 commit f973678
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 17 deletions.
6 changes: 3 additions & 3 deletions src/lib/animations/OpenSource.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { toScale, type Scale } from '$lib/utils/toScale';
import { spring, type AnimationListOptions, type SpringOptions } from 'motion';
import { animation, createScrollHandler, scroll, type Animation } from '.';
import { GITHUB_STARS } from '$lib/constants';
import { GITHUB_REPO_LINK, GITHUB_STARS } from '$lib/constants';
const springOptions: SpringOptions = {
stiffness: 58.78,
Expand Down Expand Up @@ -199,7 +199,7 @@
<a
class="web-card is-white web-u-min-block-size-320 oss-card flex flex-col"
id="oss-github"
href="https://github.com/appwrite/appwrite"
href="{GITHUB_REPO_LINK}"
>
<div class="flex flex-col justify-between gap-8">
<span
Expand Down Expand Up @@ -246,7 +246,7 @@
<a
class="web-card is-white web-u-min-block-size-320 oss-card flex flex-col"
id="oss-commits"
href="https://github.com/appwrite/appwrite"
href="{GITHUB_REPO_LINK}"
>
<div class="flex flex-col justify-between gap-8">
<span
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/MobileNav.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { afterNavigate } from '$app/navigation';
import { IsLoggedIn } from '$lib/components';
import { GITHUB_STARS } from '$lib/constants';
import { GITHUB_REPO_LINK, GITHUB_STARS } from '$lib/constants';
import type { NavLink } from '$lib/layouts/Main.svelte';
export let open = false;
Expand Down Expand Up @@ -37,7 +37,7 @@
</div>
<div class="web-side-nav-mobile-footer-buttons">
<a
href="https://github.com/appwrite/appwrite/stargazers"
href="{GITHUB_REPO_LINK}"
target="_blank"
rel="noopener noreferrer"
class="web-button is-text web-u-inline-width-100-percent-mobile"
Expand Down
3 changes: 2 additions & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const GITHUB_STARS = '43.6K';
export const GITHUB_STARS = '43.9K';
export const GITHUB_REPO_LINK = 'https://github.com/appwrite/appwrite';
export const BANNER_KEY: Banners = 'discord-banner-01'; // Change key to force banner to show again
export const SENTRY_DSN =
'https://[email protected]/4507497727000576';
Expand Down
4 changes: 2 additions & 2 deletions src/lib/layouts/Docs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
import { Search, IsLoggedIn } from '$lib/components';
import { isMac } from '$lib/utils/platform';
import { getContext, setContext } from 'svelte';
import { GITHUB_STARS } from '$lib/constants';
import { GITHUB_REPO_LINK, GITHUB_STARS } from '$lib/constants';
import { PUBLIC_APPWRITE_DASHBOARD } from '$env/static/public';
export let variant: DocsLayoutVariant = 'default';
Expand Down Expand Up @@ -167,7 +167,7 @@
<div class="web-main-header-end">
<div class="flex gap-2">
<a
href="https://github.com/appwrite/appwrite/stargazers"
href="{GITHUB_REPO_LINK}"
target="_blank"
rel="noopener noreferrer"
class="web-button is-text"
Expand Down
4 changes: 2 additions & 2 deletions src/lib/layouts/Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script lang="ts">
import { browser } from '$app/environment';
import { MobileNav, IsLoggedIn } from '$lib/components';
import { BANNER_KEY, GITHUB_STARS } from '$lib/constants';
import { BANNER_KEY, GITHUB_REPO_LINK, GITHUB_STARS } from '$lib/constants';
import { isVisible } from '$lib/utils/isVisible';
import { createScrollInfo } from '$lib/utils/scroll';
import { hasNewChangelog } from '$routes/changelog/utils';
Expand Down Expand Up @@ -258,7 +258,7 @@
</div>
<div class="web-main-header-end">
<a
href="https://github.com/appwrite/appwrite/stargazers"
href="{GITHUB_REPO_LINK}"
target="_blank"
rel="noopener noreferrer"
class="web-button is-text web-u-inline-width-100-percent-mobile"
Expand Down
4 changes: 2 additions & 2 deletions src/lib/layouts/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<script lang="ts">
import { clickOutside } from '$lib/actions/clickOutside';
import { Tooltip, IsLoggedIn } from '$lib/components';
import { GITHUB_STARS } from '$lib/constants';
import { GITHUB_REPO_LINK, GITHUB_STARS } from '$lib/constants';
import { layoutState, toggleSidenav } from './Docs.svelte';
import SidebarNavButton from './SidebarNavButton.svelte';
Expand Down Expand Up @@ -115,7 +115,7 @@
<IsLoggedIn />

<a
href="https://github.com/appwrite/appwrite/stargazers"
href="{GITHUB_REPO_LINK}"
target="_blank"
rel="noopener noreferrer"
class="web-button is-text web-u-inline-width-100-percent-mobile"
Expand Down
10 changes: 5 additions & 5 deletions src/routes/community/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
import MetricCard from '$lib/components/MetricCard.svelte';
import { newsletter } from '$lib/components/Newsletter.svelte';
import PreFooter from '$lib/components/PreFooter.svelte';
import { GITHUB_STARS } from '$lib/constants';
import { GITHUB_REPO_LINK, GITHUB_STARS } from '$lib/constants';
import { Main } from '$lib/layouts';
import { DEFAULT_HOST } from '$lib/utils/metadata';
import { TITLE_SUFFIX } from '$routes/titles';
Expand Down Expand Up @@ -178,7 +178,7 @@
<span class="text">Join our Discord</span>
</a>
<a
href="https://github.com/appwrite/appwrite/stargazers"
href="{GITHUB_REPO_LINK}"
target="_blank"
rel="noopener noreferrer"
class="web-button is-secondary is-full-width-mobile"
Expand Down Expand Up @@ -238,7 +238,7 @@
</p>
<div class="mt-8 flex flex-wrap justify-center gap-3">
<a
href="https://github.com/appwrite/appwrite/graphs/contributors"
href="{GITHUB_REPO_LINK}/graphs/contributors"
target="_blank"
rel="noopener noreferrer"
class="web-button is-secondary is-full-width-mobile"
Expand Down Expand Up @@ -278,7 +278,7 @@
Anyone can join and help Appwrite become better.
</p>
<a
href="https://github.com/appwrite/appwrite/issues"
href="{GITHUB_REPO_LINK}/issues"
target="_blank"
rel="noopener noreferrer"
class="web-button is-secondary mt-8"
Expand Down Expand Up @@ -527,7 +527,7 @@
</li>
<li>
<a
href="https://github.com/appwrite/appwrite"
href="{GITHUB_REPO_LINK}"
target="_blank"
rel="noopener noreferrer"
class="web-card is-white web-u-min-block-size-320 flex flex-col"
Expand Down

0 comments on commit f973678

Please sign in to comment.