diff --git a/examples/social-feed/src/components/Article.astro b/examples/social-feed/src/components/Article.astro
index 369f5c47c..e7491cda0 100644
--- a/examples/social-feed/src/components/Article.astro
+++ b/examples/social-feed/src/components/Article.astro
@@ -1,6 +1,6 @@
---
import ArticleHeader from './ArticleHeader.astro';
-import type { Article, Post } from '../content/config.js';
+import type { Article } from '../content/config.js';
export interface Props {
article: Article;
@@ -13,9 +13,9 @@ const { Content } = await article.render();
-
-
-
+
+
+
diff --git a/examples/social-feed/src/components/SplitLayout.astro b/examples/social-feed/src/components/SplitLayout.astro
index 130940326..40137474e 100644
--- a/examples/social-feed/src/components/SplitLayout.astro
+++ b/examples/social-feed/src/components/SplitLayout.astro
@@ -16,20 +16,17 @@ const { reverse = false, class: className, ...attrs } = Astro.props;
div {
display: flex;
flex-direction: column;
+ align-items: center;
gap: var(--theme-space-lg);
margin: 0 auto;
width: 100%;
- max-width: var(--theme-content-width);
+ max-width: var(--theme-size-content-3);
}
@media (min-width: 50em) {
div {
- display: grid;
- grid-template-columns: 12rem 1fr;
- }
-
- div.reverse {
- grid-template-columns: 1fr 12rem;
+ flex-direction: row;
+ align-items: initial;
}
}
diff --git a/examples/social-feed/src/layouts/Base.astro b/examples/social-feed/src/layouts/Base.astro
index f2be423cb..b71ed924b 100644
--- a/examples/social-feed/src/layouts/Base.astro
+++ b/examples/social-feed/src/layouts/Base.astro
@@ -1,4 +1,5 @@
---
+import { ViewTransitions } from 'astro:transitions';
import settings from '../settings';
import '../style/theme.css';
import '../style/global.css';
@@ -22,6 +23,7 @@ const { title = settings.name } = Astro.props;
{title}
+
@@ -63,23 +65,27 @@ const { title = settings.name } = Astro.props;
+