Skip to content

Commit db02e31

Browse files
committed
refactor: rename Header to TopBar
1 parent 030ca1e commit db02e31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/astro/src/default/pages/[...slug].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import type { InferGetStaticPropsType } from 'astro';
3-
import Header from '../components/Header.astro';
3+
import TopBar from '../components/TopBar.astro';
44
import MainContainer from '../components/MainContainer.astro';
55
import Layout from '../layouts/Layout.astro';
66
import '../styles/base.css';
@@ -19,7 +19,7 @@ const { lesson, logoLink, navList, title } = Astro.props as Props;
1919
<Layout title={title}>
2020
<div id="previews-container"></div>
2121
<main class="max-w-full flex flex-col h-screen overflow-hidden" data-swap-root>
22-
<Header logoLink={logoLink ?? '/'} />
22+
<TopBar logoLink={logoLink ?? '/'} />
2323
<MainContainer lesson={lesson} navList={navList} />
2424
</main>
2525
</Layout>

0 commit comments

Comments
 (0)