Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Copyright year #485

Merged
merged 7 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The Appwrite Website has been built with the following frameworks:
*If this is your first time setting up the repository, please run `pnpm install` inside the repo's directory.*

To get the repo up and running in your local environment, use the following command:

```bash
pnpm run dev
```
Expand Down
6 changes: 4 additions & 2 deletions src/lib/components/MainFooter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import ThemeSelect from './ThemeSelect.svelte';

export let variant: 'homepage' | 'docs' = 'homepage';

const year = new Date().getFullYear()
</script>

{#if variant === 'homepage'}
Expand All @@ -22,7 +24,7 @@
</li>
{/each}
</ul>
<div>Copyright © 2023 Appwrite</div>
<div>Copyright © {year} Appwrite</div>
</footer>
{:else if variant === 'docs'}
<footer
Expand Down Expand Up @@ -61,7 +63,7 @@
</li> -->
</ul>
<div class="aw-main-footer-grid-1-column-4 aw-main-footer-copyright">
Copyright © 2023 Appwrite
Copyright © {year} Appwrite
</div>
</div>
</footer>
Expand Down