Skip to content
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
6 changes: 6 additions & 0 deletions content/activities/project-night.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
title: Project Night
description: A weekly virtual gathering to work on our personal projects, and share learnings. Message @aberkowitz your email for an invite.
link: "slack://channel?team=T0A0T7A5Q&id=D3KKP1X7A"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sand

This is a deeplink to message me in slack. Eventually, there will be a dedicated channel for the event.

color: "#735FFF"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

I thought about this color way more than I should have. Hopefully the color I have chosen will not sentence me to designer hell.

document.body.style.background = '#fff';
document.body.innerHTML = '<div id="container"> </div>';
container = document.getElementById('container');
let colors = ['#fb7185', '#22d3ee', '#34d399', '#c084fc', '#fbbf24', '#735FFF'];
colors.forEach( (color) => {
  let color_container = document.createElement('div');
    color_container.style = `height: 50px; width: 50px; background: ${color}`;
    container.appendChild(color_container);
}); 
Image

order: 6
status: ongoing
2 changes: 1 addition & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const activities = defineCollection({
schema: z.object({
title: z.string().min(2),
description: z.string().min(10),
link: z.string().optional().refine(v => !v || v.startsWith('/') || v.startsWith('http'), {
link: z.string().optional().refine(v => !v || v.startsWith('/') || v.startsWith('http') || v.startsWith('slack'), {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sand

There's probable a better way to do this validation, but I don't care.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am more interested in what happens when you click on a device that doesnt support slack.

message: 'link must be a relative path or full URL',
}),
color: z.string().regex(/^#[0-9a-fA-F]{6}$/),
Expand Down
Loading