-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated hellobar to be smaller and hide on mobile devices
- Loading branch information
1 parent
10615f1
commit 9a57b3c
Showing
1 changed file
with
8 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
import React from 'react'; | ||
import Link from '@docusaurus/Link'; | ||
import { ChevronRight, GitHub } from 'react-feather'; | ||
import clsx from 'clsx'; | ||
|
||
function HelloBar() { | ||
return ( | ||
<a | ||
href="https://avaloniaui.net/xpf?utm_source=docs&utm_medium=referral&utm_content=hellobar" | ||
target="_blank" | ||
className="hello-bar u-hflex-center-center w-inline-block" | ||
className="hidden md:flex w-full items-center justify-center bg-blue-50 py-2 hover:bg-blue-100 transition-colors" | ||
> | ||
<div className="hello_bar_contents u-hflex-center-center u-gap-10"> | ||
<div className="ph_cat_nd_txt-wrapper u-hflex-left-center u-gap-10"> | ||
<div className="ph_banner_txt"> | ||
<div className="flex items-center justify-center gap-4 px-4"> | ||
<div className="flex items-center gap-3"> | ||
<div className="text-sm font-medium text-blue-900"> | ||
Introducing Avalonia XPF: A cross-platform fork of WPF | ||
</div> | ||
</div> | ||
<div className="banner_separator"></div> | ||
<div className="hello_bar_cta u-hflex-left-center u-gap-8"> | ||
<div className="text-block-98">Try it today</div> | ||
<div className="h-4 w-px bg-blue-200"></div> | ||
<div className="flex items-center gap-2"> | ||
<div className="text-sm font-medium text-blue-700">Try it today</div> | ||
</div> | ||
</div> | ||
</a> | ||
); | ||
} | ||
|
||
export default HelloBar; | ||
export default HelloBar; |