Skip to content

Commit

Permalink
Fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hasancemreok committed Apr 16, 2021
1 parent f67aa0f commit cfbef13
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 57 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ module.exports = {
'max-len': ['error', {
code: 200,
ignoreComments: true,
ignoreTemplateLiterals: true,
ignoreStrings: true,
ignorePattern: 'd="([\\s\\S]*?)"',
ignoreRegExpLiterals: true,
}],
'vue/order-in-components': ['error', {
Expand Down
22 changes: 13 additions & 9 deletions src/components/pages/CompanyPosts.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script>
import { mapActions } from 'vuex';
import image from '../../mixins/image';
import AppBanner from '../shared/AppBanner_v2';
import JobListing from '../shared/JobListing';
import companyPostsMetaInfoMixin from '../../mixins/companyPostsMetaInfo';
Expand All @@ -10,7 +9,6 @@ export default {
mixins: [companyPostsMetaInfoMixin, image],
components: {
JobListing,
AppBanner
},
data() {
return {
Expand Down Expand Up @@ -52,18 +50,24 @@ export default {
<h6>Bu firmaya ait {{ posts.length }} ilan bulunuyor</h6>
<div class="company-social">
<a target="_blank" :href="'https://twitter.com/' + posts[0].company.twitter" class="twitter-link" v-if="posts[0].company.twitter">
<svg viewBox="0 0 24 24" class="r-13gxpu9 r-4qtqp9 r-yyyyoo r-16y2uox r-1q142lx r-8kz0gk r-dnmrzs r-bnwqim r-1plcrui r-lrvibr r-1srniue"><g><path d="M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z"></path></g></svg>
{{posts[0].company.twitter}}
<svg viewBox="0 0 24 24" class="r-13gxpu9 r-4qtqp9 r-yyyyoo r-16y2uox r-1q142lx r-8kz0gk r-dnmrzs r-bnwqim r-1plcrui r-lrvibr r-1srniue">
<g>
<path d="M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z" />
</g>
</svg>
{{ posts[0].company.twitter }}
</a>
<a target="_blank" :href="posts[0].company.linkedin" class="linkedin-link" v-if="posts[0].company.linkedin">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"/></svg>
{{posts[0].company.name}}
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z" />
</svg>
{{ posts[0].company.name }}
</a>
<a target="_blank" :href="posts[0].company.www" v-if="posts[0].company.www">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1" />
</svg>
{{posts[0].company.www}}
{{ posts[0].company.www }}
</a>
</div>
</div>
Expand Down Expand Up @@ -98,7 +102,7 @@ export default {
.company-jobs {
display: flex;
flex-direction: row;
img {
width: 128px;
height: 128px;
Expand Down Expand Up @@ -130,7 +134,7 @@ export default {
div.company-social {
display: flex;
flex-direction: row;
a {
display: flex;
flex-direction: row;
Expand Down
22 changes: 13 additions & 9 deletions src/components/pages/JobDetails.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script>
import { mapActions } from 'vuex';
import JobTypeBadge from '../shared/JobTypeBadge';
import JobListing from '../shared/JobListing';
import ApplyLink from '../shared/ApplyLink';
import Loader from '../shared/Loader';
Expand All @@ -25,7 +24,6 @@ export default {
components: {
Loader,
ApplyLink,
JobTypeBadge,
JobListing,
},
data() {
Expand Down Expand Up @@ -213,25 +211,31 @@ export default {
<h1>{{ postData.company.name }}</h1>
<div class="company-social">
<a target="_blank" :href="'https://twitter.com/' + postData.company.twitter" class="twitter-link" v-if="postData.company.twitter">
<svg viewBox="0 0 24 24" class="r-13gxpu9 r-4qtqp9 r-yyyyoo r-16y2uox r-1q142lx r-8kz0gk r-dnmrzs r-bnwqim r-1plcrui r-lrvibr r-1srniue"><g><path d="M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z"></path></g></svg>
<svg viewBox="0 0 24 24" class="r-13gxpu9 r-4qtqp9 r-yyyyoo r-16y2uox r-1q142lx r-8kz0gk r-dnmrzs r-bnwqim r-1plcrui r-lrvibr r-1srniue">
<g>
<path d="M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z" />
</g>
</svg>
<!-- {{postData.company.twitter}}-->
</a>
<a target="_blank" :href="postData.company.linkedin" class="linkedin-link" v-if="postData.company.linkedin">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z" />
</svg>
<!--{{postData.company.name}}-->
</a>
<a target="_blank" :href="postData.company.www" v-if="postData.company.www">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1" />
</svg>
{{postData.company.www}}
{{ postData.company.www }}
</a>
</div>
</div>
</div>
<div class="job-description"
itemprop="description"
v-html="postData.description"
itemprop="description"
v-html="postData.description"
/>
</div>
</div>
Expand Down Expand Up @@ -340,7 +344,7 @@ export default {
flex-direction: row;
align-items: center;
margin-bottom: 32px;
img {
width: 96px;
height: 96px;
Expand Down Expand Up @@ -373,7 +377,7 @@ export default {
div.company-social {
display: flex;
flex-direction: row;
a {
display: flex;
flex-direction: row;
Expand Down
27 changes: 3 additions & 24 deletions src/components/shared/AppBanner_v2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default {
class="ico-01 flat"
placeholder="Pozisyon adı, teknoloji adı"
>
<div class="semi-border"></div>
<div class="semi-border" />
<div class="banner--location-select">
<location-select
v-model="params.location"
Expand Down Expand Up @@ -94,18 +94,6 @@ export default {

<style lang="scss" scoped>
.multiselect__tags {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23A6A8AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z' /%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: center left;
text-indent: 12px;
}
.multiselect.multiselect--active .multiselect__tags {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2326ae61'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z' /%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z' /%3E%3C/svg%3E");
}
.banner {
background: none;
}
Expand Down Expand Up @@ -140,7 +128,7 @@ export default {
padding: 0px 12px;
margin-right: 8px;
&:last-child { margin-right: 0px; }
&:last-child { margin-right: 0px; }
&:hover {
border-color: transparent;
Expand All @@ -156,28 +144,19 @@ export default {
}
.inputs {
padding: 8px 8px 8px 16px;
padding: 8px 8px 8px 8px;
background-color: #fff;
box-shadow: 0px 2px 4px -3px rgba(0,0,0,.1), 0px 10px 15px -3px rgba(0,0,0,.05);
* { border-radius: 0; }
.ico-01 {
border-right: 1px solid #e0e0e0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20' stroke='%23A6A8AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: center left;
text-indent: 12px;
color: #000;
&::placeholder {
color: #A6A8AF;
}
&:focus {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20' stroke='%2326ae61'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/shared/JobItem_v2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export default {
</div>
<ul class="listing-icons">
<li class="company">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
<router-link :to="`/firmalar/${company.slug}`">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
<router-link :to="`/firmalar/${company.slug}`">
{{ company.name }}
</router-link>
</li>
Expand Down
9 changes: 0 additions & 9 deletions src/components/shared/LocationSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,10 @@ export default {
}
.multiselect__tags {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20' stroke='%23A6A8AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: center left;
text-indent: 12px;
color: #000;
&::placeholder {
color: #A6A8AF;
}
&:focus {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20' stroke='%2326ae61'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
}
}
</style>
4 changes: 2 additions & 2 deletions src/components/shared/RecentJobsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export default {
</svg>
En son eklenen ilanlar
</h3>
<div class="margin-bottom-30"></div>
<div class="margin-bottom-30" />
<job-period-selector />
<div class="margin-bottom-25"></div>
<div class="margin-bottom-25" />
<job-listing
:is-loading="isLoading"
:posts="recentPosts"
Expand Down

0 comments on commit cfbef13

Please sign in to comment.