Skip to content

Commit

Permalink
wip workshop page
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerc99 committed Aug 14, 2024
1 parent 0382468 commit 7e1d050
Show file tree
Hide file tree
Showing 4 changed files with 513 additions and 126 deletions.
1 change: 1 addition & 0 deletions packages/playhtml/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ async function initPlayHTML({
onError?.();
});
// @ts-ignore
// TODO: we should backup in indexeddb too but not using this bc it introduces a bunch of weird conflicts
// const _indexedDBProvider = new IndexeddbPersistence(room, doc);

if (extraCapabilities) {
Expand Down
71 changes: 69 additions & 2 deletions website/events/gray-area/gray-area.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
font-family: "Play";
overflow: hidden;
overflow-y: auto;
flex-direction: column;
}

p {
Expand Down Expand Up @@ -102,3 +102,70 @@ h1 {
transform: translate(0, 0);
}
}

#workshopContent {
max-width: 1200px;
padding: 2em 4em;
background: rgba(255, 255, 185, 0.498);
border-radius: 1em;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
margin-bottom: 10vh;
font-size: 24px;
position: relative;

ul,
ol {
margin-top: 6px;
}
}

h3 {
color: blueviolet;
font-family: "Sono", "Cousine", monospace;
}

section {
margin: 8em 0;
&:nth-child(2) {
margin-top: 0;
}
}

.retro-timer {
font-family: "Courier New", Courier, monospace;
background: #808080;
color: yellow;
padding: 20px;
border-radius: 10px;
text-align: center;
width: fit-content;
margin: 20px auto;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.retro-timer h2 {
font-size: 2em;
margin: 0 0 20px;
}

.retro-timer .buttons {
display: flex;
gap: 10px;
justify-content: center;
}

.retro-timer button {
background: #808080;
color: yellow;
border: 2px solid yellow;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
transition: background 0.3s, color 0.3s;
}

.retro-timer button:hover {
background: yellow;
color: #808080;
}
Loading

0 comments on commit 7e1d050

Please sign in to comment.