{"size": 1410, "ext": "js", "max_stars_repo_path": "src/Pages/includes/AppScreenshots/Title.js", "max_stars_repo_name": "thaivan1437/sm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/Pages/includes/AppScreenshots/Title.js", "max_issues_repo_name": "thaivan1437/sm", "max_issues_repo_issues_event_min_datetime": "2020-11-25T05:10:50.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-28T03:21:16.000Z", "max_forks_repo_path": "src/Pages/includes/AppScreenshots/Title.js", "max_forks_repo_name": "thaivan1437/sm", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 36.1538461538, "max_line_length": 80, "alphanum_fraction": 0.3014184397}
import React, { Component } from 'react';
import { Image, Container, Row, Col } from "react-bootstrap";
import Link from 'next/link';

class Title extends Component {
    render() {
        return (
            <center>
                <div className="ana_div">
                    <div className="div">
                        <div className="div2">
                            {
                                this.props && this.props.device === "ipad" ?
                                    <span>iPad App</span>
                                    :
                                    <Link href="/app-screenshots?device=ipad">
                                        <a>iPad App</a>
                                    </Link>   
                            }
                        </div>
                        <div className="div2">
                            {
                                this.props && this.props.device === "mobile" ?
                                    <span>Mobile App</span>
                                    :
                                    <Link href="/app-screenshots?device=mobile">
                                        <a>Mobile App</a>
                                    </Link> 
                            }
                        </div>
                    </div>
                </div>
            </center>

        );
    }
}

export default Title;