chore: Remove unused test file and deprecated Chakra theme
This commit is contained in:
parent
3d6846b554
commit
649d56f992
|
|
@ -1,14 +0,0 @@
|
||||||
describe('Database 2', () => {
|
|
||||||
it('DB WORKS 2', () => {
|
|
||||||
// so do firebase
|
|
||||||
// and can optionally have a local index if needed
|
|
||||||
})
|
|
||||||
|
|
||||||
it('Hi', () => {
|
|
||||||
let x = "hi" == "hi"
|
|
||||||
let y = "hi2" == "hi"
|
|
||||||
|
|
||||||
console.log(x)
|
|
||||||
console.log(y)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
@ -4,20 +4,20 @@ describe('Database', () => {
|
||||||
it('DB WORKS', () => {
|
it('DB WORKS', () => {
|
||||||
// 1) Create our database, supply location and options.
|
// 1) Create our database, supply location and options.
|
||||||
// This will create or open the underlying RocksDB store.
|
// This will create or open the underlying RocksDB store.
|
||||||
// const db = level('./mydb')
|
const db = level('./mydb')
|
||||||
|
|
||||||
// 2) Put a key & value
|
// 2) Put a key & value
|
||||||
// isnt this synchronous?
|
// isnt this synchronous?
|
||||||
// db.put('name', 'Level', function (err) {
|
db.put('name', 'Level', function (err) {
|
||||||
// if (err) return console.log('Ooops!', err) // some kind of I/O error
|
if (err) return console.log('Ooops!', err) // some kind of I/O error
|
||||||
|
|
||||||
// // 3) Fetch by key
|
// 3) Fetch by key
|
||||||
// db.get('name', function (err, value) {
|
db.get('name', function (err, value) {
|
||||||
// if (err) return console.log('Ooops!', err) // likely the key was not found
|
if (err) return console.log('Ooops!', err) // likely the key was not found
|
||||||
|
|
||||||
// // Ta da!
|
// Ta da!
|
||||||
// console.log('name=' + value)
|
console.log('name=' + value)
|
||||||
// })
|
})
|
||||||
// })
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
import { extendTheme } from "@chakra-ui/react"
|
|
||||||
import { Rubik } from 'next/font/google'
|
|
||||||
|
|
||||||
export const theme = extendTheme({
|
|
||||||
fonts: {
|
|
||||||
heading: 'var(--font-rubik)',
|
|
||||||
body: 'var(--font-rubik)',
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
const rubik = Rubik({
|
|
||||||
subsets: ['latin'],
|
|
||||||
variable: '--font-rubik',
|
|
||||||
})
|
|
||||||
|
|
||||||
export const fonts = {
|
|
||||||
rubik,
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue