Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
srosset81 committed Mar 29, 2024
1 parent 1f3326e commit aca8d1c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
6 changes: 3 additions & 3 deletions src/components/blog/SinglePost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const { post } = Astro.props;
<div class="flex justify-between flex-col sm:flex-row max-w-4xl mx-auto mt-0 mb-2 px-4 sm:px-6 sm:items-center">
<p>
<Icon name="tabler:clock" class="w-4 h-4 inline-block -mt-0.5 dark:text-gray-400" />
<time datetime={String(post['dc:created'])} class="inline-block"
<!-- <time datetime={String(post['dc:created'])} class="inline-block"
>{getFormattedDate(new Date(post['dc:created']))}</time
>
> -->
{
post.category && (
<>
Expand Down Expand Up @@ -80,7 +80,7 @@ const { post } = Astro.props;
<Fragment set:html={marked.parse(post['pair:description'])} />
</div>
<div class="mx-auto px-6 sm:px-6 max-w-4xl mt-8 flex justify-between flex-col sm:flex-row">
<Author personUri={post['dc:creator']} />
<!-- <Author personUri={post['dc:creator']} /> -->
<Projects projectsUris={post['pair:documents']} class="mr-5 rtl:mr-0 rtl:ml-5" />
<!-- <SocialShare url={url} text={post.title} class="mt-5 sm:mt-1 align-middle text-gray-500 dark:text-slate-600" /> -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
site:
name: Assemblée Virtuelle
site: 'https://blog.assemblee-virtuelle.org'
site: 'https://astro.assemblee-virtuelle.org'
base: '/'
trailingSlash: false

Expand Down
19 changes: 3 additions & 16 deletions src/pages/homes/mobile-app.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import Stats from '~/components/widgets/Stats.astro';
import Button from '~/components/ui/Button.astro';
import Image from '~/components/common/Image.astro';
import appStoreImg from '~/assets/images/app-store.png';
import googlePlayImg from '~/assets/images/google-play.png';
const appStoreDownloadLink = 'https://github.com/onwidget/astrowind';
const googlePlayDownloadLink = 'https://github.com/onwidget/astrowind';
Expand Down Expand Up @@ -65,18 +62,8 @@ const metadata = {
<span class="hidden sm:inline">
Unlock boundless creativity at your fingertips: your gateway to innovative design.
</span>
Download now and embark on a journey to elevate your projects like never before.
Download now and embark on a journey to elevate your projects like never before.
</Fragment>

<div slot="actions" class="flex max-w-sm gap-4">
<Button variant="link" href={appStoreDownloadLink}>
<Image src={appStoreImg} alt="App Store Image" width={200} />
</Button>

<Button variant="link" href={googlePlayDownloadLink}>
<Image src={googlePlayImg} alt="Google Play Image" width={200} />
</Button>
</div>
</Hero2>

<!-- Features3 Widget ************** -->
Expand Down Expand Up @@ -284,14 +271,14 @@ const metadata = {
title="Download our app now!"
subtitle="Access a variety of stunning templates, simplify your creative process, and elevate your online presence."
>
<div slot="actions" class="flex max-w-sm gap-4">
<!-- <div slot="actions" class="flex max-w-sm gap-4">
<Button variant="link" href={appStoreDownloadLink}>
<Image src={appStoreImg} alt="App Store Image" width={200} />
</Button>
<Button variant="link" href={googlePlayDownloadLink}>
<Image src={googlePlayImg} alt="Google Play Image" width={200} />
</Button>
</div>
</div> -->
</CallToAction>
</Layout>

0 comments on commit aca8d1c

Please sign in to comment.