blob: 6927ef853826b67b92288c667b3dc31cdffb11c4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
import React from "react";
import { Segment, Header, List } from "semantic-ui-react";
import { Changelog } from "./Changelog";
import Moment from "react-moment";
import "moment/locale/es";
const ChangeLogPage = ({ nightMode }) => {
return (
<Segment inverted={nightMode}>
<Header>Changelog</Header>
<List inverted={nightMode}>
{Changelog.map(date => {
return (
<List.Item key={date.timestamp}>
<List.Header>
<Moment unix date={date.timestamp} format="DD/MM/YY " />
<small>
<Moment unix date={date.timestamp} fromNow />
</small>
</List.Header>
<List.List>
{date.list.map((change, i) => (
<List.Item key={i}>
<List.Icon name={change.icon}></List.Icon>
<List.Content>{change.desc}</List.Content>
</List.Item>
))}
</List.List>
</List.Item>
);
})}
</List>
</Segment>
);
};
export default ChangeLogPage;
|