Skip to content

Commit 108af3f

Browse files
authored
Merge branch 'bchiang7:main' into main
2 parents 1b765a9 + d5b6814 commit 108af3f

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

gatsby-node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
1515
const result = await graphql(`
1616
{
1717
postsRemark: allMarkdownRemark(
18-
filter: { fileAbsolutePath: { regex: "/posts/" } }
18+
filter: { fileAbsolutePath: { regex: "/content/posts/" } }
1919
sort: { order: DESC, fields: [frontmatter___date] }
2020
limit: 1000
2121
) {

src/components/sections/featured.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ const Featured = () => {
307307
const data = useStaticQuery(graphql`
308308
{
309309
featured: allMarkdownRemark(
310-
filter: { fileAbsolutePath: { regex: "/featured/" } }
310+
filter: { fileAbsolutePath: { regex: "/content/featured/" } }
311311
sort: { fields: [frontmatter___date], order: ASC }
312312
) {
313313
edges {

src/components/sections/jobs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const Jobs = () => {
168168
const data = useStaticQuery(graphql`
169169
query {
170170
jobs: allMarkdownRemark(
171-
filter: { fileAbsolutePath: { regex: "/jobs/" } }
171+
filter: { fileAbsolutePath: { regex: "/content/jobs/" } }
172172
sort: { fields: [frontmatter___date], order: DESC }
173173
) {
174174
edges {

src/components/sections/projects.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const Projects = () => {
170170
query {
171171
projects: allMarkdownRemark(
172172
filter: {
173-
fileAbsolutePath: { regex: "/projects/" }
173+
fileAbsolutePath: { regex: "/content/projects/" }
174174
frontmatter: { showInProjects: { ne: false } }
175175
}
176176
sort: { fields: [frontmatter___date], order: DESC }

src/pages/archive.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export default ArchivePage;
245245
export const pageQuery = graphql`
246246
{
247247
allMarkdownRemark(
248-
filter: { fileAbsolutePath: { regex: "/projects/" } }
248+
filter: { fileAbsolutePath: { regex: "/content/projects/" } }
249249
sort: { fields: [frontmatter___date], order: DESC }
250250
) {
251251
edges {

src/pages/pensieve/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export default PensievePage;
211211
export const pageQuery = graphql`
212212
{
213213
allMarkdownRemark(
214-
filter: { fileAbsolutePath: { regex: "/posts/" }, frontmatter: { draft: { ne: true } } }
214+
filter: { fileAbsolutePath: { regex: "/content/posts/" }, frontmatter: { draft: { ne: true } } }
215215
sort: { fields: [frontmatter___date], order: DESC }
216216
) {
217217
edges {

src/styles/GlobalStyle.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ const GlobalStyle = createGlobalStyle`
5555
scrollbar-width: thin;
5656
scrollbar-color: var(--dark-slate) var(--navy);
5757
}
58-
body::-webkit-scrollbar {
58+
::-webkit-scrollbar {
5959
width: 12px;
6060
}
61-
body::-webkit-scrollbar-track {
61+
::-webkit-scrollbar-track {
6262
background: var(--navy);
6363
}
64-
body::-webkit-scrollbar-thumb {
64+
::-webkit-scrollbar-thumb {
6565
background-color: var(--dark-slate);
6666
border: 3px solid var(--navy);
6767
border-radius: 10px;

0 commit comments

Comments
 (0)