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', () => {
|
||||
// 1) Create our database, supply location and options.
|
||||
// This will create or open the underlying RocksDB store.
|
||||
// const db = level('./mydb')
|
||||
const db = level('./mydb')
|
||||
|
||||
// 2) Put a key & value
|
||||
// isnt this synchronous?
|
||||
// db.put('name', 'Level', function (err) {
|
||||
// if (err) return console.log('Ooops!', err) // some kind of I/O error
|
||||
db.put('name', 'Level', function (err) {
|
||||
if (err) return console.log('Ooops!', err) // some kind of I/O error
|
||||
|
||||
// // 3) Fetch by key
|
||||
// db.get('name', function (err, value) {
|
||||
// if (err) return console.log('Ooops!', err) // likely the key was not found
|
||||
// 3) Fetch by key
|
||||
db.get('name', function (err, value) {
|
||||
if (err) return console.log('Ooops!', err) // likely the key was not found
|
||||
|
||||
// // Ta da!
|
||||
// console.log('name=' + value)
|
||||
// })
|
||||
// })
|
||||
// Ta da!
|
||||
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