Merge pull request 'updated smaller compute currency title' (#26) from dev_3 into development

Reviewed-on: tfgrid/www_projectinca#26
This commit is contained in:
mik-tf 2024-06-06 14:53:43 +00:00
commit 8e96772322
2 changed files with 17 additions and 3 deletions

View File

@ -6,6 +6,7 @@ import type { CallToAction } from '~/types';
export interface Props { export interface Props {
id?: string; id?: string;
title?: string; title?: string;
title2?: string;
subtitle?: string; subtitle?: string;
tagline?: string; tagline?: string;
content?: string; content?: string;
@ -16,6 +17,7 @@ export interface Props {
const { const {
id, id,
title = await Astro.slots.render('title'), title = await Astro.slots.render('title'),
title2 = await Astro.slots.render('title2'),
subtitle = await Astro.slots.render('subtitle'), subtitle = await Astro.slots.render('subtitle'),
tagline, tagline,
content = await Astro.slots.render('content'), content = await Astro.slots.render('content'),
@ -46,6 +48,14 @@ const {
/> />
) )
} }
{
title2 && (
<h3
class="text-5xl md:text-4xl font-bold leading-tighter tracking-tighter mb-4 font-heading dark:text-gray-200"
set:html={title2}
/>
)
}
<div class="max-w-3xl mx-auto"> <div class="max-w-3xl mx-auto">
{subtitle && <p class="text-xl text-muted mb-6 dark:text-slate-300" set:html={subtitle} />} {subtitle && <p class="text-xl text-muted mb-6 dark:text-slate-300" set:html={subtitle} />}
{ {

View File

@ -47,12 +47,16 @@ const metadata = {
<Inca/><br><br> <Inca/><br><br>
</Fragment> </Fragment>
<Fragment slot="title2">
<Fragment slot="subtitle">
<b><i>Compute<br> <b><i>Compute<br>
is the currency <br> is the currency <br>
of the future...<br><br></b></i> of the future...<br><br></b></i>
</Fragment>
<Fragment slot="subtitle">
<span class="hidden sm:inline"> <span class="hidden sm:inline">
<br>We are a community-driven, open-source project<br> that has built a self-healing and autonomous cloud engine<br> allowing <span class="font-semibold">anyone</span> to become a <span class="font-semibold">cloud service provider</span>!<br> <br>We are a community-driven, open-source project<br> that has built a self-healing and autonomous cloud engine<br> allowing <span class="font-semibold">anyone</span> to become a <span class="font-semibold">cloud service provider</span>!<br>
</span> </span>