npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gatsby-theme-banshorian

v2.1.7

Published

A simplified way to create a cv/work/portfolio using GatsbyJS. Based on byfolio

Downloads

15

Readme

gatsby-theme-banshorian

What this adaptation of Byfolio sets out to do:

Build and tweak on existing elements. special focus on the menu-transision. i loved the "melting page effekt" i wanted to be able to incorporate a icon/logo into the transision so that one can get a custom-desgin-feel easy generated by a logo or icon element from site.

I want to give it a brush-up with a style-concept like "Banshee series" meets "the mandalorian series" and gave birth to showcase:project/person:application-development site.

want to contribute

fork it, do some change and pull request. contact me @ [email protected]

......................dottet-line......................

Installation

mkdir banshorian && cd banshorian
yarn init -y
yarn add react react-dom gatsby gatsby-theme-banshorian

Create gatsby-config.js file and load the plugin

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-theme-banshorian`,
    },
  ],
}
gatsby develop

In your brower load localhost:8000

Configuration

After each modification in gatsby-config.js it is necessary to restart the site from the terminal.

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `gatsby-theme-banshorian`,
      options: {
        basePath: ``,
        path: `src/`,
        imagesPath: `src/images/`,
        iconFile: `src/images/icon.png`,
        siteTitle: `Banshorian profile`,
        siteUrl: `https://gatsby-starter-banshorian.vercel.app`,
        siteName: `Martin Andersen CV`,
        siteShortName: `MA`,
        siteDescription: `This cool App contains information about my work experience as a software developer.`,
        siteKeywords: `Software developer, Full Stack Developer`,
        useMozJpeg: true,
        menuLinks: [
          // title = Link text
          // color = Animation background color on click
          { name: `home`, title: `Home`, color: `#000`, link: `` },
          {
            name: `experience`,
            title: `Experience`,
            color: `#3a3d98`,
            link: ``,
          },
          { name: `skills`, title: `Skills`, color: `#d52d43`, link: `` },
          { name: `aboutMe`, title: `About Me`, color: `#fff`, link: `` },
        ],
        email: `[email protected]`,
        social: {
          // Usernames
          twitter: `webmaeistro`,
          gitHub: `webmaeistro`,
          stackOverflow: `/`,
          linkedIn: `in/martin-andersen/`,
          resumeInPdf: `/CV-19.pdf`, // url or local link
        },
        homePage: {
          availableToHire: true,
          dotColors: ["#0e3e1e", "#6CC551"],
          h1Text: `Hi! I'm your name`,
          h2Text: `line two.`,
          typewriter: [
            `Coding is my passion 😎`,
            `I'm a 🍕 lover`,
            `I'm a pretty fast learner and always interested in learning new technologies 🤓`,
            `I think one of my values is the <strong>ability to resolve problems<strong>`,
         ],
        },
        // Color for menu background
        shapeColor: {
          link: { color: "#171616", hover: "#fff" },
          shape1: {
            color: `#413f46`,
            opacity: `0.7`,
          },
          shape2: {
            color: `#e6e5ea`,
            opacity: `0.7`,
          },
          shape3: {
            color: `#fff`,
            opacity: `0.7`,
          },
        },
        footer: `heart`,
      },
    },
  ],
}

| Option name | Type | Description | | --------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------- | | basePath | string | Where should the site be served from? /banshorian will change all paths to start with /banshorian | | path | string | Place where the files are stored, for example: src/ | | imagesPath | string | Place where the images files are stored, for example: src/images/ | | iconFile | string | Provides the icon path for the gatsby-plugin-manifest plugin | | typographyPath | string | Place where the file that defines your website’s typography configuration is located | | siteTitle | string | The main title for the website, used in the <title> element | | siteUrl | string | The CV url, example: https://gatsby-startter-banshorian.vercel.app | | siteName | string | Represents the name of the web application as it is usually displayed to the user | | siteShortName | string | Represents a short version of the name of the web application | | siteDescription | string | Allows you to describe the purpose of the web application | | siteKeywords | string | Keywords for the page | | useMozJpeg | boolean | MozJPEG provides better image compression than the default encoder used in gatsby-plugin-sharp. | | menuLinks | array | An array of objects for the menu, each item represents a link, color represents the color that the animation shows when it is pressed | | email | string | Email for contact, this is displayed when the Contact Me button is pressed | | social | object | An Object with the user accounts of: twitter, gitHub, stackOverflow, linkedIn and resumeInPdf resume link | | homePage | object | An object with information of titles, texts with animated description, and animation to show if you are available to be hired | | shapeColor | object | Represents the colors used in the menu animation, in total there are 3 in which you can specify the color and the opacity | | footer | string | Text to show in the footer only has 2 options: heartor hand |

Adding experience and skills

This theme generates pages based on Markdown files in the path/experience directory. Your Markdown files should contain some frontmatter defining their company, logo, etc. All company logos must be relative to imagesPath/companies directory. All Skills logos must be relative to imagesPath/skills directory. All layout images must be relative to company directory, for example: imagesPath/companies/ornforlag

Important

For each Skill you must add the logo of the Framework, library or program, with a resolution of width: 500px, height: 500px, in the src/images/skills/ directory I leave several logos, only Skills logos that I own are present, if the logo you need does not appear you must create it.

Layout number is for image animation you can select from 1 to 5, please do not forget to add the images "images/companies/ornforlag.jpg, images/skills/html5.png, images/skills/react.png, images/companies/ornforlag/ornforlag.jpg" to run the following example

---
title: ""
company: "Company Name"
logo: ../images/companies/ornforlag.jpg
jobTitle: "My job position"
skills:
  [
    { title: "HTML 5", image: ../images/skills/html5.png },
    { title: "HTML 5", image: ../images/skills/react.png },
  ]
images:
  [
    {
      title: "Layout 4",
      description: "Description text for layout 4.",
      layout: "4",
      files:
        [
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
        ],
    },
    {
      title: "Layout 1",
      description: "Description text for layout 1.",
      layout: "1",
      files:
        [
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
        ],
    },
    {
      title: "Layout 2",
      description: "Description text for layout 2.",
      layout: "2",
      files:
        [
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
        ],
      caption: "New Message",
    },
    {
      title: "Layout 3",
      description: "Description text for layout 1.",
      layout: "3",
      files:
        [
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
        ],
    },
    {
      title: "Layout 5",
      description: "Description text for layout 5.",
      layout: "5",
      files:
        [
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
          { image: ../images/companies/ornforlag/ornforlag.jpg },
        ],
    },
  ]
dateFrom: "2015-12-01"
dateTo: "2019-12-01"
---
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum
- Contrary to popular belief, Lorem Ipsum is not simply random text
- It is a long established fact that a reader will be distracted by the readable content of a page
- There are many variations of passages of Lorem Ipsum available
- The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested

Skills

The Skills are automatically selected from experience, in case some skill you acquired does not correspond to a company you can add it in path/experience/_additionalSkills.md

---
title: ""
company: ""
jobTitle: ""
logo:
skills:
  [
    { title: "React", image: ../images/skills/react.png },
    { title: "React Native", image: ../images/skills/react-native.png },
    { title: "Gatsby", image: ../images/skills/gatsby.png },
    { title: "GraphQL", image: ../images/skills/graphql.png },
    { title: "Redux", image: ../images/skills/redux.png },
    { title: "Apollo GraphQL", image: ../images/skills/apollo.png },
    { title: "Socket.io", image: ../images/skills/socket-io.png },
  ]
images: []
dateFrom: "2019-09-01"
dateTo: "2019-09-01"
---

Component shadowing

You can customize elements like the css style or about-me content by taking advantage of component shadowing.

I recommend using Coolors.co to select a color palette and adapt it to your new portfolio.

You can change the color of the text and the background of each page, for example:

// src/gatsby-theme-banshorian/layout/layoutColors.css.js
import { css } from "@emotion/core"
import lineSvg from "../../../static/assets/line.svg"

const styles = css`
  .e404.layout-wrapper .layout-inner {
    background: #fff;
  }
  .e404 .data-section {
    color: #000;
  }
  .aboutme.layout-wrapper .layout-inner {
    background: #fff;
  }
  .aboutme .data-section {
    color: #000;
  }
  .aboutme .hamburgercolr::before,
  .aboutme .hamburgercolr::after,
  .e404 .hamburgercolr::before,
  .e404 .hamburgercolr::after {
    background-color: #000;
  }
  .home.layout-wrapper .layout-inner {
    background: #0e0f11;
    background: #0e0f11 url(${lineSvg}) center center fixed;
    background-size: contain;
  }
  .home.layout-wrapper h1,
  .home.layout-wrapper h2 {
    color: #fff;
  }
  .skill.layout-wrapper .layout-inner {
    color: #fff;
    background: #9d316e;
    background: url(${lineSvg}) center center fixed, linear-gradient(
        45deg,
        #9d316e,
        #de2d3e
      );
    background-size: cover;
  }
  .experience.layout-wrapper .layout-inner {
    background: #3a3d98;
    background: url(${lineSvg}) center center fixed, linear-gradient(
        45deg,
        #6f22b9,
        #3a3d98
      );
    background-size: cover;
  }
  .home .hamburgercolr::before,
  .home .hamburgercolr::after,
  .skill .hamburgercolr::before,
  .skill .hamburgercolr::after,
  .experience .hamburgercolr::before,
  .experience .hamburgercolr::after {
    background-color: #fff;
  }
  .home .btn-contact-color,
  .experience .btn-contact-color {
    color: #fff;
  }
  .aboutme .btn-contact-color,
  .e404 .btn-contact-color {
    color: #000;
  }
`

export default styles

You can change the about-me text in the "src/gatsby-theme-banshorian/contentJSON/about-me.json" file, for example:

[
  {
    "subtitle": "About Me!",
    "content": "I'm a <strong>Software Developer</strong>"
  },
  {
    "subtitle": "Experience!",
    "content": "I started developing software from <strong>2004</strong> working in several companies"
  }
]

Examples

Are you using this theme in your own project? Submit a PR with your website added to this list!

Authors

  • Christian David Ibarguen R
  • Martin Andersen @webmaeistro

Credits

Special thanks to: