Commented out future implementations
This commit is contained in:
parent
f1c6ba316a
commit
51d41fa91b
|
@ -4,10 +4,10 @@
|
|||
|
||||
export let post: BlogPost;
|
||||
export let type: 'blog';
|
||||
export let published: boolean;
|
||||
export let headlineOrder: 'h3' | '' = '';
|
||||
export let badge: string = '';
|
||||
export let textWidth: string = '';
|
||||
// export let published: boolean;
|
||||
// export let headlineOrder: 'h3' | '' = '';
|
||||
// export let badge: string = '';
|
||||
// export let textWidth: string = '';
|
||||
|
||||
const generateURL = (href?: string, slug?: string) => {
|
||||
if (href) return href;
|
||||
|
|
|
@ -39,10 +39,6 @@
|
|||
figure {
|
||||
@apply flex relative flex-col;
|
||||
}
|
||||
figure svg,
|
||||
.img-bg {
|
||||
@apply w-64 h-64;
|
||||
}
|
||||
.img-bg {
|
||||
@apply absolute z-[-1] rounded-full blur-[50px] transition-all;
|
||||
animation: pulse 5s cubic-bezier(0, 0, 0, 0.5) infinite, glow 5s linear infinite;
|
||||
|
|
|
@ -21,30 +21,30 @@
|
|||
|
||||
//Cookie, Identifiers and store
|
||||
import Cookies from 'js-cookie';
|
||||
import { cookies } from '$lib/constants';
|
||||
import { page } from '$app/stores';
|
||||
import { isEurope, removeTrailingSlash } from '$lib/utils/helpers';
|
||||
|
||||
onMount(() => {
|
||||
Cookies.set(cookies.NECESSARY, 'true', {
|
||||
expires: 365,
|
||||
domain: '.mattmor.in'
|
||||
});
|
||||
// Cookie implementatiion TODO component
|
||||
// onMount(() => {
|
||||
// Cookies.set(cookies.NECESSARY, 'true', {
|
||||
// expires: 365,
|
||||
// domain: '.mattmor.in'
|
||||
// });
|
||||
|
||||
if (Cookies.get(cookies.ANALYTICAL) !== 'false' && !isEurope()) {
|
||||
Cookies.set(cookies.ANALYTICAL, 'true', {
|
||||
expires: 365,
|
||||
domain: '.mattmor.in'
|
||||
});
|
||||
}
|
||||
// if (Cookies.get(cookies.ANALYTICAL) !== 'false' && !isEurope()) {
|
||||
// Cookies.set(cookies.ANALYTICAL, 'true', {
|
||||
// expires: 365,
|
||||
// domain: '.mattmor.in'
|
||||
// });
|
||||
// }
|
||||
|
||||
if (Cookies.get(cookies.ANALYTICAL) === 'true') {
|
||||
Cookies.set(cookies.VISITED, 'true', {
|
||||
expires: 365,
|
||||
domain: '.mattmor.in'
|
||||
});
|
||||
}
|
||||
});
|
||||
// if (Cookies.get(cookies.ANALYTICAL) === 'true') {
|
||||
// Cookies.set(cookies.VISITED, 'true', {
|
||||
// expires: 365,
|
||||
// domain: '.mattmor.in'
|
||||
// });
|
||||
// }
|
||||
// });
|
||||
|
||||
// Scroll to anchor
|
||||
$: if ($page.url.pathname) {
|
||||
|
|
Loading…
Reference in New Issue