Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic job description #8

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ba04b84
base changes
prabhatsharma May 26, 2023
c58d7c5
add opentelemetry to text
prabhatsharma May 27, 2023
895a79c
change folder name zincobserve to openobserve
May 30, 2023
a2377df
add new theme color
May 30, 2023
16bfa59
remove bgimage
May 30, 2023
2846ac3
change bg color in nuber component
May 30, 2023
bfe4e00
change bg color and rounded color in CardItem
May 30, 2023
257093b
change heading title text color and header hover text color
May 30, 2023
5d5d895
add margin in y axis in faq section between two faq
May 30, 2023
4ca6919
chang bg color and text- color in pricing page
May 30, 2023
b4e9750
change breadcrumbs bg color
May 30, 2023
20fb5ee
remove hover in tag
May 30, 2023
9373b8d
change bg image and color in footer and card
May 30, 2023
96954c0
change text color
May 30, 2023
95dc9d9
fix footer icon colors
ktx-kirtan May 30, 2023
ba7368c
fix heighlight color
ktx-kirtan May 30, 2023
43081f3
change svg in features pages
May 30, 2023
aeb8c78
fix slug thing
ktx-kirtan May 30, 2023
8987f13
made new job apply page
May 22, 2023
4329115
working on file type pdf
May 22, 2023
bae6a64
add function for presigned url and then pass res object to db
May 23, 2023
fe7878a
solve error
May 23, 2023
27d5e04
solve syntax error
May 23, 2023
a6e7ea1
add new icon in pricing page
May 30, 2023
9015d1a
fix error
ktx-kirtan May 30, 2023
26a0e92
fix faqs page not loading
ktx-kirtan May 30, 2023
113593a
updates to apply page
ktx-kirtan May 30, 2023
6abd976
change svg color in contact us page
May 30, 2023
1962cfb
updates to the apply function
ktx-kirtan May 30, 2023
955f525
change title and aboutus bg
May 30, 2023
cbe2ce3
update hiring section
ktx-kirtan May 30, 2023
ac43279
remove jobs temporarily
ktx-kirtan May 30, 2023
21df98a
fix hiring section visibility
ktx-kirtan May 30, 2023
480d0ca
change Zinc Cloud to OpenObserve Cloud
ktx-kirtan May 31, 2023
dae081d
Merge branch 'main' into openobserve
ktx-kirtan May 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# website4
Next gen website for zinc.dev

Next gen website for openobserve.ai
6 changes: 3 additions & 3 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
--theme-color-text-primary-dark: #ffffff;
--nav-bar-top-margin: 6rem;
--nav-height: 100px;
--theme-color-hero-highlight-text: #5960B2;
--swiper-navigation-color:#5960B2 ;
--theme-color-hero-highlight-text: #ED4725;
--swiper-navigation-color:#ED4725 ;

}

Expand All @@ -24,6 +24,6 @@ body {
}

.highlight {
color: #5960B2;
color: #ED4725;
}

6 changes: 3 additions & 3 deletions blog/pages/blog/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
/>

<div
class="blog-content container mx-auto px-4 pb-8 mt-8 flex flex-col md:flex-row"
class=" container mx-auto px-4 pb-8 mt-8 flex flex-col md:flex-row"
>
<article style="flex: 5" class="md:pr-8">
<article style="flex: 5" class="blog-content md:pr-8">
<h1 class="text-4xl text-left text-black">{{ article.title }}</h1>

<div
Expand Down Expand Up @@ -185,7 +185,7 @@ useHead({
<style lang="postcss" scoped>
:deep(.nuxt-content h1),
.blog-content h1 {
@apply text-2xl md:text-4xl mb-4 text-theme-primary-600 font-medium;
@apply text-2xl md:text-4xl mb-4 text-black font-medium;
}

:deep(.nuxt-content h2),
Expand Down
5 changes: 2 additions & 3 deletions blog/utils/getSiteMeta.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const type = "website";
const url = "https://zinc.dev";
const url = "https://openobserve.ai";
const title = "ZincLab Website";
const description = "ZincLab Website";
const mainImage = `/img/logo.png`;

// Ref: https://redfern.dev/articles/adding-social-media-seo-meta-data-using-nuxt-content/

export default (article:any) => {
export default (article: any) => {
return [
{
hid: "description",
Expand Down Expand Up @@ -37,7 +37,6 @@ export default (article:any) => {
hid: "og:image",
property: "og:image",
content: (article && `/img/blog/${article.img}`) || mainImage,

},
{
hid: "twitter:url",
Expand Down
36 changes: 18 additions & 18 deletions components/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="">
<div
class="w-full bg-cover bg-[url('/img/homepage/footerbg5.svg')] bg-no-repeat h-full"
class="w-full bg-cover bg-[url('/img/footerbg.png')] bg-no-repeat h-full "
>
<footer class="w-full body-font pt-20">
<div
Expand All @@ -19,7 +19,7 @@
/>
</div>
</nuxt-link>
<p class="lg:mt-1 text-sm text-white text-center md:text-left">
<p class="lg:mt-1 text-sm text-black text-center md:text-left">
{{ footerData.address }}
</p>
</div>
Expand All @@ -30,36 +30,36 @@
class="flex flex-col md:space-x-10 lg:space-x-28 space-y-6 md:space-y-0 md:flex-row"
>
<div class="w-full">
<div class="flex flex-col text-white">
<div class="flex flex-col text-black">
<h3 class="font-bold text-lg pb-2 text-center md:text-left">
{{ footerData.quickLink.title }}
</h3>
</div>
<ul>
<li
class="list-none mb-2 text-white text-center md:text-left"
class="list-none mb-2 text-black text-center md:text-left"
v-for="(item, index) in footerData.quickLink.content"
>
<nuxt-link
:href="item.link"
:target="item.target"
:key="index"
class="text-center font-medium tetx-white text-sm md:text-sm hover:text-theme-secondary-300 transform duration-100 hover:underline hover:underline-offset-4"
class="text-center font-medium tetx-white text-sm md:text-sm hover:text-theme-primary-500 transform duration-100 hover:underline hover:underline-offset-4"
>
{{ item.text }}
</nuxt-link>
</li>
</ul>
</div>
<div class="w-full">
<div class="flex flex-col text-white">
<div class="flex flex-col text-black">
<h3 class="font-bold text-xl pb-2 text-center md:text-left">
{{ footerData.docs.title }}
</h3>
</div>
<ul>
<li
class="list-none mb-2 text-white text-center md:text-left"
class="list-none mb-2 text-black text-center md:text-left"
v-for="(item, index) in footerData.docs.content"
>
<nuxt-link
Expand All @@ -68,20 +68,20 @@
item.text == 'Get Started For Free' ? '_blank' : ''
"
:key="index"
class="font-medium text-sm hover:text-theme-secondary-300 transform duration-100 hover:underline hover:underline-offset-4"
class="font-medium text-sm hover:text-theme-primary-500 transform duration-100 hover:underline hover:underline-offset-4"
>
{{ item.text }}
</nuxt-link>
</li>
</ul>
</div>
<div class="w-full">
<div class="flex flex-col space-y-2 text-white">
<div class="flex flex-col space-y-2 text-black">
<h3 class="font-bold text-xl text-center md:text-left">
{{ footerData.items.title }}
</h3>
<div
class="flex justify-start hover:text-theme-secondary-300"
class="flex justify-start hover:text-theme-primary-500"
>
<img
:src="footerData.items.emailicon"
Expand All @@ -96,7 +96,7 @@
>
</div>
<div
class="flex justify-start hover:text-theme-secondary-300"
class="flex justify-start hover:text-theme-primary-500"
>
<img
:src="footerData.items.callicon"
Expand Down Expand Up @@ -129,7 +129,7 @@
</div>
</div>
</footer>
<div class="bg-white bg-opacity-5 text-white py-4 flex">
<div class="bg-theme-primary-200 bg-opacity-20 text-black py-4 flex">
<div
class="mx-auto w self-center px-4 text-center flex flex-col md:flex-row"
>
Expand All @@ -145,7 +145,7 @@ const currentYear = computed(() => {
return new Date().getFullYear();
});
const footerData = {
logo: "/img/logo/footerLogo.svg",
logo: "/img/logo/logo_horizontal.svg",
address:
"315, Montgomery St, 10th Floor, San Francisco, California,94104, United States of America",
quickLink: {
Expand Down Expand Up @@ -173,8 +173,8 @@ const footerData = {
},
{
text: "Knowledge Base",
link: "https://zinc.dev/kb",
target: "_blank"
link: "https://openobserve.ai/kb",
target: "_blank",
},
],
},
Expand All @@ -183,7 +183,7 @@ const footerData = {
content: [
{
text: "Get Started For Free",
link: "https://observe.zinc.dev",
link: "https://observe.openobserve.ai",
},
{
text: "Bug Bounty Program",
Expand Down Expand Up @@ -213,11 +213,11 @@ const footerData = {
social: [
{
icon: "/img/github.svg",
link: "https://github.com/zinclabs/zincobserve",
link: "https://github.com/zinclabs/openobserve",
},
{
icon: "/img/slack.svg",
link: "https://zincobserve.slack.com/",
link: "https://openobserve.slack.com/",
},
{
icon: "/img/linkdin.svg",
Expand Down
13 changes: 10 additions & 3 deletions components/GithubCount.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<template>
<!-- Place this tag where you want the button to render. -->
<github-button href="https://github.com/zinclabs/zincobserve" data-color-scheme="no-preference: light; light: light; dark: light;" data-size="large" data-show-count="true" aria-label="Star zinclabs/zincobserve on GitHub">Star</github-button>
<!-- Place this tag where you want the button to render. -->
<github-button
href="https://github.com/zinclabs/openobserve"
data-color-scheme="no-preference: light; light: light; dark: light;"
data-size="large"
data-show-count="true"
aria-label="Star zinclabs/openobserve on GitHub"
>Star</github-button
>
</template>
<script setup>
import GithubButton from 'vue-github-button'
import GithubButton from "vue-github-button";
</script>
14 changes: 10 additions & 4 deletions components/GithubForkCount.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<template>
<!-- Place this tag where you want the button to render. -->
<github-button href="https://github.com/zinclabs/zincobserve/fork" data-color-scheme="no-preference: light; light: light; dark: light;" data-size="large" data-show-count="true" aria-label="Fork zinclabs/zincobserve on GitHub">Fork</github-button>
<!-- Place this tag where you want the button to render. -->
<github-button
href="https://github.com/zinclabs/openobserve/fork"
data-color-scheme="no-preference: light; light: light; dark: light;"
data-size="large"
data-show-count="true"
aria-label="Fork zinclabs/openobserve on GitHub"
>Fork</github-button
>
</template>
<script setup>
import GithubButton from 'vue-github-button'

import GithubButton from "vue-github-button";
</script>
41 changes: 29 additions & 12 deletions components/Hiring.vue
Original file line number Diff line number Diff line change
@@ -1,25 +1,42 @@
<template>
<Section v-if="data.jobs">
<SectionHeading :title='data.title' :subtitle="data.subtitle" />
<div class="container mx-auto px-4 ">
<div v-for="(item, index) in data.jobs">
<Section v-if="data.jobs.length > 0">
<SectionHeading :title="data.title" :subtitle="data.subtitle" />
<div
class="container mx-auto px-4 py-4 flex flex-col md:flex-row space-x-6"
>
<!-- <div v-for="(item, index) in data.jobs">
<div class="flex flex-row md:flex-row justify-items-center justify-between py-3">
<div class="font-bold text-lg md:text-xl py-2 text-black">&#9673; {{ item.title }} </div>
<Button variant="primary" :to="item.btnLink" target="_blank">{{ item.btnText }}</Button>
<Button variant="primary" :to="`/career/apply?job=${item.id}`">{{ item.btnText }}</Button>
</div>
<div v-if="item.description">
<div class="text-gray-600 mb-2">Job Description</div>
<div v-html="item.description"></div>
</div>
<hr class="border my-4">
</div>
</div> -->
<div
class="flex flex-col bg-white border border-theme-primary-300 p-4 shadow rounded-lg"
v-for="(item, index) in data.jobs"
>
<div class="font-bold text-lg md:text-xl py-2 text-black">
&#9673; {{ item.title }}
</div>
<div v-if="item.description" class="flex-1 mb-3">
<div class="text-gray-600 mb-2 flex-1">Job Description</div>
<div v-html="item.description" class="text-sm flex-1"></div>
</div>
<Button variant="primary" :to="`/careers/apply?job=${item.id}`" classes="text-center">{{
item.btnText
}}</Button>
</div>
</Section>
</div>
</Section>
</template>
<script setup>
defineProps({
data: {
type: Object
}
})
</script>
data: {
type: Object,
},
});
</script>
2 changes: 1 addition & 1 deletion components/Numbers.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<!-- <SlideIn> -->
<div
class="bg-gradient-to-tr from-theme-secondary-800 via-theme-secondary-500 to-theme-primary-500 w-full py-20"
class="bg-gradient-to-tr from-theme-primary-500 via-theme-primary-400 to-theme-primary-300 w-full py-20"
>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4 container mx-auto px-4">
<div class="py-2 md:py-10" v-for="(item, index) in items.items">
Expand Down
39 changes: 23 additions & 16 deletions components/SubHeader.vue
Original file line number Diff line number Diff line change
@@ -1,33 +1,40 @@
<template>
<div v-if="subHeaderVisibility" class="nav bg-white text-black py-2">
<p class="nav-item"><nuxt-link to="/docs/zincsearch/configuration">Zinc Search</nuxt-link></p>
<p class="nav-item"><nuxt-link to="/docs/zincobserve/configuration">Zinc Observe</nuxt-link></p>
<p class="nav-item">
<nuxt-link to="/docs/zincsearch/configuration">Zinc Search</nuxt-link>
</p>
<p class="nav-item">
<nuxt-link to="/docs/openobserve/configuration">Zinc Observe</nuxt-link>
</p>
</div>
</template>
<script setup>
const route = useRoute()
const route = useRoute();

const subHeaderVisibility = ref(false)
const subHeaderVisibility = ref(false);

watch(() => route.path, () => {
console.log('route changed' + route.path)
if (route.path.startsWith('/docs')) {
subHeaderVisibility.value = true
watch(
() => route.path,
() => {
console.log("route changed" + route.path);
if (route.path.startsWith("/docs")) {
subHeaderVisibility.value = true;
} else {
subHeaderVisibility.value = false
subHeaderVisibility.value = false;
}
}, { immediate: true })

},
{ immediate: true }
);
</script>
<style scoped>
.nav {
display: flex;
justify-content: center;
margin-top: 10px;
display: flex;
justify-content: center;
margin-top: 10px;
}

.nav-item {
margin-left: 10px;
margin-right: 10px;
margin-left: 10px;
margin-right: 10px;
}
</style>
9 changes: 5 additions & 4 deletions components/common/FAQ/FaqItem.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<template>
<div class="container mx-auto shadow rounded-lg bg-white border border-gray-100 text-black" >
<div class="flex justify-between items-center px-5 py-4">
<div class="container mx-auto shadow rounded-lg bg-white border border-gray-100 text-black py-4" >
<div class="flex justify-between items-center px-5">
<div class=" text-sm md:text-xl font-semibold ">{{ item.question }}</div>

<!-- <div v-if="clicked"><img src="/img/icons/Minus.svg" alt="minus icon" /></div>
<span v-else> <img src="/img/icons/Plus.svg" alt="plusicon" /> </span> -->
</div>
<div class="container mx-auto px-5 text-black">
<div className="text-base py-2 leading-relaxed tracking-wider" v-html="item.answer" ></div>
<div class="container mx-auto px-5 pt-3 text-black">
<div class="text-base leading-relaxed tracking-wider" v-html="item.answer" ></div>
</div>
</div>
</template>
Expand Down
Loading