]> git.somenet.org - pub/jan/aic18.git/blob - service-website/src/components/App.js
Enable CORS for localhost:3000 for React dev server
[pub/jan/aic18.git] / service-website / src / components / App.js
1 import React, {Component} from "react";
2 import SentimentAnalysis from "./SentimentAnalysis";
3
4 import {Container, Hero, Heading, Content} from "react-bulma-components/full";
5
6 class App extends Component {
7     render() {
8         return (
9             <div className="app">
10                 <Hero color="info">
11                     <Hero.Body>
12                         <Container>
13                             <Heading>Sentiment Analysis</Heading>
14                             <Heading subtitle size={5}>
15                                 AIC Project - G6T4
16                             </Heading>
17                         </Container>
18                     </Hero.Body>
19                 </Hero>
20                 <main>
21                     <Container>
22                         <SentimentAnalysis/>
23                     </Container>
24                 </main>
25                 <footer>
26                     <Content className="has-text-centered">
27                         <p>
28                             <span>Docker-based Service Composition by <strong>G6T4</strong>.</span>
29                         </p>
30                     </Content>
31                 </footer>
32             </div>
33         );
34     }
35 }
36
37 export default App;