This is the template project that's checked out and configured when you run the bando-up command from ljsthw-bandolier. This is where the code really lives.
You can not select more than 25 topicsTopics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
"type": "website", // not mentioned on linked in but needed
}
let twitter = {
"card": "summary_large_image", // must be summary, summary_large_image, app, player
"creator": "@lzsthw", // @username of content creator
"description": og.description, // max 200 chars
"image": og.image,
"image:alt": "A drawing of Zed by Zed.", // max 420 chars image alt
"site": "@lzsthw", // @username of site
"title": og.title,
}
</script>
<style>
card {
width: 600px;
}
card top {
background-color: var(--yellow);
text-align: center;
}
</style>
<OGPreviewog={og}twitter={twitter}/>
<Layoutcentered={true}>
<card>
<top>
<!-- this is how you assign a set of properties to a component using the {...} syntax -->
<imgsrc="/images/zed.png"/>
</top>
<middle>
<h4>OG Twitter Test</h4>
<p>If you visit <ahref="https://cards-dev.twitter.com/validator">the Twitter validator tool</a> and enter an internet accessible link to this demo it will show the above image and a description.