<commit_before>import React, { Component } from "react";
import Card, { CardActions, CardContent, CardMedia } from 'material-ui/Card';
import Typography from 'material-ui/Typography';
import Button from 'material-ui/Button';
import {dayNames} from "./utils/Strings"
import List, { ListItem, ListItemIcon, ListItemText } from 'material-ui/List';
import Divider from 'material-ui/Divider';



class Scheduleview extends Component {

  generateDayCards(){
    let cardArray = []
    for (let i = 0; i < 7; i++){
      cardArray.push(<DayCard dayName={dayNames[i]} key={i}/>)
    }
    return cardArray;
  }

  render(){
    return(
      <div>
        {this.generateDayCards()}
      </div>
    )
  }
}


class DayCard extends Component {
  render(){
    return (
      <div>
        <Card>
          <CardContent>
            <Typography type="headline" component="h2">
              {this.props.dayName} 
            </Typography>
            <Typography component="div">
              <List>
                <ListItem button>
                  <ListItemText primary="Inbox" />
                </ListItem>
                <ListItem button>
                  <ListItemText primary="Drafts" />
                </ListItem>
              </List>
            </Typography>
          </CardContent>
        </Card>
      </div>
    );
  }
}



export default Scheduleview;<commit_msg>Finalized look of schedule view<commit_after>import React, { Component } from "react";
import Card, { CardActions, CardContent, CardMedia } from 'material-ui/Card';
import Typography from 'material-ui/Typography';
import Button from 'material-ui/Button';
import {dayNames} from "./utils/Strings"
import List, { ListItem, ListItemIcon, ListItemText } from 'material-ui/List';
import Divider from 'material-ui/Divider';


class Scheduleview extends Component {

  generateDayCards(){
    let cardArray = []
    for (let i = 0; i < 7; i++){
      cardArray.push(<DayCard dayName={dayNames[i]} key={i}/>)
    }
    return cardArray;
  }

  render(){
    return(
      <div>
        {this.generateDayCards()}
      </div>
    )
  }
}


class DayCard extends Component {
  render(){
    return (
      <div>
        <Card style={{marginTop: 9}}>
          <CardContent style={{paddingBottom: 0}}>
            <Typography type="headline" component="h2">
              {this.props.dayName} 
            </Typography>
            <Divider/>
            <Typography component="div">
              <List>
                <ListItem style={{padding: 0}}>
                  <ListContent title="CSE 280" name="Sophomore Project" startTime="10:20" endTime="12:30" buildingRoom="EC 321"/>
                </ListItem>
              </List>
            </Typography>
          </CardContent>
        </Card>
      </div>
    );
  }
}


const ListContent = ({title, name, startTime, endTime, buildingRoom}) => {
  console.log(title)
  return (
    <div style={{width: '100%', display: 'flex', flexDirection: 'row', justifyContent: 'space-around', fontSize: 16}} >
      <div>
        <div style={{fontSize: '.83em', fontWeight: 'bold'}}>Course Name</div>
        <p>{name}</p>
      </div>
      <div style={{border:"1px solid lightgray"}}></div>
      <div>
        <div style={{fontSize: '.83em', fontWeight: 'bold'}}>Meeting Time</div>
        <p>{`${startTime} - ${endTime}`}</p>
      </div>
      <div style={{border:"1px solid lightgray"}}></div>
      <div>
        <div style={{fontSize: '.83em', fontWeight: 'bold'}}>Location</div>
        <p>{buildingRoom}</p>
      </div>
    </div> 
  )
}




export default Scheduleview;
{'fraction_non_alphanumeric': 0.15256124721603564, 'fraction_numerical': 0.01002227171492205, 'mean_word_length': 2.2812785388127854, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 68, 'https://': 0, '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': '5961439', 'n_tokens_mistral': 1130, 'n_tokens_neox': 1085, 'n_words': 255}