Skip to content

Commit 30c9d4b

Browse files
committed
relayouting job page
1 parent b4d7ae0 commit 30c9d4b

File tree

14 files changed

+84
-202
lines changed

14 files changed

+84
-202
lines changed

content/blog/2019/testing-first-posting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ description: "testing first posting"
55
published: false
66
tags: ['Info', 'Cover Image']
77
author: Putera Kahfi
8+
categori: blog
89

910
---
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
---
22
title: Backend Developer Seven Media Tech
33
date: 2019-06-17
4-
event_date: 2019-06-17
4+
location: jakarta
5+
job_type: full
6+
due_date: 2019-06-17
57
author: Putera Kahfi
68
by: Seven Media Tech
79
published: true
810
tags: ["loker","lowongan"]
911
series: false
1012
category: job
11-
cover_image:
13+
cover_image: hmm
1214
canonical_url: false
1315
description: ""
14-
---
15-
![Poster](https://scontent-sin2-2.xx.fbcdn.net/v/t1.0-9/64318422_2181541771939620_4057956904524054528_n.jpg?_nc_cat=100&_nc_ht=scontent-sin2-2.xx&oh=e8cfc2cc7d0f71856e793c84feba6ec3&oe=5D8A8A37)
16+
poster: https://scontent-sin2-2.xx.fbcdn.net/v/t1.0-9/64318422_2181541771939620_4057956904524054528_n.jpg?_nc_cat=100&_nc_ht=scontent-sin2-2.xx&oh=e8cfc2cc7d0f71856e793c84feba6ec3&oe=5D8A8A37
17+
---

content/job/2019/square-techno.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ published: true
88
tags: ["loker","lowongan"]
99
series: false
1010
category: job
11-
cover_image:
11+
cover_image: hmm
1212
canonical_url: false
1313
description: ""
14-
---
15-
16-
17-
![Poster](https://scontent-sin2-2.xx.fbcdn.net/v/t1.0-9/62643039_2316218722032812_2698128176520888320_n.jpg?_nc_cat=109&_nc_ht=scontent-sin2-2.xx&oh=3820cfe4feb061f964a388cd22f4f110&oe=5D7ED958)
14+
poster: https://scontent-sin2-2.xx.fbcdn.net/v/t1.0-9/62643039_2316218722032812_2698128176520888320_n.jpg?_nc_cat=109&_nc_ht=scontent-sin2-2.xx&oh=3820cfe4feb061f964a388cd22f4f110&oe=5D7ED958
15+
---

gridsome.config.js

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,9 @@ module.exports = {
1111
{
1212
use: "@gridsome/source-filesystem",
1313
options: {
14-
path: "content/job/**/*.md",
1514
typeName: "Job",
16-
remark: {
17-
plugins: [
18-
'@gridsome/remark-prismjs'
19-
]
20-
}
21-
}
22-
},
23-
{
24-
use: "@gridsome/source-filesystem",
25-
options: {
26-
path: "content/event/*.md",
27-
typeName: "Event",
15+
path: "content/job/**/*.md",
16+
route: '/job/:year/:month/:day/:slug',
2817
remark: {
2918
plugins: [
3019
'@gridsome/remark-prismjs'
@@ -36,7 +25,7 @@ module.exports = {
3625
use: "@gridsome/source-filesystem",
3726
options: {
3827
path: "content/blog/*.md",
39-
route: '/blog/:year/:month/:day/:slug',
28+
route: '/post/:year/:month/:day/:slug',
4029
typeName: "Post",
4130
remark: {
4231
plugins: [
@@ -45,19 +34,6 @@ module.exports = {
4534
}
4635
}
4736
},
48-
{
49-
use: "@gridsome/source-filesystem",
50-
options: {
51-
path: "content/info/*.md",
52-
route: '/info/:year/:month/:day/:slug',
53-
typeName: "Info",
54-
remark: {
55-
plugins: [
56-
'@gridsome/remark-prismjs'
57-
]
58-
}
59-
}
60-
},
6137
{
6238
use: "@gridsome/plugin-google-analytics",
6339
options: {

src/assets/style/main.scss

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
@import url("https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css");
33
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
44
@import url("https://use.fontawesome.com/releases/v5.2.0/css/all.css");
5+
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');
56
@import "bulma.scss";
67
@import "helpers.scss";
78

89
body {
910
background: #fafafa;
11+
font-family: 'Roboto', sans-serif;
12+
1013
}
1114

1215
.tabs.is-boxed li.is-active a {
@@ -54,7 +57,7 @@ h4 {
5457

5558
.github-profile,
5659
.github-profile:hover {
57-
color: #495961;
60+
color: rgba(0,0,0,.6);
5861
font-weight: 600;
5962
text-decoration: none;
6063
}
@@ -85,5 +88,9 @@ h4 {
8588

8689

8790
p{
88-
color:#6a7898;
91+
color:rgba(0,0,0,.6);
92+
}
93+
94+
.navbar-item, .navbar-link {
95+
color: #4a4a4a !important;
8996
}

src/components/LatestInfo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919
<static-query>
2020

2121
query Info {
22-
info: allInfo( filter: { category: { eq:"info"} , published: { eq: true }}, sortBy: "date", limit: 5, order: DESC) {
22+
info: allPost( filter: { category: { eq:"info"} , published: { eq: true }}, sortBy: "date", limit: 5, order: DESC) {
2323
edges {
2424
node {
2525
id

src/components/LatestJob.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919
<static-query>
2020

2121
query Job {
22-
jobs: allPost( filter: { category: { eq:"job"} , published: { eq: true }}, sortBy: "date", limit: 5, order: DESC) {
22+
jobs: allJob( filter: { category: { eq:"job"} , published: { eq: true }}, sortBy: "date", limit: 5, order: DESC) {
2323
edges {
2424
node {
2525
id
@@ -31,6 +31,7 @@ query Job {
3131
category
3232
path
3333
cover_image
34+
location
3435
}
3536
}
3637
}

src/components/Navbar.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,7 @@
2525

2626
<div id="navbarBasicExample" class="navbar-menu">
2727
<div class="navbar-start">
28-
<div class="navbar-item">
29-
<g-link class="nav__link" to="/blog">blog</g-link>
30-
</div>
31-
<div class="navbar-item">
32-
<g-link class="nav__link" to="/events">events</g-link>
33-
</div>
34-
28+
3529
</div>
3630
<div class="navbar-end">
3731
<div class="navbar-item">

src/components/PostingCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<span class="is-info">{{edge.node.category}}</span>
1010
</p>
1111
<p class="title is-5 has-margin-bottom-30">
12-
<g-link class="has-text-grey-darker" :to="edge.node.slug">{{edge.node.title}}</g-link>
12+
<g-link class="has-text-grey-darker" :to="edge.node.path">{{edge.node.title}}</g-link>
1313
</p>
1414

1515
<p

src/pages/Blog.vue

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)