@extends('theme::template')

@section('head')
  <link rel="stylesheet" href="{{ themePath('css/member.css') }}">
@stop

@section('banner')
  <div class="nbanner">
      <img src="{{ inject('ad')->single(4, 0, 'img') }}" alt="{{ inject('ad')->single(4, 0, 'title') }}">
  </div>
@stop

@section('anchor')
  <div id="anchor">
    <div class="container-fluid">
        <span class="anchor">
          <a href="{{ url('/') }}">{{ inject('setting')->translate('shop', 'home') }}</a> >
          {{ inject('setting')->translate('shop', 'personal_center') }}
        </span>
    </div>
  </div>
@stop

@section('left')
  <h3 class="left-title">{{ inject('setting')->translate('shop', 'personal_center') }}</h3>
  <ul class="cate-list">
    <div class="category">
      <a class="list-title" href="{{ url('member/order') }}">{{ inject('setting')->translate('shop', 'my_orders') }}</a>
      <a class="list-title" href="{{ url('member/address') }}">{{ inject('setting')->translate('shop', 'shipping_address') }}</a>
      <a class="list-title" href="{{ url('member/change-pwd') }}">{{ inject('setting')->translate('shop', 'change_password') }}</a>
    </div>
  </ul>
@endsection

@section('right')
  <div class="member-info personal-info">
    <div class="user-header user-border">
      <em class="iconfont icon-yonghu"></em>
      <div class="text">
        {{ inject('setting')->translate('shop', 'welcome') }}，{{ Auth::member()->get()->username }}
        <div class="email">{{ Auth::member()->get()->email }}</div>
      </div>
    </div>
  </div>
@stop