<commit_before>import React, { Component } from 'react';
import Relay from 'react-relay';
import HomePageCalendar from './HomePageCalendar';

class HomePage extends Component {
    render () {
        const { app } = this.props;
        return (
            <div>
                <h1>Phoenix Musical</h1>
                <HomePageCalendar app={app} />
            </div><commit_msg>embed Google Calendar<commit_after>import React, { Component } from 'react';
import Relay from 'react-relay';
import HomePageCalendar from './HomePageCalendar';

const styles = {
    colorBlock: color => ({
        backgroundColor: color,
        width: 12,
        height: 12,
        display: 'inline-block',
        margin: '2px 5px',
    }),
    lengendLabel: {
        marginRight: 10,
        fontWeight: 'bold',
    },
};

class HomePage extends Component {
    render () {
        const { app } = this.props;
        return (
            <div>
                <h1>Phoenix Musical</h1>
                <h4>Calendrier</h4>
                <div>
                    <span style={styles.lengendLabel}>
                        <span style={styles.colorBlock('#f83a22')} /> Chant
                    </span>
                    <span style={styles.lengendLabel}>
                        <span style={styles.colorBlock('#16a765')} /> Chorégraphie
                    </span>
                    <span style={styles.lengendLabel}>
                        <span style={styles.colorBlock('#4986e7')} /> Mise en scène
                    </span>
                </div>
                <iframe src="https://calendar.google.com/calendar/embed?showTitle=0&amp;mode=WEEK&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=phoenix.musical%40outlook.com&amp;color=%231B887A&amp;src=avdnq1961piusnokel3f5fq8nk%40group.calendar.google.com&amp;color=%23711616&amp;src=dbnrj0l10vs8v1lnvedv2sgn3s%40group.calendar.google.com&amp;color=%23125A12&amp;src=cop471rdbb3atvc54lvhts1un0%40group.calendar.google.com&amp;color=%23182C57&amp;ctz=America%2FToronto" style={{ borderWidth: 0 }} width="800" height="600" frameborder="0" scrolling="no"></iframe>
            </div>
{'fraction_non_alphanumeric': 0.13417484805984103, 'fraction_numerical': 0.047685834502103785, 'mean_word_length': 2.2872503840245777, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 28, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6930162', 'n_tokens_mistral': 730, 'n_tokens_neox': 656, 'n_words': 107}