mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-21 06:54:08 -07:00
Add Check Pricing link
This commit is contained in:
parent
851eee0014
commit
50196d700b
1 changed files with 12 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ import { deviceSupportsApp } from '~/helpers/devices.js'
|
||||||
|
|
||||||
import Layout from '../../layouts/default.astro'
|
import Layout from '../../layouts/default.astro'
|
||||||
import Search from '~/components/search-stork.vue'
|
import Search from '~/components/search-stork.vue'
|
||||||
|
import LinkButton from '~/components/link-button.vue'
|
||||||
|
|
||||||
|
|
||||||
// Get type and slug from the request path
|
// Get type and slug from the request path
|
||||||
|
|
@ -89,6 +90,17 @@ const appPage = {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{ !!device.amazonUrl &&
|
||||||
|
<div class="flex justify-center py-8">
|
||||||
|
<LinkButton
|
||||||
|
href={ device.amazonUrl }
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
Check Pricing
|
||||||
|
</LinkButton>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
<Search
|
<Search
|
||||||
kind-page={ appPage }
|
kind-page={ appPage }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue