Skip to content

Improvements #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.configureOnOpen": false
}
3 changes: 3 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ module.exports = {
lbg: "lloyds.png",
navsoft: "navsoft.png",
maastrixsolutions: "maastrix.png",
},
skillHighLights: {

},
jobDetails: {
"full-stack-dev": {
Expand Down
11 changes: 5 additions & 6 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ exports.createPages = ({ graphql, actions }) => {
},
})
})
//Comming soon page for otheres
//Coming soon page for others
createPage({
path: "works",
component: comingSoonTemplate,
Expand All @@ -74,6 +74,7 @@ exports.createPages = ({ graphql, actions }) => {
slug: node.fields.slug,
},
})
console.log(node.fields.slug)
const pageName = node.fields.slug.split("/")[1]
createPage({
path: pageName,
Expand All @@ -83,12 +84,11 @@ exports.createPages = ({ graphql, actions }) => {
regex: `/${pageName}\//gi`,
},
})

})
//Tages pages
result.data.allMarkdownRemark.edges.forEach(({ node }) => {
(node.frontmatter.tags || "").split(",").forEach((tag) => {
const tagFinal = tag.trim().replace(/ /ig, "")
;(node.frontmatter.tags || "").split(",").forEach(tag => {
const tagFinal = tag.trim().replace(/ /gi, "")
createPage({
path: `tags/${tagFinal}`,
component: path.resolve(`./src/templates/tags-list-post.jsx`),
Expand All @@ -113,6 +113,5 @@ exports.onCreateNode = ({ node, getNode, actions }) => {
name: `slug`,
value: slug,
})

}
}
}
58 changes: 41 additions & 17 deletions src/components/Header.js
Original file line number Diff line number Diff line change
@@ -1,50 +1,74 @@
import React from 'react';
import React from "react"
import {
Collapse,
Navbar,
NavbarToggler,
NavbarBrand,
Nav,
NavItem,
NavLink
} from 'reactstrap';
NavLink,
} from "reactstrap"

export default class Example extends React.Component {
constructor(props) {
super(props);
super(props)

this.toggle = this.toggle.bind(this);
this.toggle = this.toggle.bind(this)
this.state = {
isOpen: false
};
isOpen: false,
}
}
toggle() {
this.setState({
isOpen: !this.state.isOpen
});
isOpen: !this.state.isOpen,
})
}
render() {
return (
<Navbar color="dark" dark expand="md" className="sticky-top pb-xl-0 pt-xl-0">
<NavbarBrand href="/" className="border border-secondary rounded-circle pl-2 pr-2 border-0">SP</NavbarBrand>
<Navbar
color="dark"
dark
expand="md"
className="sticky-top pb-xl-0 pt-xl-0"
>
<NavbarBrand
href="/"
className="border border-secondary rounded-circle pl-2 pr-2 border-0"
>
SP
</NavbarBrand>
<NavbarToggler onClick={this.toggle} />
<Collapse isOpen={this.state.isOpen} navbar>
<Nav className="ml-auto" navbar>
<NavItem>
<NavLink className="text-light" href="/works/">MY WORK</NavLink>
<NavLink className="text-light" href="/works/">
MY WORK
</NavLink>
</NavItem>
<NavItem>
<NavLink className="text-light" href="https://resume.io/r/fLlndyLmA">RESUME</NavLink>
<NavLink
className="text-light"
href="/SanjayPanda - Resume - Full stack.pdf"
>
RESUME
</NavLink>
</NavItem>
<NavItem>
<NavLink className="text-light" href="/blogs">BLOG</NavLink>
<NavLink className="text-light" href="/blogs">
BLOG
</NavLink>
</NavItem>
<NavItem>
<NavLink className="text-light" href="mailto:contact@sanjaypanda.com">CONTACT</NavLink>
<NavLink
className="text-light"
href="mailto:contact@sanjaypanda.com"
>
CONTACT
</NavLink>
</NavItem>
</Nav>
</Collapse>
</Navbar>
);
)
}
}
}
59 changes: 0 additions & 59 deletions src/components/MainPainal.js

This file was deleted.

76 changes: 76 additions & 0 deletions src/components/MainPanel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import React from "react"
import { Col, CardDeck } from "reactstrap"
import { graphql, StaticQuery } from "gatsby"
import JobDesc from "./JobDesc"

export default () => {
return (
<StaticQuery
query={graphql`
query {
site {
siteMetadata {
jobDetails {
full_stack_dev {
header
text
}
ui_application_development {
header
text
}
node_js_development {
header
text
}
spa_development {
header
text
}
}
}
}
}
`}
render={data => {
const jobDetails = data.site.siteMetadata.jobDetails
return (
<Col
sm="9"
md="9"
xl="8"
className="ml-md-auto ml-sm-auto mr-sm-auto ml-xl-auto mr-xl-auto order-1 order-sm-1 p-3"
>
<JobDesc
className="mb-3"
{...jobDetails["full_stack_dev"]}
path="full_stack_dev"
key={1}
headerCss="bg-card-yellow text-light display-4"
/>
<CardDeck>
<JobDesc
{...jobDetails["ui_application_development"]}
path="ui_application_development"
key={2}
headerCss="bg-card-blue text-light"
/>
<JobDesc
{...jobDetails["node_js_development"]}
path="node_js_development"
key={3}
headerCss="bg-card-green text-light"
/>
<JobDesc
{...jobDetails["spa_development"]}
path="spa_development"
key={4}
headerCss="bg-card-red text-light"
/>
</CardDeck>
</Col>
)
}}
/>
)
}
43 changes: 43 additions & 0 deletions src/components/MainPanelV2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import React from "react"
import { Col } from "reactstrap"
import SkillHighLights from "./SkillHighLights"
import { graphql } from "gatsby"
const MainPanelV2 = ({ data }) => {
return (
<Col
sm="9"
md="9"
xl="8"
className="ml-md-auto ml-sm-auto mr-sm-auto ml-xl-auto mr-xl-auto order-1 order-sm-1 p-3"
>
<SkillHighLights
skills={[
"Articulating requirement and build solution",
"Agile developer mindset",
"Empower team to understand and build better product",
"Fullstack mindset",
]}
/>
</Col>
)
}

const query = graphql`
query {
allMarkdownRemark {
edges {
node {
fields {
slug
}
frontmatter {
tags
date
}
html
}
}
}
}
`
export default MainPanelV2
12 changes: 12 additions & 0 deletions src/components/SkillHighLights.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from "react"
import { Badge } from "reactstrap"

export default ({ skills }) => {
return (
<div>
{skills.map(skill => (
<Badge href="#">{skill}</Badge>
))}
</div>
)
}
10 changes: 10 additions & 0 deletions src/pages/blogs/trunk-based-development.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Trunk based development
subtitle: A process and also idea! make your life easyer
date: 20-06-2020
auther: Sanjay
readtime: 2 min
tags: Git,Toggles,Feature Toggles,CI CD Pipeline,Automation
keywords: Feature Toggles, Merge Hell, CI CD Pipeline, Automation
externallink: https://www.npmjs.com/package/babel-plugin-feature-toggles
---
4 changes: 2 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import Layout from "../components/layout"
import SEO from '../components/seo'
import PortfolioSideBar from "../components/PortfolioSideBar";
import SkillsSideBar from "../components/SkillsSideBar";
import MainPainal from "../components/MainPainal";
import MainPanelV2 from "../components/MainPanelV2";

export default () => {
return (
<Layout>
<SEO title="Home" keywords={[`Sanjay Panda`, `Fullstack developer`, `react`, `node`]} />
<Row className="flex-xl-nowrap no-gutters" >
<PortfolioSideBar />
<MainPainal />
<MainPanelV2 />
<SkillsSideBar />
</Row>
</Layout>
Expand Down
12 changes: 12 additions & 0 deletions src/pages/works/babel-plugins-feature-toggles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: babel-plugin-feature-toggles
subtitle: A Babel plugin that helps remove unfinished code from your JavaScript and Node Js application on build time. This is a configuration based feature toggling.
date: 20-06-2020
auther: Sanjay
readtime: 2 min
tags: Git,Toggles,Feature Toggles,CI CD Pipeline,Automation
keywords: Feature Toggles, Merge Hell, CI CD Pipeline, Automation
externallink: https://www.npmjs.com/package/babel-plugin-feature-toggles
---

#### A Babel plugin that helps remove unfinished code from your JavaScript and Node Js application on build time. This is a configuration based feature toggling.
Binary file added static/SanjayPanda - Resume - Full stack.pdf
Binary file not shown.