Skip to content

Commit

Permalink
feat(client): implement timeline and recording
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Jun 22, 2019
1 parent cb99288 commit 52264f5
Show file tree
Hide file tree
Showing 12 changed files with 527 additions and 97 deletions.
51 changes: 36 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</div>

<div align="center">
<strong>📝 Make slides with Markdown easily.</strong>
<strong>📝 Makes slides with Markdown easily.</strong>
</div>

<br />
Expand All @@ -17,22 +17,36 @@ Just write Markdown and create cool slides.😎
## Features

- supports [mdx](https://github.com/mdx-js/mdx)
- you can write JavaScript in Markdown
- supports [WebSlides](https://webslides.tv)
- you can write JavaScript into Markdown
- supports [WebSlides](https://webslides.tv) as Slide UI
- supports [Presentation API](https://developer.mozilla.org/en-US/docs/Web/API/Presentation_API)
- also, it works even without Presentation API
- supports various modes
- development
- production build
- exporting as PDF
- deploying to GitHub Pages
- live mode
- fusuma can stream comments such as Twitter during the presentation
- supports SNS, OGP, FullScreen, and etc...
- supports Presenter Mode
- you can give a speech while watching a presenter's notes and timer
- also, Fusuma works even without Presentation API
- supports SNS, OGP
- records your voice
- customizes JavaScript and CSS freely

## Modes

### Development

Develop with webpack-dev-server.

### Production

Build with webpack.

### Presentation

You can give a speech while watching a presenter's notes and timer

### Live

Fusuma can stream comments such as Twitter during the presentation.

### Deploying to GitHub Pages

### Exporting slides as PDF

## Demos

- [introduction slide of Fusuma](https://hiroppy.github.io/fusuma/intro) [[repository](/samples/intro)]
Expand Down Expand Up @@ -256,9 +270,16 @@ slide:
![](./media/presenter-host.png)
### Practice Presentation
Fusuma records the slide operation performed by the speaker.
And, by recording audio, you can also do time travel.
![](./media/timeline.png)
## Live Mode
fusuma can fetch tweets from Twitter. In addition, fusuma have an api endpoint.
Fusuma can fetch tweets from Twitter. In addition, fusuma have an api endpoint.
If you specify a `keyword` and `authentication keys`, fetching from twitter will be enabled.
Since comments can be sent to fusuma itself, you can use in the private case.
Also, this mode can run with Presenter Mode.
Expand Down
Binary file added media/timeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 33 additions & 1 deletion packages/client/assets/style/host.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
@import './variable';

.disabled {
pointer-events: none;
color: #888;
cursor: not-allowed;
}

.host-container {
background: var(--color-black);
display: grid;
Expand Down Expand Up @@ -81,6 +87,7 @@
display: flex;
align-items: center;
justify-content: center;
user-select: none;

& > *:not(:first-child) {
margin-left: 20px;
Expand All @@ -97,7 +104,7 @@
font-size: 24px;

& > *:not(:first-child) {
margin-left: 12px;
margin-left: 20px;
}

& > svg {
Expand All @@ -106,3 +113,28 @@
}
}
}

.host-timeline-container {
display: flex;
flex-direction: column;
height: 100%;
}

.host-timeline-audio {
height: 60px;
width: 100%;

& > audio {
outline: none;
width: 100%;

&:focus {
box-shadow: none;
}
}
}

.host-timeline-body {
height: calc(100% - 60px);
overflow: auto;
}
18 changes: 9 additions & 9 deletions packages/client/assets/style/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@
&:first-child {
margin-left: 32px;
}
}

& > a {
color: #7bb7fa;
& > a {
color: #7bb7fa;

&:not(:first-child) {
margin-top: 4px;
}
&:not(:first-child) {
margin-top: 4px;
}

&:focus {
outline: none;
box-shadow: none !important;
&:focus {
outline: none;
box-shadow: none !important;
}
}
}
}
Expand Down
39 changes: 38 additions & 1 deletion packages/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"react": "16.8.6",
"react-burger-menu": "^2.6.10",
"react-dom": "16.8.6",
"react-event-timeline": "^1.6.3",
"react-icons": "^3.6.1",
"react-modal": "^3.8.1",
"react-pose": "^4.0.8",
"screenfull": "^4.2.0",
"webslides": "^1.4.2"
Expand Down
Loading

0 comments on commit 52264f5

Please sign in to comment.