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

Offsites pages [WIP] #5699

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
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
45 changes: 45 additions & 0 deletions contents/handbook/company/offsites/2023-aruba.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
title: "March 2023: Oranjestad, Aruba"
sidebar: Handbook
showTitle: false
hideAnchor: true
---

<!-- Temp, until it's added correctly below -->
![](../../../images/offsites/2023-aruba/offsite-badge-2023-aruba.png)

<OffsiteHeader
badge="../../../images/offsites/2023-aruba/offsite-badge-2023-aruba.png"
location="Oranjestad, Aruba"
date="March 2023"
team="Whole company"
/>

<OffsiteDescription>
Aruba is one happy island. (Also very windy.) The team stayed at the all-inclusive Renaissance Hotel and enjoyed some R&R on their private island. We enjoyed an afternoon on a catamaran and went snorkeling.
</OffsiteDescription>

<OffsiteAttendees count="28" />

<OffsitePhotos />

<!-- Temp, until it's added correctly above -->
![](../../../images/offsites/2023-aruba/photos/PXL_20230327_193403662.MP.jpg)

<OffsiteHackathons>
<OffsiteHackathonsItem name="Event-based automations" url="#" />
<OffsiteHackathonsItem name="Hedgehog mode for Toolbar" url="#" />
<OffsiteHackathonsItem name="Beta feature opt-in" url="#" />
<OffsiteHackathonsItem name="Multi-tenant data warehouse" url="#" />
<OffsiteHackathonsItem name="AI docs chatbot" url="#" />
<OffsiteHackathonsItem name="User-facing bug report portal" url="#" />
<OffsiteHackathonsItem name="Dashboard templates" url="#" />
<OffsiteHackathonsItem name="ClickHouse manager" url="#" />
</OffsiteHackathons>

<OffsiteMerch>
<OffsiteMerchItem name="Beach towel" image="/contents/images/offsites/2023-aruba/merch/aruba-towel.png" />
<OffsiteMerchItem name="Tote bag" image="/contents/images/offsites/2023-aruba/merch/aruba-tote.png" />
<OffsiteMerchItem name="Laptop stickers" image="/contents/images/offsites/2023-aruba/merch/aruba-stickers.png" />
</OffsiteMerch>

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/.mdxignore
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ TestimonialsTable
Templates
TemplatesList
Tutorials
UserLogosCarouse
UserLogosCarousel
43 changes: 43 additions & 0 deletions src/components/OffsiteAttendees/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import React from 'react'

interface OffsiteAttendeesProps {
count: number
}

export const OffsiteAttendees = ({ count }: OffsiteAttendeesProps) => {
return (
<>
<h4 className="max-w-2xl mx-auto opacity-70 text-center text-sm font-normal">{count} attendees</h4>
<ul className="flex flex-wrap justify-center items-center space-x-1.5 max-w-2xl mx-auto gap-y-2 pb-8">
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
<span className="bg-gray-accent h-8 w-8 rounded-full"></span>
</ul>
</>
)
}
9 changes: 9 additions & 0 deletions src/components/OffsiteDescription/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

interface OffsiteDescriptionProps {
children: JSX.Element[]
}

export const OffsiteDescription = ({ children }: OffsiteDescriptionProps) => {
return <p className="max-w-2xl mx-auto pb-4 opacity-70">{children}</p>
}
16 changes: 16 additions & 0 deletions src/components/OffsiteHackathons/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'

interface OffsiteHackathonsProps {
children: JSX.Element[]
}

export const OffsiteHackathons = ({ children }: OffsiteHackathonsProps) => {
return (
<>
<h3 className="max-w-4xl text-center mx-auto">Hackathon projects</h3>
<div className="grid sm:grid-cols-2 lg:grid-cols-3 text-center items-center max-w-4xl mx-auto gap-1 pb-8">
{children}
</div>
</>
)
}
23 changes: 23 additions & 0 deletions src/components/OffsiteHackathonsItem/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from 'react'

interface OffsiteHackathonsItemProps {
name: string
url?: string
}

export const OffsiteHackathonsItem = ({ name, url }: OffsiteHackathonsItemProps) => {
return (
<>
{url ? (
<a
href={url}
className="block relative px-2 !py-2 rounded hover:!bg-gray-accent-light hover:scale-[1.01] hover:top-[-.5px] active:scale-[1] active:top-[.5px] !bg-none"
>
{name}
</a>
) : (
<>{name}</>
)}
</>
)
}
25 changes: 25 additions & 0 deletions src/components/OffsiteHeader/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from 'react'

interface OffsiteHeaderProps {
badge?: string
location: string
date: string
team?: string
}

export const OffsiteHeader = ({ badge, location, date, team }: OffsiteHeaderProps) => {
return (
<header className="text-center pb-12">
{badge && (
<figure>
<img className="mx-auto w-[175px]" alt={`${date} offsite to ${location}`} src={badge} />
</figure>
)}

<h1 className="text-5xl">{location}</h1>
<div className="opacity-70">
{date} {team && <> &bull; {team}</>}
</div>
</header>
)
}
16 changes: 16 additions & 0 deletions src/components/OffsiteMerch/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import React from 'react'

interface OffsiteMerchProps {
children: JSX.Element[]
}

export const OffsiteMerch = ({ children }: OffsiteMerchProps) => {
return (
<>
<h3 className="max-w-4xl text-center mx-auto">Limited edition merch</h3>
<div className="grid sm:grid-cols-2 lg:grid-cols-3 text-center items-center max-w-4xl mx-auto gap-8 pb-8">
{children}
</div>
</>
)
}
15 changes: 15 additions & 0 deletions src/components/OffsiteMerchItem/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import React from 'react'

interface OffsiteMerchItemProps {
name: string
image?: string
}

export const OffsiteMerchItem = ({ name, image }: OffsiteMerchItemProps) => {
return (
<div>
<img src={image} alt="" className="w-full h-full object-contain" />
{name}
</div>
)
}
10 changes: 10 additions & 0 deletions src/components/OffsitePhotos/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react'

export const OffsitePhotos = () => {
return (
<section className="pb-6">
Photos go here
{/* see photos in 2023-aruba folder */}
</section>
)
}
16 changes: 16 additions & 0 deletions src/mdxGlobalComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ import { GDPRForm } from './components/GDPRForm'
import { HiddenSection } from './components/HiddenSection'
import { LPCTA } from './components/LPCTA'
import { NewsletterTutorial } from './components/NewsletterTutorial'
import { OffsiteAttendees } from './components/OffsiteAttendees'
import { OffsiteDescription } from './components/OffsiteDescription'
import { OffsiteHackathons } from './components/OffsiteHackathons'
import { OffsiteHackathonsItem } from './components/OffsiteHackathonsItem'
import { OffsiteHeader } from './components/OffsiteHeader'
import { OffsiteMerch } from './components/OffsiteMerch'
import { OffsiteMerchItem } from './components/OffsiteMerchItem'
import { OffsitePhotos } from './components/OffsitePhotos'
import { OverflowXSection } from './components/OverflowXSection'
import { Quote } from './components/Pricing/Quote'
import { ProductLayout } from './components/ProductLayout'
Expand All @@ -30,6 +38,14 @@ export const shortcodes = {
HiddenSection,
LPCTA,
NewsletterTutorial,
OffsiteAttendees,
OffsiteDescription,
OffsiteHackathons,
OffsiteHackathonsItem,
OffsiteHeader,
OffsiteMerch,
OffsiteMerchItem,
OffsitePhotos,
OverflowXSection,
Quote,
ProductLayout,
Expand Down
12 changes: 11 additions & 1 deletion src/sidebars/handbook.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,17 @@
},
{
"name": "Offsites",
"url": "/handbook/company/offsites"
"url": "",
"children": [
{
"name": "How we run offsites",
"url": "/handbook/company/offsites"
},
{
"name": "2023: Aruba",
"url": "/handbook/company/offsites/2023-aruba"
}
]
},
{
"name": "Security",
Expand Down