-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: changed SidebarHeader partially to Astro component
- Loading branch information
1 parent
7c76813
commit 1656dc6
Showing
4 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/components/LeftSidebar/SidebarHeader/SidebarHeader.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
import AudienceDropdown from "./AudienceDropdown"; | ||
interface SidebarHeaderProps { | ||
homeUrl: string; | ||
} | ||
const { homeUrl } = Astro.props as SidebarHeaderProps; | ||
--- | ||
|
||
<div class="sidebar-header flex flex-row items-center mb-[74px] pt-7 pl-[27px]"> | ||
<a href={homeUrl}> | ||
<img src="/images/Adjust-icon.svg" alt="adjust-icon" /> | ||
</a> | ||
<AudienceDropdown client:load /> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters