Comments (3)
---
import Content from '~/components/widgets/Content.astro';
import Layout from '~/layouts/PageLayout.astro';
const metadata = {
title: 'Test Hero',
};
const RichText = `
<p><strong>Rich</strong> HTML <em>here</em></p>
<br />
<p>Non minim aliquip cillum tempor aliquip minim nostrud cillum nisi laborum officia culpa nostrud.</p>
<br />
<p>Ea nulla consectetur aliqua irure labore tempor do ut ullamco irure quis fugiat. Irure ad dolore enim aliqua occaecat mollit occaecat ex culpa laboris excepteur sunt in dolor. Do cillum consectetur laborum voluptate sunt enim aliquip esse amet enim pariatur. Ut sint irure ullamco ullamco qui consectetur incididunt culpa nulla.</p>
`;
---
<Layout metadata={metadata}>
<Content
title="Test Hero"
id="testhero"
columns={2}
items={[
{
callToAction: {
target: '_blank',
text: RichText,
href: '#',
},
},
{
callToAction: {
target: '_blank',
text: `
<p><strong>Rich</strong> HTML <em>here</em></p>
<br />
<p>Non minim aliquip cillum tempor aliquip minim nostrud cillum nisi laborum officia culpa nostrud.</p>
<br />
<p>Ea nulla consectetur aliqua irure labore tempor do ut ullamco irure quis fugiat. Irure ad dolore enim aliqua occaecat mollit occaecat ex culpa laboris excepteur sunt in dolor. Do cillum consectetur laborum voluptate sunt enim aliquip esse amet enim pariatur. Ut sint irure ullamco ullamco qui consectetur incididunt culpa nulla.</p>
`,
href: '#',
},
},
]}
/>
</Layout>
from astrowind.
@prototypa I recommend moving this to Discussions.
from astrowind.
from astrowind.
Related Issues (20)
- Make repository a GitHub Template Repository HOT 2
- Fetch content from backend - HTML is coming with <p>and breaks the design. HOT 2
- PageSpeed insight perfomance is 76, but not 100 HOT 3
- 1px gap above navbar on large screens HOT 4
- The main navigation is not centred on md: HOT 2
- Astro embed not working HOT 1
- del HOT 1
- Not Highlighting the selected header menu item HOT 2
- eslint errors HOT 1
- Prettier inconsistencies HOT 2
- @astrolib/seo -- HTML5 Validation Errors HOT 2
- Issues with peer dependencies found: Compress HOT 2
- Safari only: Related Posts multi-line header links behave unhandy HOT 1
- inline code in 1 backtick was not converted correctly in markdown
- Hero2 widget id
- Do I need to change hasExternalScripts to true for Analytics to work?
- red warning text on build
- Building the site works though deployed site has CORS errors HOT 1
- Issues with Squoosh Image Optimization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrowind.