Add Check Pricing link

This commit is contained in:
Sam Carlton 2022-06-07 19:28:14 -05:00
parent 851eee0014
commit 50196d700b

View file

@ -11,6 +11,7 @@ import { deviceSupportsApp } from '~/helpers/devices.js'
import Layout from '../../layouts/default.astro'
import Search from '~/components/search-stork.vue'
import LinkButton from '~/components/link-button.vue'
// Get type and slug from the request path
@ -89,6 +90,17 @@ const appPage = {
</div>
</div>
{ !!device.amazonUrl &&
<div class="flex justify-center py-8">
<LinkButton
href={ device.amazonUrl }
target="_blank"
>
Check Pricing
</LinkButton>
</div>
}
<Search
kind-page={ appPage }