Skip to content

Commit

Permalink
Fix resume link so that it works on all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rynoV committed Dec 5, 2021
1 parent cb9ce40 commit 4b4b6e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions @types/generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2464,6 +2464,8 @@ export type QueryAllDirectoryArgs = {
export type QuerySiteArgs = {
buildTime?: Maybe<DateQueryOperatorInput>;
siteMetadata?: Maybe<SiteSiteMetadataFilterInput>;
port?: Maybe<IntQueryOperatorInput>;
host?: Maybe<StringQueryOperatorInput>;
polyfill?: Maybe<BooleanQueryOperatorInput>;
pathPrefix?: Maybe<StringQueryOperatorInput>;
id?: Maybe<StringQueryOperatorInput>;
Expand Down Expand Up @@ -2652,6 +2654,8 @@ export type QueryAllSitePluginArgs = {
export type Site = Node & {
buildTime?: Maybe<Scalars['Date']>;
siteMetadata?: Maybe<SiteSiteMetadata>;
port?: Maybe<Scalars['Int']>;
host?: Maybe<Scalars['String']>;
polyfill?: Maybe<Scalars['Boolean']>;
pathPrefix?: Maybe<Scalars['String']>;
id: Scalars['ID'];
Expand Down Expand Up @@ -2864,6 +2868,8 @@ export type SiteFieldsEnum =
| 'siteMetadata___authorGitHubUsername'
| 'siteMetadata___authorGitHub'
| 'siteMetadata___authorTwitter'
| 'port'
| 'host'
| 'polyfill'
| 'pathPrefix'
| 'id'
Expand Down Expand Up @@ -2956,6 +2962,8 @@ export type SiteFieldsEnum =
export type SiteFilterInput = {
buildTime?: Maybe<DateQueryOperatorInput>;
siteMetadata?: Maybe<SiteSiteMetadataFilterInput>;
port?: Maybe<IntQueryOperatorInput>;
host?: Maybe<StringQueryOperatorInput>;
polyfill?: Maybe<BooleanQueryOperatorInput>;
pathPrefix?: Maybe<StringQueryOperatorInput>;
id?: Maybe<StringQueryOperatorInput>;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function Layout({
<NavLink currentPath={currentPath} to='/projects' key='/projects'>
Projects
</NavLink>,
<a href='calum_sieppert_resume.pdf' className={linkClasses}>Resume</a>,
<a href='/calum_sieppert_resume.pdf' className={linkClasses}>Resume</a>,
<NavLink currentPath={currentPath} to='/posts' key='/posts'>
Posts
</NavLink>,
Expand Down

0 comments on commit 4b4b6e5

Please sign in to comment.