added .astro for typeform, embed typeform within page, changed cta to lead to inner page
This commit is contained in:
parent
3aeadc2265
commit
fd3b1657fd
14
src/components/widgets/EmbedTypeform.astro
Normal file
14
src/components/widgets/EmbedTypeform.astro
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#typeformsection {
|
||||||
|
height: 1000px;
|
||||||
|
width: 100%
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div id="typeformsection" data-tf-widget="SnfEE9pj"></div>
|
||||||
|
<script src="//embed.typeform.com/next/embed.js" is:inline></script>
|
||||||
|
</section>
|
@ -23,7 +23,7 @@ export const headerData = {
|
|||||||
href: getPermalink('/blog'),
|
href: getPermalink('/blog'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
actions: [{ text: 'Get INCA Nodes', href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj', target: '_blank' }],
|
actions: [{ text: 'Get INCA Nodes', href: '/typeform', target: '_blank' }],
|
||||||
};
|
};
|
||||||
|
|
||||||
export const footerData = {
|
export const footerData = {
|
||||||
@ -41,7 +41,7 @@ export const footerData = {
|
|||||||
title: 'Join the Cloud',
|
title: 'Join the Cloud',
|
||||||
links: [
|
links: [
|
||||||
{ text: 'Farming', href: '/farming' },
|
{ text: 'Farming', href: '/farming' },
|
||||||
{ text: 'Get INCA Nodes', href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj' },
|
{ text: 'Get INCA Nodes', href: '/typeform' },
|
||||||
{ text: 'Build INCA Nodes', href: 'https://manual.grid.tf/documentation/farmers/3node_building/3node_building.html' },
|
{ text: 'Build INCA Nodes', href: 'https://manual.grid.tf/documentation/farmers/3node_building/3node_building.html' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -21,7 +21,7 @@ const metadata = {
|
|||||||
{
|
{
|
||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
},
|
},
|
||||||
|
@ -61,7 +61,7 @@ const metadata = {
|
|||||||
callToAction: {
|
callToAction: {
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -89,7 +89,7 @@ const metadata = {
|
|||||||
callToAction: {
|
callToAction: {
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
},
|
},
|
||||||
hasRibbon: true,
|
hasRibbon: true,
|
||||||
ribbonTitle: 'popular',
|
ribbonTitle: 'popular',
|
||||||
@ -119,7 +119,7 @@ const metadata = {
|
|||||||
callToAction: {
|
callToAction: {
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
@ -34,7 +34,7 @@ const metadata = {
|
|||||||
{
|
{
|
||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
},
|
},
|
||||||
@ -117,7 +117,7 @@ const metadata = {
|
|||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
@ -359,7 +359,7 @@ const metadata = {
|
|||||||
{
|
{
|
||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
},
|
},
|
||||||
|
@ -325,7 +325,7 @@ const metadata = {
|
|||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: 'https://csnkyhwp8b4.typeform.com/to/SnfEE9pj',
|
href: '/typeform',
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
13
src/pages/typeform.astro
Normal file
13
src/pages/typeform.astro
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
import EmbedTypeform from '~/components/widgets/EmbedTypeform.astro';
|
||||||
|
import Layout from '~/layouts/PageLayout.astro';
|
||||||
|
|
||||||
|
const metadata = {
|
||||||
|
title: 'Typeform',
|
||||||
|
};
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout metadata={metadata}>
|
||||||
|
<EmbedTypeform />
|
||||||
|
</Layout>
|
Loading…
Reference in New Issue
Block a user