This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
import { terser } from 'rollup-plugin-terser' | |
import babel from '@rollup/plugin-babel' | |
import commonjs from '@rollup/plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' | |
import getPreprocessor from 'svelte-preprocess' | |
import getTime from 'date-fns/getTime' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import { fade, fly } from 'svelte/transition' | |
import { onMount } from 'svelte' | |
import { writable } from 'svelte/store' | |
import * as animateScroll from 'svelte-scrollto' | |
import PageTransition from '../components/ui/PageTransition.svelte' | |
import Spinner from '../components/ui/Spinner.svelte' | |
import Profile from '../components/communication_channels/todos/Profile.svelte' | |
import getTime from 'date-fns/getTime' | |
import formatDistanceToNow from 'date-fns/formatDistanceToNow' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gun.chain.subscribe = function( publish ) { // arrow function would loose scope i.e. its this so doesn't work | |
let gun = this | |
let at = gun._ | |
let isMap = !!at && !!at.back && !!at.back.each // check if the map() function has been called | |
if ( isMap ) { | |
let store = new Map() | |
publish( Array.from( store ) ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// TODO: uncomment all three eslint() occurrences once eslint warnings and errors are fixed | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
// import { eslint } from 'rollup-plugin-eslint' | |
import { terser } from 'rollup-plugin-terser' | |
import babel from 'rollup-plugin-babel' | |
import commonjs from 'rollup-plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// TODO: uncomment all three eslint() occurrences once eslint warnings and errors are fixed | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
// import { eslint } from 'rollup-plugin-eslint' | |
import { terser } from 'rollup-plugin-terser' | |
import babel from 'rollup-plugin-babel' | |
import commonjs from 'rollup-plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
let html, currentColorScheme = 'light' | |
if (process.browser) { | |
html = document.getElementsByTagName('html')[0] | |
window.matchMedia('(prefers-color-scheme: dark)').addListener(({ matches }) => { | |
if (matches) { | |
html.dataset.theme = 'dark' | |
currentColorScheme = 'dark' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "tailwindcss/base"; | |
@import "tailwindcss/components"; | |
@import './components'; | |
@import "tailwindcss/utilities"; | |
@import './edm-utilities'; | |
@import 'nprogress/nprogress.css' | |
:root { | |
--font-family-one: Inter var, sans-serif; | |
--font-weight-black: 900; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// TODO: uncomment all three eslint() occurrences once eslint warnings and errors are fixed | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
// import { eslint } from 'rollup-plugin-eslint' | |
import { terser } from 'rollup-plugin-terser' | |
import babel from 'rollup-plugin-babel' | |
import commonjs from 'rollup-plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const colors = { | |
transparent: 'transparent', | |
black: '#000000', | |
white: '#FFFFFF', | |
'red-50': '#FFEBEE', | |
'red-100': '#FFCDD2', | |
'red-200': '#EF9A9A', | |
'red-300': '#E57373', | |
'red-400': '#EF5350', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "tailwindcss/base"; | |
@import "tailwindcss/components"; | |
@import './components'; | |
@import "tailwindcss/utilities"; | |
@import './edm-utilities'; | |
:root { | |
--font-family-one: Inter, sans-serif; | |
--font-weight-black: 900; | |
--font-weight-bold: 700; |
NewerOlder