Skip to content

Commit

Permalink
💄 Redesigned the header for the React Advanced page
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaywood committed Sep 13, 2024
1 parent 1d336e2 commit c1a41f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
Binary file added web/public/images/bg__react-advanced.png
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 web/public/images/react-advanced-logo.png
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 web/public/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 8 additions & 21 deletions web/src/pages/ReactAdvancedPage/ReactAdvancedPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,19 @@ const ReactAdvancedPage = () => {
og={{ image: `${origin}/images/og.png` }}
/>

<div className="page-content">
<div className="page-content bg-[#0f0f0f] bg-[url('/images/bg__react-advanced.png')] bg-[right_center] bg-no-repeat lg:bg-[center_center]">
<header className="grid grid-cols-10 gap-5">
<div className="col-span-12 mr-12 lg:col-span-5">
{/* Heading and logo */}
<div className="mb-16">
<h1 className="mb-8 font-serif text-5xl font-bold text-maiTai md:text-7xl">
Hello from
</h1>
<img
src="/images/react-advanced-logo.svg"
alt="React Advanced 2024"
className="dark:hidden"
/>
<img
src="/images/react-advanced-logo-white.svg"
alt="React Advanced 2024"
className="hidden dark:block"
/>
</div>
<div className="col-span-12 mr-12 lg:col-span-6 lg:col-start-5 xl:col-span-4 xl:col-start-7">
<img
src="/images/react-advanced-logo.png"
srcSet="/images/[email protected] 2x, /images/react-advanced-logo.png 1x"
alt="React Advanced London"
className="relative mx-auto mb-10"
/>

{/* Newsletter Form */}
<Newsletter />
</div>
<div className="col-span-12 hidden lg:col-span-5 lg:block">
<img src="/images/react-conf-art.png" alt="React Advanced 2024" />
</div>
</header>
</div>

Expand Down

0 comments on commit c1a41f9

Please sign in to comment.