Skip to content

Commit

Permalink
[merge on launch day] added banner for HN launch (#3155)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaLam authored Jan 23, 2025
1 parent 859e44a commit 7a392e4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions bifrost/app/components/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Footer from "@/components/layout/footer";
import NavBar from "@/components/layout/navbar";
import Banner from "@/components/home/Banner";

export const Layout = async ({
children,
Expand All @@ -16,6 +17,7 @@ export const Layout = async ({

return (
<>
<Banner />
<NavBar stars={stars} />
{children}
{!hideFooter && <Footer />}
Expand Down
2 changes: 1 addition & 1 deletion bifrost/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default async function Home() {
<Layout>
<main className="bg-white text-landing-description">
<div className="max-w-8xl mx-auto">
<Banner />
{/* <Banner /> */}
<Hero />
<Prototype />
<Companies />
Expand Down
15 changes: 8 additions & 7 deletions bifrost/components/home/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ const Banner = () => {
<div
className={cn("flex flex-col justify-center w-full h-auto pb-4 relative")}
>
<div className="bg-slate-100 text-slate-500 text-center text-sm md:text-base py-3 w-full">
<div className="bg-blue-600 text-blue-50 text-center text-sm md:text-base py-3 w-full">
<p>
🎁 Our holiday gift to you:{" "}
🔥{" "}
<Link
href="https://docs.helicone.ai/features/experiments"
className="font-semibold underline hover:text-slate-600"
href="https://news.ycombinator.com/item?id=42806254"
className="font-medium underline hover:text-blue-200"
>
Experiments
</Link>{" "}
is here!
We&apos;re on HackerNews
</Link>
! If Helicone has helped you, we&apos;d love to get your thoughts and
support.
</p>
</div>
</div>
Expand Down

0 comments on commit 7a392e4

Please sign in to comment.