-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathBlog.js
More file actions
63 lines (50 loc) · 1.97 KB
/
Blog.js
File metadata and controls
63 lines (50 loc) · 1.97 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import React, {Component} from 'react';
import {Col, Container, Row} from "reactstrap";
import {Route, Switch} from "react-router";
import ProgrammingLanguageDefense from "./blog/ProgrammingLanguageDefense";
import DesignFlaws from "./blog/DesignFlaws";
import Naming from "./blog/Naming";
import Redundancies from "./blog/Redundancies";
import PolymorphicEffects from "./blog/PolymorphicEffects";
class Blog extends Component {
componentDidMount() {
if (!document.title) {
document.title = "Flix | Blog";
}
}
render() {
return (
<Container>
<Switch>
<Route exact path="/blog/">
<Row className="mb-3">
<Col>
<h1>Blog</h1>
The Flix Blog is now available at: <br/>
<div className="mt-3">
<a href="https://blog.flix.dev/"><h2>https://blog.flix.dev/</h2></a>
</div>
</Col>
</Row>
</Route>
<Route path="/blog/in-defense-of-programming-languages/">
<ProgrammingLanguageDefense/>
</Route>
<Route path="/blog/taming-impurity-with-polymorphic-effects/">
<PolymorphicEffects/>
</Route>
<Route path="/blog/naming-functional-and-destructive-operations/">
<Naming/>
</Route>
<Route path="/blog/redundancies-as-compile-time-errors/">
<Redundancies/>
</Route>
<Route path="/blog/design-flaws-in-flix/">
<DesignFlaws/>
</Route>
</Switch>
</Container>
);
}
}
export default Blog;