Skip to content

Commit

Permalink
Updated hellobar to be smaller and hide on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeCodesDotNET committed Dec 30, 2024
1 parent 10615f1 commit 9a57b3c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/components/homepage/HelloBar.jsx
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;

0 comments on commit 9a57b3c

Please sign in to comment.