-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5351b3f
commit 2281033
Showing
4 changed files
with
247 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,101 @@ | ||
import React from 'react'; | ||
import { Container, Header, Menu, Dropdown, Grid, Comment, Form, Button, Input, List } from 'semantic-ui-react'; | ||
|
||
const SectionView = () => ( | ||
<Container> | ||
{/* Menu */} | ||
<Menu> | ||
<Menu.Item> | ||
<Header as='h2'>My section</Header> | ||
</Menu.Item> | ||
<Menu.Menu position='right'> | ||
<Dropdown item icon='ellipsis vertical' simple> | ||
<Dropdown.Menu> | ||
<Dropdown.Item>Edit title</Dropdown.Item> | ||
<Dropdown.Item>Edit Progression</Dropdown.Item> | ||
<Dropdown.Item>Duplicate</Dropdown.Item> | ||
<Dropdown.Item>Delete</Dropdown.Item> | ||
</Dropdown.Menu> | ||
</Dropdown> | ||
</Menu.Menu> | ||
</Menu> | ||
|
||
{/* Chord Progression */} | ||
<Header as='h3'>Progression: C Dm Em F</Header> | ||
|
||
let ChordProgression = () => { | ||
return (<h1> Hello, Universe!</h1>); | ||
}; | ||
{/* Grid Layout */} | ||
<Grid columns={2} divided> | ||
<Grid.Row> | ||
<Grid.Column> | ||
<List> | ||
<List.Item> | ||
<List.Icon name='file audio' /> | ||
<List.Content> | ||
<List.Header>Bass.mp3</List.Header> | ||
<List.Description>2 comments</List.Description> | ||
</List.Content> | ||
</List.Item> | ||
<List.Item> | ||
<List.Icon name='file audio' /> | ||
<List.Content> | ||
<List.Header>Guitar.mp3</List.Header> | ||
<List.Description>23 comments</List.Description> | ||
</List.Content> | ||
</List.Item> | ||
<List.Item> | ||
<List.Icon name='file audio' /> | ||
<List.Content> | ||
<List.Header>Guitar.mp3</List.Header> | ||
<List.Description>23 comments</List.Description> | ||
</List.Content> | ||
</List.Item> | ||
</List> | ||
</Grid.Column> | ||
<Grid.Column> | ||
<List.Item> | ||
<List.Icon name='file audio' /> | ||
<List.Content> | ||
<List.Header>Guitar.mp3</List.Header> | ||
<List.Description>23 comments</List.Description> | ||
</List.Content> | ||
</List.Item> | ||
<List.Item> | ||
<List.Icon name='file audio' /> | ||
<List.Content> | ||
<List.Header>Guitar.mp3</List.Header> | ||
<List.Description>23 comments</List.Description> | ||
</List.Content> | ||
</List.Item> | ||
</Grid.Column> | ||
</Grid.Row> | ||
</Grid> | ||
|
||
export default ChordProgression | ||
{/* Comments Section */} | ||
<Header as='h3'>Comments for section</Header> | ||
<Comment.Group> | ||
<Comment> | ||
<Comment.Avatar src='/images/avatar/small/matt.jpg' /> | ||
<Comment.Content> | ||
<Comment.Author as='a'>Dave</Comment.Author> | ||
<Comment.Text>Great section!</Comment.Text> | ||
</Comment.Content> | ||
</Comment> | ||
<Comment> | ||
<Comment.Avatar src='/images/avatar/small/matt.jpg' /> | ||
<Comment.Content> | ||
<Comment.Author as='a'>Matthews</Comment.Author> | ||
<Comment.Text>Great section!</Comment.Text> | ||
</Comment.Content> | ||
</Comment> | ||
{/* Add more comments as needed */} | ||
</Comment.Group> | ||
|
||
{/* Comment Form */} | ||
<Form reply> | ||
<Form.TextArea /> | ||
<Button content='Submit' labelPosition='left' icon='edit' primary /> | ||
</Form> | ||
</Container> | ||
); | ||
|
||
export default SectionView; |
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