-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Pagination to clientside as well
- Loading branch information
Showing
7 changed files
with
102 additions
and
53 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mt-6"> | ||
|
||
|
||
<!-- SDK Section --> | ||
<div class="bg-white p-6 rounded-lg shadow-md"> | ||
<h2 class="text-xl font-bold text-gray-800 mb-4">SDK</h2> | ||
<p class="text-lg text-gray-700 mb-2"> | ||
SDK data is derived by downloading the app's Android APK or iOS IPA file and unzipped. We then | ||
check the app's data for SDK signatures in paths, AndroidManifest.xml and the Info.plist. Many | ||
apps are unable to be zipped. Downloading and opening the APK or IPA takes time and resources | ||
thus the smaller totals. | ||
</p> | ||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | ||
<!-- Android SDK --> | ||
<div class="card variant-glass-surface"> | ||
<div class="card-header"> | ||
<p class="text-lg text-gray-700"> | ||
<slot name="sdk-android-total-apps">Android Apps:</slot> | ||
</p> | ||
</div> | ||
<div class="card-content"> | ||
</div> | ||
</div> | ||
<!-- iOS SDK --> | ||
<div class="card variant-glass-surface"> | ||
<div class="card-header"> | ||
<p class="text-lg text-gray-700"> | ||
<slot name="sdk-ios-total-apps">iOS Apps:</slot> | ||
</p> | ||
</div> | ||
<div class="card-content"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- App Ads.txt Section --> | ||
<div class="bg-white p-6 rounded-lg shadow-md"> | ||
<h2 class="text-xl font-bold text-gray-800">App Ads.txt</h2> | ||
<p class="text-small font-bold text-gray-800 mb-4">('DIRECT')</p> | ||
<p class="text-lg text-gray-700 mb-2"> | ||
App-ads.txt files are an open standard by the IAB to help combat ad fraud. This data was | ||
crawled from the URLs on the app's developer pages. Not all apps have app-ads.txt, many do | ||
not. | ||
</p> | ||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | ||
<!-- Android App Ads.txt --> | ||
<div class="card variant-glass-surface"> | ||
<div class="card-header"> | ||
<p class="text-lg text-gray-700"> | ||
<slot name="adstxt-android-total-apps">Android Apps:</slot> | ||
</p> | ||
</div> | ||
<div class="card-content"> | ||
</div> | ||
</div> | ||
<!-- iOS App Ads.txt --> | ||
<div class="card variant-glass-surface"> | ||
<div class="card-header"> | ||
<p class="text-lg text-gray-700"> | ||
<slot name="adstxt-ios-total-apps">iOS Apps:</slot> | ||
</p> | ||
</div> | ||
<div class="card-content"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<div class="grid grid-cols-1 gap-8 mt-6"> | ||
<!-- MAIN TABLE --> | ||
<div class="card variant-glass-surface"> | ||
<div class="card-content"> | ||
<slot name="main-table" /> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<script lang="ts"> | ||
import type { DataHandler } from '@vincjo/datatables'; | ||
import { check } from '@vincjo/datatables' | ||
export let handler: DataHandler; | ||
export let filterBy: string; | ||
let value: string; | ||
</script> | ||
|
||
<th> | ||
<input | ||
class="input text-sm w-full" | ||
type="text" | ||
placeholder="Filter" | ||
bind:value | ||
on:input={() => { | ||
if (filterBy) handler.filter(value, filterBy, check.isLike); | ||
}} | ||
/> | ||
</th> |
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
2 changes: 0 additions & 2 deletions
2
frontend/src/routes/(newcategorical)/companies/categories/[category]/+page.svelte
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
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