Skip to content

Commit

Permalink
Removed empty icons form search results
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumo committed May 10, 2021
1 parent 1091460 commit 9ce4b26
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ website/macos-big-sur-icons/.env
website/.DS_Store
website/.DS_Store
website/.DS_Store
website/.DS_Store
Binary file modified website/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion website/macos-big-sur-icons/src/api/posts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import GhostContentAPI from "@tryghost/content-api"

// TODO: Remove API Key

const VUE_APP_GHOST_KEY = process.env.VUE_APP_GHOST_KEY

const api = new GhostContentAPI({
Expand Down
6 changes: 3 additions & 3 deletions website/macos-big-sur-icons/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@
<div v-if="!loadingError" class="icon-list-area p-t-20 p-b-50 content-wrapper-regular">
<script async type="application/javascript" src="//cdn.carbonads.com/carbon.js?serve=CEBIK27J&placement=macosiconscom" id="_carbonads_js"></script>

<!-- Icons -->
<div v-for="icon in search" :key="icon.icnsUrl" class="card-wrapper coral-card">

<!-- Icons -->
<div class="">
<!-- Icon image -->
<div @click="addClickCount(icon)" class="card-img-wrapper" style="max-width: 120px;">
Expand Down Expand Up @@ -240,7 +241,6 @@ import dotenv from 'dotenv'; // Used to access env varaibles
dotenv.config()
// TODO: remove credentials
const VUE_APP_PARSE_APP_ID = process.env.VUE_APP_PARSE_APP_ID
const VUE_APP_PARSE_JAVASCRIPT_KEY = process.env.VUE_APP_PARSE_JAVASCRIPT_KEY
Expand All @@ -256,7 +256,7 @@ let algolia = {
}
const client = algoliasearch(algolia.appid, algolia.apikey);
const index = client.initIndex('macOS_parse')
const index = client.initIndex('macOSicons')
const docLimit = 20
Expand Down

1 comment on commit 9ce4b26

@vercel
Copy link

@vercel vercel bot commented on 9ce4b26 May 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.