import React, { useEffect, useState } from 'react';
import ReactDOM from 'react-dom';
import Side from '../../component/side';

const ChildDetail = () => {
	return (
    <main className="l-container">
      <div className="l-content">
        <div className="l-content-w560">
          <div className="l-content__ttl">
            <div className="l-content__ttl__left">
              <h2>子詳細</h2>
            </div>
            <div className="p-notification">
              <div className="p-notification-icon">
                <div className="p-notification-icon-wrap">
                  <div className="count">1</div>
                  <div className="p-notification-icon-bg"></div>
                  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.742 19.855" className="icon svg-icon svg-fill svg-y50" ><g fill="none" stroke="#080808" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" data-name="Icon feather-alert-triangle" transform="translate(0.777 0.75)"><path d="M11.188,5.322,2.6,19.659A2.028,2.028,0,0,0,4.334,22.7H21.51a2.028,2.028,0,0,0,1.734-3.042L14.656,5.322a2.028,2.028,0,0,0-3.468,0Z" data-name="パス 3" transform="translate(-2.328 -4.346)"/><path d="M18,13.5v6.91" data-name="パス 4" transform="translate(-7.406 -8.547)"/><path d="M18,25.5h0" data-name="パス 5" transform="translate(-7.406 -11.2)"/></g></svg>
                </div>
              </div>
            </div>
          </div>
  
          <div className="l-content-wrap">
            <div className="profile-container">
              <div className="profile-wrap">
                <div className="profile-content">
                  <div className="profile-thumb">
                    {/* <label> */}
                      <input id="profile-file" type="file" className="profile-thumb-img" />
                      <img src="../../../assets/img/avatar/avatar-sample04.jpg" id="profile-file-preview" className="profile-thumb__image" alt="" />
                    {/* </label> */}
                  </div>
                  <p className="profile-name">田中 達也</p>
                  <div className="profile-info">
                    <div className="profile-info__item">
                      <p className="profile-info__icon">
                        <img src="../../../assets/img/icon/mail.svg" alt="メール" />
                      </p>
                      <p className="txt">chankan77@gmail.com</p>
                    </div>
                    <div className="profile-info__item">
                      <p className="profile-info__icon">
                        <img src="../../../assets/img/icon/phone.svg" alt="電話" />
                      </p>
                      <p className="txt">08012927104</p>
                    </div>
                    <div className="profile-info__item">
                      <p className="profile-info__icon">
                        <img src="../../../assets/img/icon/building.svg" alt="会社名" />
                      </p>
                      <p className="txt">株式会社ZOTMAN</p>
                    </div>
                    <div className="profile-info__item">
                      <p className="profile-info__icon">
                        <img src="../../../assets/img/icon/calendar.svg" alt="日付" />
                      </p>
                      <p className="txt">2021/7/12</p>
                    </div>
                  </div>
  
                  <div className="p-profile-btn">
                    <a data-v-ade1d018="" className="btn-default btn-yellow btn-profile btn-r8 btn-h52">
                      <span>入社日を変更</span>
                    </a>
                  </div>
  
                  <div className="p-profile-txtLink">
                    <button type="button" className="a-icon txt-link">削除する</button>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <Side />
    </main>
	)
}

if(document.getElementById('p-child-detail')){
	ReactDOM.render(
		<ChildDetail />,
		document.getElementById('p-child-detail')
	)
}