I hereby claim:
- I am divyanshu013 on github.
- I am divyanshu013 (https://keybase.io/divyanshu013) on keybase.
- I have a public key whose fingerprint is 95C5 A78C 5C19 AE5E E687 4046 F425 1024 56F8 3B15
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
code --install-extension EditorConfig.EditorConfig | |
code --install-extension Perkovec.emoji | |
code --install-extension SintrumIT.theme-oceanic-next-italic | |
code --install-extension agauniyal.vscode-caniuse | |
code --install-extension alefragnani.project-manager | |
code --install-extension andys8.jest-snippets | |
code --install-extension arcticicestudio.nord-visual-studio-code | |
code --install-extension be5invis.vscode-custom-css | |
code --install-extension bierner.markdown-emoji | |
code --install-extension bungcip.better-toml |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/div/.oh-my-zsh" | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. |
{ | |
"vscode_custom_css.imports": [ | |
"file:///Users/divyanshu/.vscode/style.css" | |
], | |
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"javascript.validate.enable": false, | |
"editor.fontLigatures": true, | |
"editor.minimap.enabled": false, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"workbench.startupEditor": "newUntitledFile", |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// Choose either "stable" for receiving highly polished, | |
// or "canary" for less polished but more frequent updates | |
updateChannel: 'canary', |
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import { | |
MultiDropdownList, | |
SingleDropdownRange, | |
RangeSlider, | |
} from '@appbaseio/reactivesearch'; | |
const SearchFilters = ({ currentTopics, setTopics, visible }) => ( | |
<div className={`flex column filters-container ${!visible ? 'hidden' : ''}`}> |
import React, { Component } from 'react'; | |
import SearchFilters from './SearchFilters'; | |
class Header extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
visible: false, | |
}; |
import React from 'react'; | |
import { SelectedFilters, ReactiveList } from '@appbaseio/reactivesearch'; | |
import PropTypes from 'prop-types'; | |
import Topic from './Topic'; | |
const onResultStats = (results, time) => ( | |
<div className="flex justify-end"> | |
{results} results found in {time}ms | |
</div> |
import React, { Component } from 'react'; | |
import PropTypes from 'prop-types'; | |
class Topic extends Component { | |
handleClick = () => { | |
this.props.toggleTopic(this.props.children); | |
} | |
render() { | |
return ( | |
<div className={`topic ${this.props.active ? 'active' : ''}`} onClick={this.handleClick}> |
import React, { Component } from 'react'; | |
import { ReactiveBase, DataSearch } from '@appbaseio/reactivesearch'; | |
import Header from './components/Header'; | |
import Results from './components/Results'; | |
import theme from './theme'; | |
import './App.css'; | |
class App extends Component { |