This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="flex"> | |
<div class="description"> | |
<!-- description will be here --> | |
</div> | |
<div class="image"> | |
<!-- image will be here. currenlty, can apply any background color here --> | |
</div> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<Header /> | |
<LandingSection /> | |
<MiddleSection /> | |
<CTASection /> | |
<Footer /> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="flex"> | |
<div class="description"> | |
We develop amazing products to help | |
Startups | |
bring their ideas to life. | |
<router-link :to="contactURL"> | |
<span>Let's talk</span> | |
<font-awesome-icon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineStore } from "pinia"; | |
import axios from "axios"; | |
export const useJobDetailStore = defineStore("job-detail", { | |
state: () => { | |
return { | |
item: null, | |
error: null, | |
}; | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
vuex store actions | |
*/ | |
const actions = { | |
getJobs({ commit }) { | |
return new Promise((resolve, reject) => { | |
axios | |
.get(BASE_API_URL + "/api/careers") | |
.then((response) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
vuex store getters | |
*/ | |
const getters = { | |
jobs: (state) => state.jobs, | |
jobById: (state) => state.jobById, | |
jobsError: (state) => state.jobsError, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* vuex store state | |
To access it, we need getters like, store.getters.jobs | |
*/ | |
const state = { | |
jobs: null, | |
jobById: null, | |
jobsError: null, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { defineStore } from "pinia"; | |
import axios from "axios"; | |
export const useJobListStore = defineStore("jobs", { | |
state: () => { | |
return { | |
items: null, | |
error: null, | |
}; | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from "axios"; | |
const defaultState = { | |
jobs: null, | |
jobById: null, | |
jobsError: null, | |
}; | |
const getters = { | |
jobs: (state) => state.jobs, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func parseJwtSignedData(tokenStr string) error { | |
rootCertStr, err := extractHeaderByIndex(tokenStr, 2) // get root cert from X5c header | |
if err != nil { | |
return err | |
} | |
intermediateCertStr, err := extractHeaderByIndex(tokenStr, 1) // get intermediate cert from X5c header | |
if err != nil { | |
return err |