@@ -54,7 +54,7 @@ const StyledLink = styled.a`
5454 padding: 8pt 12pt;
5555
5656 /* Coloring */
57- background-color : var(--secondary );
57+ background: var(--star-gradient );
5858 color: var(--secondary-text);
5959
6060 transition: 0.25s ease-in-out;
@@ -74,7 +74,7 @@ const StyledLink = styled.a`
7474 }
7575`
7676
77- const article = ( subject ) => ( / ^ [ a e i o u A E I O U ] / . test ( subject ) ? 'an' : 'a' )
77+ const article = subject => ( / ^ [ a e i o u A E I O U ] / . test ( subject ) ? 'an' : 'a' )
7878
7979export default function About ( ) {
8080 // Query
@@ -88,13 +88,15 @@ export default function About() {
8888 }
8989 }
9090 }
91- profile: file(relativePath: {eq: "images/profile.jpg"}) {
91+ profile: file(relativePath: { eq: "images/profile.jpg" }) {
9292 childImageSharp {
9393 gatsbyImageData(
94- layout: FIXED,
95- width: 300,
96- aspectRatio: 1,
97- transformOptions: {duotone: {highlight: "#0088ff", shadow: "#000000"}}
94+ layout: FIXED
95+ width: 300
96+ aspectRatio: 1
97+ transformOptions: {
98+ duotone: { highlight: "#0088ff", shadow: "#000000" }
99+ }
98100 )
99101 }
100102 }
@@ -110,7 +112,8 @@ export default function About() {
110112 < h1
111113 data-sal = "slide-up"
112114 data-sal-duration = "500"
113- data-sal-easing = "ease" >
115+ data-sal-easing = "ease"
116+ >
114117 About Me
115118 </ h1 >
116119 < Grid >
@@ -127,17 +130,24 @@ export default function About() {
127130 data-sal = "slide-up"
128131 data-sal-delay = "200"
129132 data-sal-duration = "500"
130- data-sal-easing = "ease" >
133+ data-sal-easing = "ease"
134+ >
131135 { about . site . siteMetadata . description
132- . replace ( '#jobTitle' , `${ article ( about . workYaml . jobTitle ) } ${ about . workYaml . jobTitle } ` )
136+ . replace (
137+ '#jobTitle' ,
138+ `${ article ( about . workYaml . jobTitle ) } ${
139+ about . workYaml . jobTitle
140+ } `
141+ )
133142 . replace ( '#company' , about . workYaml . company ) }
134143 </ Blurb >
135144 < StyledLink
136145 href = { `https://github.com/${ about . site . siteMetadata . contact . github } ` }
137146 data-sal = "slide-up"
138147 data-sal-delay = "300"
139148 data-sal-duration = "500"
140- data-sal-easing = "ease" >
149+ data-sal-easing = "ease"
150+ >
141151 < FontAwesomeIcon className = "icon" icon = { faGithub } />
142152 < span className = "text" > Check out my GitHub</ span >
143153 </ StyledLink >
0 commit comments