Skip to content

Commit

Permalink
fix(demos/narcissus-sveltekit): 💫 update copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneylab committed Feb 9, 2022
1 parent 7b0f3e2 commit fcb5779
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demos/narcissus-sveltekit/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2021, Rodney Johnson
Copyright (c) 2021–2022, Rodney Johnson
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
22 changes: 16 additions & 6 deletions demos/narcissus-sveltekit/src/lib/components/Layout/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<script>
import { COPYRIGHT_ENTITY } from '$lib/constants/entities';
import ExternalLink from '$lib/components/ExternalLink.svelte';
const { facebookPage, githubPage, linkedinProfile, tiktokUsername, twitterUsername } = website;
import RodneyLabCredit from '$lib/components/Layout/RodneyLabCredit.svelte';
import website from '$lib/config/website';
import SocialIcons from '@rodneylab/svelte-social-icons';
import {
container,
content,
Expand All @@ -14,7 +9,21 @@
footerIconsListItem,
footerLink,
} from '$lib/components/Layout/Footer.css';
import RodneyLabCredit from '$lib/components/Layout/RodneyLabCredit.svelte';
import website from '$lib/config/website';
import { COPYRIGHT_ENTITY } from '$lib/constants/entities';
import theme from '$lib/shared/stores/theme';
import SocialIcons from '@rodneylab/svelte-social-icons';
const {
copyrightYear,
facebookPage,
githubPage,
linkedinProfile,
tiktokUsername,
twitterUsername,
} = website;
$: fgColor = $theme === 'light' ? '#f1faee' : '#1d3557';
</script>

Expand All @@ -27,7 +36,8 @@
href="https://rodneylab.com/"
target="_blank"
rel="noopener noreferrer">Rodney Lab</a
>. Copyright {COPYRIGHT_ENTITY} 2021.
>. Copyright {COPYRIGHT_ENTITY}
{copyrightYear}.
</div>
<nav class={footerIcons} aria-label="Navigate to Rodney Lab linked social sites">
<ul class={footerIconsList}>
Expand Down
3 changes: 2 additions & 1 deletion demos/narcissus-sveltekit/src/lib/config/website.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const facebookAuthorPageName = import.meta.env

const website = {
author: 'Rodney Johnson',
copyrightYear: '2021–2022',
entity: 'Rodney Lab',
ogLanguage: 'en_GB',
siteLanguage: 'en-GB',
Expand All @@ -30,4 +31,4 @@ const website = {
workerUrl: import.meta.env ? (import.meta.env.VITE_WORKER_URL as string) : '',
};

export { website as default };
export default website;

0 comments on commit fcb5779

Please sign in to comment.