Skip to content

Commit

Permalink
Merge pull request #429 from HoomanDgtl/update-neurips
Browse files Browse the repository at this point in the history
update: NeurIps 2024
  • Loading branch information
HoomanDgtl authored Nov 27, 2024
2 parents adeae37 + a4af833 commit dfbe5be
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
Binary file modified public/images/neurips/card1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/neurips/card2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/neurips/InfoCards.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const cards = [
"Greg Osuri, the Founder of Akash, will present the vision for the future of open-source cloud compute for AI and machine learning on December 10th at 10:30 AM in East Exhibition Hall C.",
},
{
image: "/images/neurips/card2.png",
image: "/images/neurips/card2.jpg",
title: "Check out the latest from Akash at booth 229",
content:
"Discover how open-source cloud compute is transforming AI and machine learning. Meet the core team and community to learn more about Akash and see live demos.",
Expand Down
8 changes: 4 additions & 4 deletions src/components/neurips/joinCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ const { className } = Astro.props;
<div class="flex flex-1 flex-col gap-2 md:gap-4">
<div class="flex gap-2 md:items-center">
<h2
class="w-full flex-1 text-sm font-semibold md:flex-initial md:text-base lg:text-2xl"
class="text-sm font-semibold md:flex-initial md:text-base lg:text-2xl"
>
Register for the NeurIPS AI Social Space
</h2>
<div
class="flex h-6 w-6 items-center justify-center rounded-full bg-white"
class="flex size-5 items-center justify-center rounded-full bg-white md:size-6"
>
<ArrowRight className="size-4 stroke-[1.5] text-black" />
<ArrowRight className="size-3 stroke-[1.5] text-black md:size-4" />
</div>
</div>
<p class="text-xs text-white lg:text-sm">
Connect and collaborate with AI researchers, developers, and leaders on
December 9-10th.
December 9-10th, hosted by Akash.
</p>
</div>
</a>
4 changes: 3 additions & 1 deletion src/layouts/layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import CTA from "@/components/CTA.astro";
import Footer from "@/components/footer/footer.astro";
import Header from "@/components/header/header.astro";
import { getEntry } from "astro:content";
import clsx from "clsx";
import BaseLayout from "./base-layout.astro";
Expand All @@ -13,6 +14,7 @@ interface Props {
description?: string;
image?: string;
}
const homepage = await getEntry("Homepage", "index");
const { advert } = homepage.data;
Expand All @@ -23,7 +25,7 @@ const pathname = Astro.url.pathname;

<BaseLayout title={title} description={description} image={image}>
{
advert && pathname !== advert?.link && (
advert && !pathname.includes("neurips") && (
<div class="flex items-center justify-center bg-primary px-3 py-2">
<a
id="advert-to-gpus"
Expand Down

0 comments on commit dfbe5be

Please sign in to comment.