Git Product home page Git Product logo

anuraghazra.github.io's Introduction

Gatsby

Anurag Hazra

Creative FrontEnd Web Developer

Build Status GitHub Website

Anurag Hazra Site Preview

Strained eyes? There's DarkMode too :p

NOTE: If you are using this site as a template for your own portfolio site, I would be very glad if you add a link to the original site with my name in footer

🚀 Quick start

Run the site locally

NOTE: The default branch for this repo is develop, when you push or pull make sure you specify the correct branch

Step 1: Clone The Repo

Fork the repository. then clone the repo locally by doing -

git clone https://github.com/anuraghazra/anuraghazra.github.io.git

Step 2: Install Dependencies

cd into the directory

cd anuraghazra.github.io

install all the dependencies

npm install

Step 3: Start Development Server

Then start the development Server

npm run develop

After running the development server the site should be running on https://localhost:8000

📂 What's inside?

A quick look at the folder structure of this project.

.
├── content
│   ├───blog
│   ├───case-studies
│   └───json
├── cypress
├── plugins
└── src
    ├───components
    │   ├───About
    │   ├───Blog
    │   ├───common
    │   ├───Concepts
    │   ├───Contact
    │   ├───CreativeCoding
    │   ├───Home
    │   ├───Layout
    │   │   └───Navbar
    │   ├───Lightbox
    │   ├───Projects
    │   └───Skills
    ├───hooks
    ├───pages
    ├───static
    │   └───images
    ├───styles
    └───templates

Tools Used

  1. Gatsby.js (of course)
  2. Styled Components for styling
  3. Cypress for E2E Testing
  4. Jest for Unit Testing
  5. TravisCI for CI/CD

✌️ Contributing

NOTE: if you want to change the blog content or fix any typo you can do that from github's ui without cloning the repo locally

After cloning & setting up the local project you can push the changes to your github fork and make a pull request.

You can also run the tests locally to see if everything works fine with

Running tests

npm run test
npm run test:e2e

Pushing the changes

git add .
git commit -m "commit message"
git push YOUR_REPO_URL develop

Made with ❤️ and Gatsbyjs

anuraghazra.github.io's People

Contributors

anuraghazra avatar harshhhdev avatar josedefreitas avatar piyushsuthar avatar suyash-purwar avatar vanshajpoonia avatar vivek-nexus 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  avatar  avatar  avatar

anuraghazra.github.io's Issues

Typo in home.js

Javascript is used as Javascirpt and beautiful as beautifull.

Minor typo

<p style={{ float: 'right' }}>
Made with love and
<a href="https://gatsbyjs.org" target="__blank">
&nbsp;gatsby&nbsp;
</a>
by
<a href="https://github.com/anuraghazra" target="__blank">
&nbsp;me
</a>

@anuraghazra Found a minor but quite visible typo, should be "Made with love by Gatsby & Me". Also, maybe replace "love" by ❤️ .

[a11y]: Do accessibility assessment and improve a11y overall

I built this site over 2 years ago, that time I had very limited experience and knowledge of a11y. But from past year working and building on a fully a11y component library I've learned a lot about a11y which I could use to improve the experience.

  • First obvious feature which is missing is skip-navigation.

Update the font of Navbar

Hii, Amazing website

It will be great if you change the Navbar titles to Capitalize titles,
like: Home, About me, etc.

I hope you would like my suggestion.

Minor typos/grammatical errors in certain sections.

Hey Anurag, I came across your portfolio website and noticed a few typos/grammatical errors in a few sections on the page:

The ones in the quotes are the typos/errors, and the ones in the code blocks are the corrected ones.

I also posses magical powers of using react to build delightful user interfaces.
I also love doing open source development, I actively maintain various notable open source projects with over,
30k+ stars on GitHub and 50m+ hits.

I also possess magical powers of using react to build delightful user interfaces.
I also love doing open source development. I actively maintain various notable open source projects with over 30k+ stars on GitHub and 50m+ hits.

Evolution Aquarium is based on Craig Reynold's Steering Behaviors and Flocking System, and It implements a Genetic Algorithm and mutations.

Evolution Aquarium is based on Craig Reynold's Steering Behaviors and Flocking System, and it implements a Genetic Algorithm and mutations.

ShaderExpo Includes rich features like Inline Error Logs

ShaderExpo includes rich features like Inline Error Logs

I used device orientation API to get the alpha, gamma, delta rotations of the mobile device and then use it to control the player. also available on itch.io

I used device orientation API to get the alpha, gamma, delta rotations of the mobile device and then used it to control the player. Also available on itch.io

EDIT: Had to close the older issue and create a new one, as I had accidentally created the older one through my company account.

Adding pagination

Hello @anuraghazra

I really like your blog and i'm currently using it as a way to learn gatsby and as a template for my portfolio.

I had a question regarding the blog posts though, is it possible to add a pagination? to display for example 5 posts per page. this would be superb!

Ahmed

FIxing side projects section

I noticed that below your videos, you have three logos. Is it supposed to be like that? Your website looks epic, but you could move them to another place or remove them.

Download resume not working

Hey Anurag, you website is amazing !
However, the "Download resume" button is not working. I'm not sure if that was intended or if it's a little detail you missed out ?
Anyways, I thought I should let you know

Minor typos/grammatical errors in certain section

Hey Anurag, I came across your portfolio website and noticed a few typos/grammatical errors in a few sections on the page:

The ones in the quotes are the typos/errors, and the ones in the code blocks are the corrected ones.

I also posses magical powers of using react to build delightful user interfaces.
I also love doing open source development, I actively maintain various notable open source projects with over,
30k+ stars on GitHub and 50m+ hits.

I also possess magical powers of using react to build delightful user interfaces.
I also love doing open source development. I actively maintain various notable open source projects with over 30k+ stars on GitHub and 50m+ hits.

Evolution Aquarium is based on Craig Reynold's Steering Behaviors and Flocking System, and It implements a Genetic Algorithm and mutations.

Evolution Aquarium is based on Craig Reynold's Steering Behaviors and Flocking System, and it implements a Genetic Algorithm and mutations.

ShaderExpo Includes rich features like Inline Error Logs

ShaderExpo includes rich features like Inline Error Logs

I used device orientation API to get the alpha, gamma, delta rotations of the mobile device and then use it to control the player. also available on itch.io

I used device orientation API to get the alpha, gamma, delta rotations of the mobile device and then used it to control the player. Also available on itch.io

NPM Install Error

Hi, I am trying to install the dependencies for this using the npm install but I get this error. Any hints? I tried updating my npm package but that didn't work.

npm ERR! code 1
npm ERR! path /Users/nateloker/Documents/nateloker/anuraghazra.github.io/node_modules/gatsby-transformer-sharp/node_modules/sharp
npm ERR! command failed
npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
npm ERR! CC(target) Release/obj.target/nothing/../../../node-addon-api/nothing.o
npm ERR!   LIBTOOL-STATIC Release/nothing.a
npm ERR!   TOUCH Release/obj.target/libvips-cpp.stamp
npm ERR!   CXX(target) Release/obj.target/sharp/src/common.o
npm ERR! info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-darwin-arm64v8.tar.br
npm ERR! ERR! sharp Prebuilt libvips 8.10.5 binaries are not yet available for darwin-arm64v8
npm ERR! info sharp Attempting to build from source via node-gyp but this may fail due to the above error
npm ERR! info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | arm64
npm ERR! gyp info find Python using Python version 3.8.9 found at "/Library/Developer/CommandLineTools/usr/bin/python3"
npm ERR! gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/nateloker/Documents/nateloker/anuraghazra.github.io/node_modules/gatsby-transformer-sharp/node_modules/sharp/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/nateloker/Library/Caches/node-gyp/20.3.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/nateloker/Library/Caches/node-gyp/20.3.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/nateloker/Library/Caches/node-gyp/20.3.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/nateloker/Documents/nateloker/anuraghazra.github.io/node_modules/gatsby-transformer-sharp/node_modules/sharp',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! warning: /Library/Developer/CommandLineTools/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
npm ERR! ../src/common.cc:24:10: fatal error: 'vips/vips8' file not found
npm ERR! #include <vips/vips8>
npm ERR!          ^~~~~~~~~~~~
npm ERR! 1 error generated.
npm ERR! make: *** [Release/obj.target/sharp/src/common.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:511:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Darwin 21.3.0
npm ERR! gyp ERR! command "/opt/homebrew/Cellar/node/20.3.0/bin/node" "/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/nateloker/Documents/nateloker/anuraghazra.github.io/node_modules/gatsby-transformer-sharp/node_modules/sharp
npm ERR! gyp ERR! node -v v20.3.0
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: /Users/nateloker/.npm/_logs/2023-06-15T22_20_49_774Z-debug-0.log

Scrollbar which fits dark mode

image

The white scrollbar on the dark mode page just kinda sticks out like a sore thumb, it would be nice to make it so that the scrollbar also switches colour to stay consistent w/ the theme.

Linkedin Fontawesome icon not working

Hi,

Great website, I'm building my site upon this.

I tried putting in LinkedIn profile on my home page but the icon is not rendering do I need to add something

<IconLink
label="linkedin"
icon={['fab', 'linkedin']}
href="#"
/>

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.