Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[merge on launch day] added banner for HN launch #3155

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading