Giter Club home page Giter Club logo

gatsby-theme-intro's Introduction

Hello, I'm Wojciech! ๐Ÿ‘‹

Iโ€™m a Product Engineer with a Front-end focus.

I learned HTML and launched my first website back in 2001 when I was in high school. Since then I've experienced the web industry in many different roles and angles.

I enjoy the entire scope of the product development process. I care not only about the code, but always try to understand the product, and the problem it solves.

I'm a fan of agile/lean methodologies. I like working remotely and know how to do it effectively. Iโ€™m constantly learning new stuff, usually by working on side projects.

๐Ÿ‘ท I'm currently working on TeamBuddy - the app which helps build and maintain a great team culture.

gatsby-theme-intro's People

Contributors

addono avatar mihaimpop avatar wkocjan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gatsby-theme-intro's Issues

duplicate GraphQL fragments when trying to shadow project icon

I'm trying to shadow the icon(circled in red) in the project block to make it clickable.
2020-08-05-154846_481x126_scrot
I keep getting this error when i make the changes, isn't shadowing suppose to overwrite the default fragment?

Found two different GraphQL fragments with identical name "ProjectFragment". Fragment names must be unique

  File: /home/user/my-site/node_modules/@wkocjan/gatsby-theme-intro/src/types/project.js
  > 1 | fragment ProjectFragment on ProjectsYaml{description icon image{childImageSharp{fluid(maxWidth:640 quality:85){...GatsbyImageSharpFluid_withWebp}}}name status tags url}
|             ^^^^^^^^^^^^^^^

  File: /home/user/my-site/src/@wkocjan/gatsby-theme-intro/types/project.js
  > 1 | fragment ProjectFragment on ProjectsYaml{description icon image{childImageSharp{fluid(maxWidth:640 quality:85){...GatsbyImageSharpFluid_withWebp}}}name status tags url iconURL}
|             ^^^^^^^^^^^^^^^

All i did was add in iconURL in types/project.js and reference the new iconURL type in the appropriate files

import { graphql } from "gatsby"
import { arrayOf, shape, string, object, oneOf } from "prop-types"

export const ProjectType = {
  description: string,
  icon: oneOf(["github", "website"]),
  image: shape({
    childImageSharp: object.isRequired,
  }),
  name: string.isRequired,
  status: string,
  tags: arrayOf(string),
  url: string,
  iconURL: string,  <------ added this
}

export const query = graphql`
  fragment ProjectFragment on ProjectsYaml {
    description
    icon
    image {
      childImageSharp {
        fluid(maxWidth: 640, quality: 85) {
          ...GatsbyImageSharpFluid_withWebp
        }
      }
    }
    name
    status
    tags
    url
    iconURL <------ added this
  }
`

No redirect to formspree after message sent

First of all: Great work with this template! It's awesome. I also use it for my personal website! And have a change-request:

There is no real need of redirecting to formspree after a successful message was sent.
When following the formspree react example its also working without a redirect. Would be a way better user experience.

I prepared a pullrequest (#29) for that. For backwards compatibility I didn't changed the metadata field formspreeEndpoint. Even when a formspreeId would be better.

Let me know what you think.

Edit to README

Hey, really appreciate you sharing this theme!

I noticed I wasn't able to receive e-mails using Formspree even though I did set my email correctly in profile.yaml, and verified my email.
I did some digging and came across this:
https://help.formspree.io/hc/en-us/articles/360056076314-Phasing-out-legacy-forms-email-URLs-

I replaced the e-mail field in profile.yaml with my form's endpoint (ex: https://formspree.io/**f/abcdefgh**) provided by Formspree, and everything worked out. Thought I would let you know, so the README can be updated when you get a chance.

Thanks again!

Suggesting for new features

Hello,

This is a wonderful theme and was wondering if a section for education/certificate history could be added. Also, a spot to download a resume. I am not sure how easy that could be done though.

Translations

First i would like to thank you and / or the team for the good work with this theme.
Here is my version of it: https://renzomayer.dev/ i want to add 2 languages support.

And my issue is; what would you recommend for having the same site in 2 languages?

I think 2 or 3 possibilities with gatsby config,
would be great if somebody already did this and can let me know their approach.

favicon

Thank you for such a great gatsby template. Can you guide me how can I add a favicon for my website?

Error with gatsby-plugin-sharp

When running gatsby build, it fails with this error:

ERROR #11329

Your plugins must export known APIs from their gatsby-node.js.

See https://www.gatsbyjs.com/docs/reference/config-files/gatsby-node/ for the list of Gatsby node APIs.

- The plugin [email protected] is using the API "unstable_onPluginInit" which is not a known API.

Some of the following may help fix the error(s):

- Rename "unstable_onPluginInit" -> "onPluginInit"

Can we upgrade gatsby-plugin-sharp?

How to add new pages

First of thanks for creating such a great theme. I wanted a help in adding a new page into this, I couldn't find any documentation regarding this.

My use case is,

  • Add new button at the top named "Posts"
  • That "Posts" should redirect to /posts page which lists the posts.

Can you please guide me how to achieve above things?

Thanks.

Company website and logo

Hi,

thanks for share this great theme.

If would be nice to enrich the work life entries with company logo and job description.

The company name could be a link to the company site if defined.

Image is required in projects.yaml

In the readme, image is not required, however it gives an error when the image parameter is empty or removed.

ERROR #85923 GRAPHQL

There was an error in your GraphQL query:

Cannot query field "image" on type "ProjectsYaml".

If you don't expect "image" to exist on the type "ProjectsYaml" it is most likely a typo.
However, if you expect "image" to exist there are a couple of solutions to common problems:

  • If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
  • The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
  • You want to optionally use your field "image" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "ProjectsYaml":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: node_modules/@wkocjan/gatsby-theme-intro/src/templates/index.js:47:5

Support custom social link

Hi,

there are tons of social networks in the world. Support them all would be result into a huge maintenance.

It would be great to define some custom social links with color and icon inside social.yaml

Optional display text for projects section

Not everyone will want to put work related projects and open source projects together. It would be good if there was an optional display text option where the header will say whatever text you put in there instead of "Projects" for my site I want it to be able to specify "Open Source Projects"

Error with Gatsby v3.0?

When building my site using Gatsby v3.0 and this theme I get the following error

Missing onError handler for invocation 'building-schema', error was 'Enum "ImageFormat" cannot
represent value: "auto"'. Stacktrace was 'GraphQLError: Enum "ImageFormat" cannot represent value:
"auto"

Could this perhaps be due to the new image rendering functionality in Gatsby 3.0?

Project support for both repo url and website url

I have multiple projects that have their own website. Since this theme is aimed at developers it would be nice if the projects section could support website urls and repo urls. This would in my opinion help promote contributions by new developers. Both options should be optional to follow along with the other optional project data.

Yarn add gatsby @wkocjan/gatsby-theme-intro fails because of incompatible versions

yarn add gatsby
yarn add v1.22.10
[1/4] ๐Ÿ”  Resolving packages...
warning gatsby > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning gatsby > gatsby-telemetry > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning gatsby > gatsby-cli > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning gatsby > webpack-dev-server > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning gatsby > webpack-dev-server > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning gatsby > gatsby-cli > gatsby-recipes > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning gatsby > gatsby-cli > gatsby-recipes > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning gatsby > webpack-dev-server > webpack-log > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning gatsby > webpack-dev-server > sockjs > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning gatsby > gatsby-cli > gatsby-recipes > better-queue > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning gatsby > gatsby-cli > gatsby-recipes > @hapi/[email protected]: Switch to 'npm install joi'
warning gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/topo > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: Moved to 'npm install @sideway/address'
warning gatsby > webpack-dev-server > chokidar > anymatch > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning gatsby > webpack-dev-server > chokidar > anymatch > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
[2/4] ๐Ÿšš  Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "10.16.2"
error Found incompatible module.

yarn add @wkocjan/gatsby-theme-intro
yarn add v1.22.10
[1/4] ๐Ÿ”  Resolving packages...
warning @wkocjan/gatsby-theme-intro > gatsby-plugin-sharp > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby-source-filesystem > better-queue > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby-plugin-sharp > gatsby-telemetry > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby > webpack-dev-server > [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @wkocjan/gatsby-theme-intro > gatsby > webpack-dev-server > chokidar > [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @wkocjan/gatsby-theme-intro > gatsby-plugin-react-svg > svg-react-loader > css > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @wkocjan/gatsby-theme-intro > gatsby-plugin-react-svg > svg-react-loader > css > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @wkocjan/gatsby-theme-intro > gatsby > webpack-dev-server > webpack-log > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby > webpack-dev-server > sockjs > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby-plugin-react-svg > svg-react-loader > css > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning @wkocjan/gatsby-theme-intro > gatsby-plugin-sharp > imagemin-pngquant > pngquant-bin > bin-build > tempfile > [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > @hapi/[email protected]: Switch to 'npm install joi'
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/topo > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: Moved to 'npm install @sideway/address'
warning @wkocjan/gatsby-theme-intro > gatsby > gatsby-cli > gatsby-recipes > @hapi/joi > @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
[2/4] ๐Ÿšš  Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "10.16.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

These are the error messages for incompatibility trying to create a new gatsby website with yarn

Support for dark mode

As a developer we typically look at screens most of our day. As a result the bright screen can sometimes cause headaches. It would be nice if there was a toggle button at the top of the page perhaps near the Contact Me button that lets you toggle between dark mode and light mode. You could even have it where when you toggle the button some JavaScript will save the current mode in local storage so that the next time the viewer visits the site it remembers what you set it to. This could even be an extension of the color variants support you have now where you can separate color variants for light mode and dark mode.

error in your graphql query

image
I'm getting this error
It happens when I run gatsby develop
I followed all instructions laid out in the README

Installation steps are not clear

Installation steps mentioned here are not working. Following the steps I don't see the theme applied on 'my-site' app and doesn't work.

mkdir my-site
cd my-site
yarn init -y
yarn add gatsby react react-dom @wkocjan/gatsby-theme-intro

Do I need to create a new gatsby project first before this theme can be applied?

it's not working the build

I followed your instructions in windows and getting this message
gatsby can only be run for a gatsby site.
Either the current working directory does not contain a valid package.json or 'gatsby' is not specified as a dependency

Typo in Social Media label

Currently there is a typo in the Social Media label where the text is "Connnect" instead of "Connect".

This typo is present across all themes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.