-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: events and event template page
- Loading branch information
1 parent
a406040
commit 39c86a0
Showing
39 changed files
with
1,025 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
--- | ||
title: Events | ||
description: List of all Waku events | ||
hide_table_of_contents: true | ||
hude_title: true | ||
--- | ||
|
||
import { | ||
EventCardList, | ||
EventCTASection, | ||
Grid, | ||
Box, | ||
} from '@site/src/components/mdx' | ||
|
||
# Events | ||
|
||
List of all Waku events | ||
|
||
<head> | ||
<body className="events" /> | ||
</head> | ||
|
||
<EventCardList | ||
data={[ | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
{ | ||
thumbnail: '/img/event-banner.png', | ||
title: 'Meet Waku: Uncompromising Web3 Communication at Scale', | ||
date: 'Monday 15-19 January 2024 / 6 PM PST', | ||
location: '508 University Avenue Palo Alto, CA 94301 United States', | ||
href: '/events/test', | ||
}, | ||
]} | ||
/> | ||
|
||
<Box top={{ xs: 152 }}> | ||
<Grid xs={{ cols: 1, gap: '1rem' }} md={{ cols: 2 }}> | ||
<Grid.Item xs={1}> | ||
<EventCTASection | ||
title="Logos Network State" | ||
description={ | ||
'Want to get involved with Waku?\nJoin the Discord community.' | ||
} | ||
link="https://logos.co" | ||
label="Get Involved" | ||
/> | ||
</Grid.Item> | ||
<Grid.Item xs={1}> | ||
<EventCTASection | ||
title="Newsletter" | ||
description={'Subscribe\nto our newsletter'} | ||
label="Subscribe" | ||
formInput={[ | ||
{ | ||
label: 'Name', | ||
placeholder: 'Name', | ||
type: 'text', | ||
name: 'name', | ||
required: true, | ||
}, | ||
{ | ||
label: 'Email', | ||
placeholder: 'Enter your email', | ||
type: 'email', | ||
name: 'email', | ||
required: true, | ||
}, | ||
]} | ||
/> | ||
</Grid.Item> | ||
</Grid> | ||
</Box> |
147 changes: 147 additions & 0 deletions
147
packages/docusaurus-playground/root-pages/events/test.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
--- | ||
title: Meet Waku | ||
description: Uncompromising Web3 Communication at Scale | ||
hide_table_of_contents: true | ||
hide_title: true | ||
--- | ||
|
||
import { | ||
Box, | ||
EventBanner, | ||
EventInfo, | ||
EventAbout, | ||
EventProfileList, | ||
EventCTA, | ||
EventCTASection, | ||
Grid, | ||
} from '@site/src/components/mdx' | ||
|
||
<head> | ||
<body className="events" /> | ||
</head> | ||
|
||
<Box top={{ xs: 8 }}> | ||
<EventBanner src="/img/event-banner.png" /> | ||
|
||
# Meet Waku: Uncompromising Web3 Communication at Scale | ||
|
||
We are a family of robust, censorship-resistant communication protocols designed to enable privacy-focused messaging for web3 apps. | ||
|
||
<Box top={{ xs: 32 }}> | ||
<Grid xs={{ cols: 1, gap: '1rem' }} md={{ cols: 2 }}> | ||
<Grid.Item xs={1}> | ||
<EventInfo | ||
label="Date" | ||
content="Monday 15-19 January 2024 / 6 PM PST" | ||
/> | ||
</Grid.Item> | ||
<Grid.Item xs={1}> | ||
<EventInfo | ||
label="Location" | ||
content="508 University Avenue Palo Alto, CA 94301 United States" | ||
/> | ||
</Grid.Item> | ||
</Grid> | ||
</Box> | ||
</Box> | ||
|
||
<Box top={{ xs: 120 }}> | ||
<EventAbout> | ||
Waku is a suite of generalised messaging protocols aiming to be the communication standard for the decentralised web. It enables private and secure human-to-human, machine-to-machine, and human-to-machine communication without reliance on centralised intermediaries. Messaging through Waku is possible from one-to-one to many-to-many. | ||
|
||
<br /> | ||
|
||
Waku serves as the communications layer of the Logos tech stack. Alongside the trustless agreement layer, Nomos, and the storage layer, Codex, it is one of the Logos Collective's foundational projects. | ||
|
||
<br /> | ||
|
||
Motive: | ||
Today's internet is increasingly controlled by a small number of tech giants. Google, Amazon, Meta, and a few others dictate what we see and with whom we can communicate. Their influence is almost limitless, and their actions shape global public opinion and even geopolitics. | ||
|
||
<br /> | ||
|
||
To anyone that understands the internet's present architecture, this outcome should be expected. The centralised entities through which we communicate have privileged access to reams of data that we, as internet users, produce daily, presenting an opportunity for the kind of surveillance that was once confined to the pages of science-fiction literature. Thinking that the most powerful commercial and political institutions would not leverage this would be naive. | ||
|
||
<br /> | ||
|
||
Yet, it doesn't have to be this way. Advances in cryptography, peer-to-peer networking, and decentralised technologies provide an alternate path forward. | ||
|
||
</EventAbout> | ||
</Box> | ||
|
||
<Box top={{ xs: 120 }}> | ||
<EventProfileList | ||
title="Our delegation" | ||
description="Reach out for the appointment." | ||
data={[ | ||
{ | ||
image: '/img/profile-image.png', | ||
name: 'Kumaraguru T', | ||
role: 'Developer relations engineer', | ||
email: 'a@acid.info', | ||
linkedin: 'https://www.linkedin.com/', | ||
}, | ||
{ | ||
image: '/img/profile-image.png', | ||
name: 'Aaron Bendersky', | ||
role: 'Program Manager', | ||
email: 'b@acid.info', | ||
linkedin: 'https://www.linkedin.com/', | ||
}, | ||
{ | ||
image: '/img/profile-image.png', | ||
name: 'Pedro Lains', | ||
role: 'Business Development Lead', | ||
email: 'c@acid.info', | ||
linkedin: 'https://www.linkedin.com/', | ||
}, | ||
]} | ||
/> | ||
</Box> | ||
|
||
<Box top={{ xs: 120 }}> | ||
<EventCTA | ||
title="Interested? Join the event" | ||
label="CTA" | ||
link="https://logos.co" | ||
linkProps={{ target: '_self' }} | ||
/> | ||
</Box> | ||
|
||
<Box top={{ xs: 120 }}> | ||
<Grid xs={{ cols: 1, gap: '1rem' }} md={{ cols: 2 }}> | ||
<Grid.Item xs={1}> | ||
<EventCTASection | ||
title="Logos Network State" | ||
description={ | ||
'Want to get involved with Waku?\nJoin the Discord community.' | ||
} | ||
link="https://logos.co" | ||
label="Get Involved" | ||
/> | ||
</Grid.Item> | ||
<Grid.Item xs={1}> | ||
<EventCTASection | ||
title="Newsletter" | ||
description={'Subscribe\nto our newsletter'} | ||
label="Subscribe" | ||
formInput={[ | ||
{ | ||
label: 'Name', | ||
placeholder: 'Name', | ||
type: 'text', | ||
name: 'name', | ||
required: true, | ||
}, | ||
{ | ||
label: 'Email', | ||
placeholder: 'Enter your email', | ||
type: 'email', | ||
name: 'email', | ||
required: true, | ||
}, | ||
]} | ||
/> | ||
</Grid.Item> | ||
</Grid> | ||
</Box> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,7 @@ body, | |
html { | ||
overflow-x: hidden; | ||
} | ||
|
||
.theme-doc-breadcrumbs { | ||
display: none; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
packages/logos-docusaurus-theme/src/client/components/mdx/EventAbout/EventAbout.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@use '../../../css/utils'; | ||
@use '../../../css/lsd'; | ||
|
||
.mdx-event-about__container { | ||
display: grid; | ||
grid-template-columns: repeat(12, 1fr); | ||
gap: 16px; | ||
|
||
h2 { | ||
margin-top: 0 !important; | ||
grid-column: 1 / 2; | ||
} | ||
|
||
span { | ||
grid-column: 5 / 13; | ||
} | ||
} | ||
|
||
@include utils.responsive('sm', 'down') { | ||
.mdx-event-about__container { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 32px; | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
packages/logos-docusaurus-theme/src/client/components/mdx/EventAbout/EventAbout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react' | ||
import './EventAbout.scss' | ||
import { Typography } from '@acid-info/lsd-react' | ||
|
||
export type EventAboutProps = React.HTMLProps<HTMLAnchorElement> & { | ||
content: string | ||
} | ||
|
||
export const EventAbout: React.FC<EventAboutProps> = ({ children }) => { | ||
return ( | ||
<div className="mdx-event-about__container"> | ||
<Typography | ||
variant="h2" | ||
component="h2" | ||
className="mdx-event-about__title" | ||
> | ||
About | ||
</Typography> | ||
<Typography variant="body1">{children}</Typography> | ||
</div> | ||
) | ||
} |
1 change: 1 addition & 0 deletions
1
packages/logos-docusaurus-theme/src/client/components/mdx/EventAbout/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './EventAbout' |
8 changes: 8 additions & 0 deletions
8
packages/logos-docusaurus-theme/src/client/components/mdx/EventBanner/EventBanner.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@use '../../../css/utils'; | ||
@use '../../../css/lsd'; | ||
|
||
.mdx-event-banner__thumbnail { | ||
aspect-ratio: 5 / 1; | ||
border: 1px solid rgba(var(--lsd-border-primary), 0.2); | ||
margin-bottom: 32px; | ||
} |
Oops, something went wrong.