1.0.0 • Published 5 years ago

@dospore/job-board v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

Job board component

Simple component for advertising available jobs. This was for personal use so I built it for my use case. Pretty poor customisability past setting theme colours.

How to use

To compile your code once, run

  • npm run build.

To compile your code once and refresh on file change, run

  • npm run start.

List Jobs

    import { JobBanner, BannerImg, BannerText, SubBanner, ThemeProvider, JobsList} from '@dospore/job-board'

    const theme = {
        "primary": "#0000bd",
        "secondary": "#7B7B7B",
        "bg": "#E5E5F8"
    }

    const jobs = [
        {
            category: 'engineering',
            title: 'Example Engineer Job Title',
            postDate: '09/01/2020',
            location: 'Remote',
            employmentType: 'Full-Time',
            link: 'https://www.google.com' // this is the link that the user will be directed to after clicking apply
        }, {
            category: 'design',
            title: 'Example Job Title',
            postDate: '09/01/2020',
            location: 'Remote',
            employmentType: 'Full-Time',
            link: 'https://www.google.com'
        }
    ]
    
    const roleTypes = ["All Roles", "Engineering", "Legal", "Marketing", "Design"] // default selected is All Roles

    <ThemeProvider theme={theme}>
        <JobBanner>
            <BannerImg src="/hiring-banner.png" alt='Hiring Banner'/>
            <BannerText>
                Careers
            </BannerText>
        </JobBanner>
        <SubBanner>
            <h1>Example title oooooo yeah</h1>
            <h2>Example sub heading</h2>
        </SubBanner>
        <JobsList 
            jobs={jobs} 
            roleTypes={roleTypes} 
        />
    </ThemeProvider>

Display Job Info

    <JobInfo {...jobs[0]}>
        {/* Some text. Doesnt have to be markdown but I parse markdown*/}
        <Markdown source={rawMarkdownBody} escapeHtml={false} />
    </JobInfo

Happy Building ♡

acornansi-regexansi-stylesanymatcharr-diffarr-flattenarr-unionarray-uniqueassign-symbolsasync-eachatobbabel-code-framebabel-corebabel-generatorbabel-helpersbabel-messagesbabel-plugin-styled-componentsbabel-plugin-syntax-jsxbabel-registerbabel-runtimebabel-templatebabel-traversebabel-typesbabylonbalanced-matchbasebinary-extensionsbrace-expansionbracescache-basecamelizechalkchokidarclass-utilscollection-visitcolor-convertcolor-namecommondircomponent-emitterconcat-mapconvert-source-mapcopy-descriptorcore-jscore-util-iscss-color-keywordscss-to-react-nativecsstypedebugdecode-uri-componentdefine-propertydetect-indentescape-string-regexpestree-walkeresutilsexpand-bracketsextend-shallowextglobfill-rangefind-cache-dirfind-upfor-infragment-cachefs-extrafs.realpathfunction-bindget-valueglobglob-parentglobalsgraceful-fshashas-ansihas-flaghas-valuehas-valueshoist-non-react-staticshome-or-tmpinflightinheritsinvariantis-accessor-descriptoris-binary-pathis-bufferis-core-moduleis-data-descriptoris-descriptoris-extendableis-extglobis-finiteis-globis-numberis-plain-objectis-windowsisarrayisobjectjs-tokensjsescjson5jsonfilekind-ofklawlocate-pathlodashloose-envifymake-dirmap-cachemap-visitmicromatchminimatchminimistmixin-deepmkdirpmsnanomatchnormalize-pathobject-assignobject-copyobject-visitobject.pickonceos-homediros-tmpdirp-limitp-locatep-trypascalcasepath-dirnamepath-existspath-is-absolutepath-parsepifypkg-dirposix-character-classespostcss-value-parserprivateprocess-nextick-argsprop-typesreactreact-domreact-isreadable-streamreaddirpregenerator-runtimeregex-notremove-trailing-separatorrepeat-elementrepeat-stringrepeatingresolveresolve-urlretrimrafrolluprollup-plugin-peer-deps-externalrollup-plugin-sassrollup-plugin-typescript2rollup-pluginutilssafe-buffersafe-regexsassschedulersemverset-valueshallowequalslashsnapdragonsnapdragon-nodesnapdragon-utilsource-mapsource-map-resolvesource-map-supportsource-map-urlsplit-stringstatic-extendstring_decoderstrip-ansistyled-bootstrap-gridstyled-componentssupports-colorto-fast-propertiesto-object-pathto-regexto-regex-rangetrim-righttslibtypescriptunion-valueuniversalifyunset-valueupathurixuseutil-deprecatewrappy
1.0.14

5 years ago

1.0.13

5 years ago

1.0.11

5 years ago

1.0.12

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago