merge
						commit
						b1af8aadf6
					
				| 
						 | 
				
			
			@ -2,8 +2,8 @@
 | 
			
		|||
<project version="4">
 | 
			
		||||
  <component name="ChangeListManager">
 | 
			
		||||
    <list default="true" id="63513c45-0a61-435e-8541-3831c195f7c0" name="Changes" comment="">
 | 
			
		||||
      <change beforePath="$PROJECT_DIR$/content/lists/produkte.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/lists/produkte.blade.php" afterDir="false" />
 | 
			
		||||
      <change beforePath="$PROJECT_DIR$/content/master.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/master.blade.php" afterDir="false" />
 | 
			
		||||
      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
 | 
			
		||||
      <change beforePath="$PROJECT_DIR$/content/pages/checkout.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/content/pages/checkout.blade.php" afterDir="false" />
 | 
			
		||||
    </list>
 | 
			
		||||
    <option name="SHOW_DIALOG" value="false" />
 | 
			
		||||
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
 | 
			
		||||
| 
						 | 
				
			
			@ -37,10 +37,12 @@
 | 
			
		|||
    <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
 | 
			
		||||
    <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
 | 
			
		||||
    <property name="WebServerToolWindowFactoryState" value="false" />
 | 
			
		||||
    <property name="last_opened_file_path" value="$PROJECT_DIR$/content/pages" />
 | 
			
		||||
    <property name="last_opened_file_path" value="$PROJECT_DIR$/content/lists" />
 | 
			
		||||
  </component>
 | 
			
		||||
  <component name="RecentsManager">
 | 
			
		||||
    <key name="CopyFile.RECENT_KEYS">
 | 
			
		||||
      <recent name="$PROJECT_DIR$/content/lists" />
 | 
			
		||||
      <recent name="$PROJECT_DIR$/content/contents" />
 | 
			
		||||
      <recent name="$PROJECT_DIR$/content/pages" />
 | 
			
		||||
    </key>
 | 
			
		||||
  </component>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,10 +1,10 @@
 | 
			
		|||
[
 | 
			
		||||
    {
 | 
			
		||||
        "name":"Produkt",
 | 
			
		||||
        "name":"Balkonkraftwerk",
 | 
			
		||||
        "description":"Produkt",
 | 
			
		||||
        "icon":"shopping-bag",
 | 
			
		||||
        "status":1,
 | 
			
		||||
        "blade":"produkt",
 | 
			
		||||
        "blade":"balkonkraftwerk",
 | 
			
		||||
        "fields":[
 | 
			
		||||
            {
 | 
			
		||||
                "name":"Preis",
 | 
			
		||||
| 
						 | 
				
			
			@ -25,4 +25,4 @@
 | 
			
		|||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    }
 | 
			
		||||
]
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,96 @@
 | 
			
		|||
@layout("content.master")
 | 
			
		||||
@section('head')
 | 
			
		||||
<title>{{$content->title}}</title>
 | 
			
		||||
<style type="text/css">
 | 
			
		||||
    li{list-style: none; margin-bottom: 4px; }
 | 
			
		||||
</style>
 | 
			
		||||
@stop
 | 
			
		||||
@section('content')
 | 
			
		||||
<div class="container">
 | 
			
		||||
  @if(session()->has('success'))
 | 
			
		||||
  <div class="alert alert-success">{{session()->get('success')}}</div>
 | 
			
		||||
  @elseif(session()->has('error'))
 | 
			
		||||
  <div class="alert alert-danger">{{session()->get('error')}}</div>
 | 
			
		||||
  @endif
 | 
			
		||||
  <section>
 | 
			
		||||
    <div class="row">
 | 
			
		||||
      <div class="col-5">
 | 
			
		||||
          <img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border"  alt="...">
 | 
			
		||||
      <br>
 | 
			
		||||
      <br>
 | 
			
		||||
      <br>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="col-5 offset-1">
 | 
			
		||||
      <h1 class="h2">{{$content->title}}</h1>
 | 
			
		||||
      <div class="ms-3 mt-3 mb-3">
 | 
			
		||||
          <span class="fs-4 fw-bold" style="color: #546c8a;">{{$content->data_fields['preis']}}€</span>
 | 
			
		||||
          <span class="text-muted fs-7">Inkl. MwSt.</span>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="ms-3 mt-3 mb-3 fs-6 fw-bolder" style="color: #79b27f;">
 | 
			
		||||
 | 
			
		||||
          @if(2==2)
 | 
			
		||||
              <svg style="fill: currentColor; width: 22px; margin-right: 10px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48v48H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h272c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H40c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H64v128c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"/></svg>
 | 
			
		||||
              Sofort verfügbar!
 | 
			
		||||
 | 
			
		||||
          @elseif(2==3)
 | 
			
		||||
              <svg style="fill: currentColor; width: 22px; margin-right: 10px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48v48H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h272c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H40c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H64v128c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"/></svg>
 | 
			
		||||
                Nachschub ist unterwegs. Jetzt vorbestellen!
 | 
			
		||||
          @endif
 | 
			
		||||
          <br>
 | 
			
		||||
          <svg style="fill: currentColor; width:18px; margin-right: 15px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M504.99 105.01l-97.9-98c-7.71-7.71-16-7-23.1-7v128h128c0-7.53.64-15.35-7-23zm-153 31V.01H152c-13.3 0-24 10.7-24 24V133c18.3-5 19.58-5 26.45-5 16.23 0 32.1 6.67 43.53 18.3 8.72 9.59 4.41 6.98 18.28 10.76 21.07 5.75 37.64 22.53 43.23 43.8 3.11 13.2.6 8.66 10.75 18.99 15.25 15.51 21.26 38.26 15.7 59.36-3.75 13.23-3.71 8.01 0 22.12 5.57 21.11-.45 43.85-15.69 59.37-9.64 9.36-7.04 4.88-10.75 18.99-4.89 18.59-18.16 33.75-35.5 41.12V512h263.99c13.3 0 24-10.7 24-24V160.01h-136c-13.2 0-24-10.8-24-24zM247.42 338.28c7.4-7.53 10.29-18.5 7.58-28.79-5.43-20.65-5.44-17.74 0-38.42 2.71-10.28-.18-21.26-7.58-28.79-14.86-15.12-13.43-12.61-18.87-33.27-2.71-10.28-10.6-18.32-20.71-21.07-20.28-5.53-17.84-4.1-32.69-19.21-7.4-7.53-18.18-10.47-28.28-7.71-20.32 5.54-17.46 5.53-37.75 0-10.1-2.76-20.88.19-28.28 7.71-14.91 15.18-12.5 13.7-32.69 19.21-10.11 2.76-18 10.79-20.71 21.07-5.46 20.74-4 18.13-18.87 33.27-7.4 7.53-10.29 18.5-7.58 28.79 5.45 20.71 5.42 17.79 0 38.41-2.71 10.28.18 21.26 7.58 28.79 14.85 15.11 13.43 12.61 18.87 33.27 2.71 10.28 10.6 18.32 20.71 21.07 14.31 3.9 11.52 2.97 15.84 5V512l64-32 64 32V397.62c4.31-2.02 1.52-1.1 15.84-5 10.11-2.76 18-10.79 20.71-21.07 5.47-20.74 4.01-18.13 18.88-33.27zM128 352.01c-35.34 0-64-28.65-64-64s28.66-64 64-64 64 28.65 64 64-28.66 64-64 64z"/></svg>
 | 
			
		||||
          Kostenloser Anmeldeservice beim Netzbetreiber inklusive
 | 
			
		||||
      </div>
 | 
			
		||||
      <br>
 | 
			
		||||
      Lieferumfang:
 | 
			
		||||
      <br>
 | 
			
		||||
      <br>
 | 
			
		||||
      <ul class="fs-5">
 | 
			
		||||
          <li>2x Longi 375 Watt Monokristaline Module</li>
 | 
			
		||||
          <li>1x 600 Watt Wechselrichter mit Zertifizierung</li>
 | 
			
		||||
          <li>1x Kabel für Schuko-Stecker</li>
 | 
			
		||||
      </ul>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      <div class="row mt-5">
 | 
			
		||||
 | 
			
		||||
          <div class="col-6">
 | 
			
		||||
              <button id="btn-add-to-bag" data-id="{{$content->id}}" class="btn btn-outline-success  mb-5" style="padding-top: 6px; padding-bottom: 6px; padding-right: 20px; padding-left: 20px;">
 | 
			
		||||
                  <svg style="fill: currentColor; width: 19px; margin-right: 8px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M352 128C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128H0v304c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V128h-96zM224 48c44.112 0 80 35.888 80 80H144c0-44.112 35.888-80 80-80zm176 384c0 17.645-14.355 32-32 32H80c-17.645 0-32-14.355-32-32V176h48v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h160v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h48v256z"/></svg>
 | 
			
		||||
                  In den Einkaufswagen
 | 
			
		||||
              </button>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
          <div class="col-12 col-md-6">
 | 
			
		||||
              <button id="btn-check-out" data-id="{{$content->id}}" class="btn btn-primary  mb-5" style="padding-top: 6px; padding-bottom: 6px; padding-right: 20px; padding-left: 20px;">
 | 
			
		||||
                  <svg style="fill: white; width: 19px; margin-right: 8px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M352 128C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128H0v304c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V128h-96zM224 48c44.112 0 80 35.888 80 80H144c0-44.112 35.888-80 80-80zm176 384c0 17.645-14.355 32-32 32H80c-17.645 0-32-14.355-32-32V176h48v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h160v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h48v256z"/></svg>
 | 
			
		||||
                  Unverbindlich anfragen
 | 
			
		||||
              </button>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      </div>
 | 
			
		||||
      </div>
 | 
			
		||||
          <hr class="mt-5">
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </section>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
@stop
 | 
			
		||||
@section('scripts')
 | 
			
		||||
<script>
 | 
			
		||||
  $(window).on('load', function(){
 | 
			
		||||
    $('#btn-check-out').click(function(){
 | 
			
		||||
      let productId = $(this).attr("data-id");
 | 
			
		||||
      addToBag(productId);
 | 
			
		||||
      window.location.replace("{{url('/checkout')}}");
 | 
			
		||||
    });
 | 
			
		||||
    $('#btn-add-to-bag').click(function(){
 | 
			
		||||
      let productId = $(this).attr("data-id");
 | 
			
		||||
      addToBag(productId);
 | 
			
		||||
    });
 | 
			
		||||
  });
 | 
			
		||||
</script>
 | 
			
		||||
@stop
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,96 @@
 | 
			
		|||
@layout("content.master")
 | 
			
		||||
@section('head')
 | 
			
		||||
<title>{{$content->title}}</title>
 | 
			
		||||
<style type="text/css">
 | 
			
		||||
    li{list-style: none; margin-bottom: 4px; }
 | 
			
		||||
</style>
 | 
			
		||||
@stop
 | 
			
		||||
@section('content')
 | 
			
		||||
<div class="container">
 | 
			
		||||
  @if(session()->has('success'))
 | 
			
		||||
  <div class="alert alert-success">{{session()->get('success')}}</div>
 | 
			
		||||
  @elseif(session()->has('error'))
 | 
			
		||||
  <div class="alert alert-danger">{{session()->get('error')}}</div>
 | 
			
		||||
  @endif
 | 
			
		||||
  <section>
 | 
			
		||||
    <div class="row">
 | 
			
		||||
      <div class="col-5">
 | 
			
		||||
          <img src="https://picsum.photos/300/200" class="card-img-top img-fluid rounded border"  alt="...">
 | 
			
		||||
      <br>
 | 
			
		||||
      <br>
 | 
			
		||||
      <br>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="col-5 offset-1">
 | 
			
		||||
      <h1 class="h2">{{$content->title}}</h1>
 | 
			
		||||
      <div class="ms-3 mt-3 mb-3">
 | 
			
		||||
          <span class="fs-4 fw-bold" style="color: #546c8a;">€</span>
 | 
			
		||||
          <span class="text-muted fs-7">Inkl. MwSt.</span>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="ms-3 mt-3 mb-3 fs-6 fw-bolder" style="color: #79b27f;">
 | 
			
		||||
 | 
			
		||||
          @if(2==2)
 | 
			
		||||
              <svg style="fill: currentColor; width: 22px; margin-right: 10px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48v48H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h272c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H40c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H64v128c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"/></svg>
 | 
			
		||||
              Sofort verfügbar!
 | 
			
		||||
 | 
			
		||||
          @elseif(2==3)
 | 
			
		||||
              <svg style="fill: currentColor; width: 22px; margin-right: 10px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48v48H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h272c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H40c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H8c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h208c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H64v128c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm320 0c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"/></svg>
 | 
			
		||||
                Nachschub ist unterwegs. Jetzt vorbestellen!
 | 
			
		||||
          @endif
 | 
			
		||||
          <br>
 | 
			
		||||
          <svg style="fill: currentColor; width:18px; margin-right: 15px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M504.99 105.01l-97.9-98c-7.71-7.71-16-7-23.1-7v128h128c0-7.53.64-15.35-7-23zm-153 31V.01H152c-13.3 0-24 10.7-24 24V133c18.3-5 19.58-5 26.45-5 16.23 0 32.1 6.67 43.53 18.3 8.72 9.59 4.41 6.98 18.28 10.76 21.07 5.75 37.64 22.53 43.23 43.8 3.11 13.2.6 8.66 10.75 18.99 15.25 15.51 21.26 38.26 15.7 59.36-3.75 13.23-3.71 8.01 0 22.12 5.57 21.11-.45 43.85-15.69 59.37-9.64 9.36-7.04 4.88-10.75 18.99-4.89 18.59-18.16 33.75-35.5 41.12V512h263.99c13.3 0 24-10.7 24-24V160.01h-136c-13.2 0-24-10.8-24-24zM247.42 338.28c7.4-7.53 10.29-18.5 7.58-28.79-5.43-20.65-5.44-17.74 0-38.42 2.71-10.28-.18-21.26-7.58-28.79-14.86-15.12-13.43-12.61-18.87-33.27-2.71-10.28-10.6-18.32-20.71-21.07-20.28-5.53-17.84-4.1-32.69-19.21-7.4-7.53-18.18-10.47-28.28-7.71-20.32 5.54-17.46 5.53-37.75 0-10.1-2.76-20.88.19-28.28 7.71-14.91 15.18-12.5 13.7-32.69 19.21-10.11 2.76-18 10.79-20.71 21.07-5.46 20.74-4 18.13-18.87 33.27-7.4 7.53-10.29 18.5-7.58 28.79 5.45 20.71 5.42 17.79 0 38.41-2.71 10.28.18 21.26 7.58 28.79 14.85 15.11 13.43 12.61 18.87 33.27 2.71 10.28 10.6 18.32 20.71 21.07 14.31 3.9 11.52 2.97 15.84 5V512l64-32 64 32V397.62c4.31-2.02 1.52-1.1 15.84-5 10.11-2.76 18-10.79 20.71-21.07 5.47-20.74 4.01-18.13 18.88-33.27zM128 352.01c-35.34 0-64-28.65-64-64s28.66-64 64-64 64 28.65 64 64-28.66 64-64 64z"/></svg>
 | 
			
		||||
          Kostenloser Anmeldeservice beim Netzbetreiber inklusive
 | 
			
		||||
      </div>
 | 
			
		||||
      <br>
 | 
			
		||||
      Lieferumfang:
 | 
			
		||||
      <br>
 | 
			
		||||
      <br>
 | 
			
		||||
      <ul class="fs-5">
 | 
			
		||||
          <li>2x Longi 375 Watt Monokristaline Module</li>
 | 
			
		||||
          <li>1x 600 Watt Wechselrichter mit Zertifizierung</li>
 | 
			
		||||
          <li>1x Kabel für Schuko-Stecker</li>
 | 
			
		||||
      </ul>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      <div class="row mt-5">
 | 
			
		||||
 | 
			
		||||
          <div class="col-6">
 | 
			
		||||
              <button id="btn-add-to-bag" data-id="{{$content->id}}" class="btn btn-outline-success  mb-5" style="padding-top: 6px; padding-bottom: 6px; padding-right: 20px; padding-left: 20px;">
 | 
			
		||||
                  <svg style="fill: currentColor; width: 19px; margin-right: 8px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M352 128C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128H0v304c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V128h-96zM224 48c44.112 0 80 35.888 80 80H144c0-44.112 35.888-80 80-80zm176 384c0 17.645-14.355 32-32 32H80c-17.645 0-32-14.355-32-32V176h48v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h160v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h48v256z"/></svg>
 | 
			
		||||
                  In den Einkaufswagen
 | 
			
		||||
              </button>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
          <div class="col-12 col-md-6">
 | 
			
		||||
              <button id="btn-check-out" data-id="{{$content->id}}" class="btn btn-primary  mb-5" style="padding-top: 6px; padding-bottom: 6px; padding-right: 20px; padding-left: 20px;">
 | 
			
		||||
                  <svg style="fill: white; width: 19px; margin-right: 8px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M352 128C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128H0v304c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V128h-96zM224 48c44.112 0 80 35.888 80 80H144c0-44.112 35.888-80 80-80zm176 384c0 17.645-14.355 32-32 32H80c-17.645 0-32-14.355-32-32V176h48v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h160v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h48v256z"/></svg>
 | 
			
		||||
                  Unverbindlich anfragen
 | 
			
		||||
              </button>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      </div>
 | 
			
		||||
      </div>
 | 
			
		||||
          <hr class="mt-5">
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </section>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
@stop
 | 
			
		||||
@section('scripts')
 | 
			
		||||
<script>
 | 
			
		||||
  $(window).on('load', function(){
 | 
			
		||||
    $('#btn-check-out').click(function(){
 | 
			
		||||
      let productId = $(this).attr("data-id");
 | 
			
		||||
      addToBag(productId);
 | 
			
		||||
      window.location.replace("{{url('/checkout')}}");
 | 
			
		||||
    });
 | 
			
		||||
    $('#btn-add-to-bag').click(function(){
 | 
			
		||||
      let productId = $(this).attr("data-id");
 | 
			
		||||
      addToBag(productId);
 | 
			
		||||
    });
 | 
			
		||||
  });
 | 
			
		||||
</script>
 | 
			
		||||
@stop
 | 
			
		||||
| 
						 | 
				
			
			@ -36,7 +36,7 @@
 | 
			
		|||
    <section>
 | 
			
		||||
        <div class="row">
 | 
			
		||||
            <div class="col-12">
 | 
			
		||||
                <h2 class="mt-3 mb-4">Steckersolaranlagen</h2>
 | 
			
		||||
                <h2 class="mt-3 mb-4">Bakonkraftwerke</h2>
 | 
			
		||||
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,43 @@
 | 
			
		|||
@layout('content.master')
 | 
			
		||||
@section('content')
 | 
			
		||||
<div class="container">
 | 
			
		||||
    <section>
 | 
			
		||||
        <div class="row">
 | 
			
		||||
            <div class="col">
 | 
			
		||||
                <h1>Balkonkraftwerk</h1>
 | 
			
		||||
                <br>
 | 
			
		||||
 | 
			
		||||
                <br>
 | 
			
		||||
                <p class="fs-5">Balkonkraftwerke oder auch Steckersolaranlagen sind eine einfache Möglichkeiten Stromkosten zu senken. Tagsüber lässt sich dadurch der Grundverbrauch im Haushalt über den eigenerzeugten Strom abdecken.</p>
 | 
			
		||||
                <br>
 | 
			
		||||
                <br>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div class="row">
 | 
			
		||||
 | 
			
		||||
            @foreach($contents as $content)
 | 
			
		||||
 | 
			
		||||
                <div class="col-12 col-md-6 mb-5">
 | 
			
		||||
                    <a href="{{route_content($content)}}" class="text-decoration-none">
 | 
			
		||||
                        <div class="card shadow-sm" style="background-color: #546c8a; color: white;">
 | 
			
		||||
 | 
			
		||||
                            <img src="https://picsum.photos/200/100" class="card-img-top img-fluid"  alt="...">
 | 
			
		||||
 | 
			
		||||
                            <div class="card-body">
 | 
			
		||||
 | 
			
		||||
                                <h5 class="card-title">{{$content->title}}</h5>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                            </div>
 | 
			
		||||
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </a>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                </div>
 | 
			
		||||
            @endforeach
 | 
			
		||||
 | 
			
		||||
        </div>
 | 
			
		||||
    </section>
 | 
			
		||||
</div>
 | 
			
		||||
@stop
 | 
			
		||||
| 
						 | 
				
			
			@ -33,10 +33,10 @@
 | 
			
		|||
                    <a href="{{url('/')}}" class="fs-2 fw-bold text-decoration-none">Areya Energy</a>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="col-2 fs-5 mt-2 text-center ">
 | 
			
		||||
                    <a href="{{url('/produkte')}}" class="text-decoration-none mt-2 fw-bold">Produkte</a>
 | 
			
		||||
                    <a href="{{url('/balkonkraftwerk')}}" class="text-decoration-none mt-2 fw-bold">Balkonkraftwerk</a>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="col-2 fs-5 mt-2 text-center ">
 | 
			
		||||
                    <a href="{{url('/shop')}}" class="text-decoration-none mt-2 fw-bold">Zubehör</a>
 | 
			
		||||
                    <a href="{{url('/produkte')}}" class="text-decoration-none mt-2 fw-bold">Zubehör</a>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="col-2 fs-5 mt-2 text-center ">
 | 
			
		||||
                    <a href="{{url('/service')}}" class="text-decoration-none mt-2 fw-bold">Service</a>
 | 
			
		||||
| 
						 | 
				
			
			@ -171,12 +171,16 @@
 | 
			
		|||
                updateProductsInLocalStorage();
 | 
			
		||||
            });
 | 
			
		||||
            $(document).on('change', '.select-quantity', function(){
 | 
			
		||||
<<<<<<< HEAD
 | 
			
		||||
                let quantity = $(this).val();
 | 
			
		||||
                let productId = $(this).attr('data-id');
 | 
			
		||||
                let objProductInfo = objProducts.find(obj => obj.id == productId);
 | 
			
		||||
                let index = objProducts.indexOf(objProductInfo);
 | 
			
		||||
                objProducts[index].quantity = quantity;
 | 
			
		||||
                updateProductsInLocalStorage();
 | 
			
		||||
=======
 | 
			
		||||
 | 
			
		||||
>>>>>>> refs/remotes/origin/master
 | 
			
		||||
            });
 | 
			
		||||
        });
 | 
			
		||||
    </script>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,6 +23,7 @@
 | 
			
		|||
                            Persönliche Daten
 | 
			
		||||
                        </h5>
 | 
			
		||||
                    </div>
 | 
			
		||||
<<<<<<< HEAD
 | 
			
		||||
                    <div class="card-body">
 | 
			
		||||
                        <x-form id-name="anfrage" channels="bestaetigung,airtable">
 | 
			
		||||
                            <div class="mb-3">
 | 
			
		||||
| 
						 | 
				
			
			@ -64,6 +65,130 @@
 | 
			
		|||
 | 
			
		||||
                            </div>
 | 
			
		||||
                        </x-form>
 | 
			
		||||
=======
 | 
			
		||||
                    <div class="col-12 col-md-7">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                        <div class="card mt-1 mb-5 shadow-lg" style="background-color: #f7fcf7;">
 | 
			
		||||
                            <div class="card-header" style="background-color: #546c8a; color: white;">
 | 
			
		||||
                                <h5> <svg style="fill:currentColor; width: 22px; margin-right: 5px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm128 421.6c-35.9 26.5-80.1 42.4-128 42.4s-92.1-15.9-128-42.4V416c0-35.3 28.7-64 64-64 11.1 0 27.5 11.4 64 11.4 36.6 0 52.8-11.4 64-11.4 35.3 0 64 28.7 64 64v13.6zm30.6-27.5c-6.8-46.4-46.3-82.1-94.6-82.1-20.5 0-30.4 11.4-64 11.4S204.6 320 184 320c-48.3 0-87.8 35.7-94.6 82.1C53.9 363.6 32 312.4 32 256c0-119.1 96.9-216 216-216s216 96.9 216 216c0 56.4-21.9 107.6-57.4 146.1zM248 120c-48.6 0-88 39.4-88 88s39.4 88 88 88 88-39.4 88-88-39.4-88-88-88zm0 144c-30.9 0-56-25.1-56-56s25.1-56 56-56 56 25.1 56 56-25.1 56-56 56z"/></svg>
 | 
			
		||||
                                    Persönliche Daten</h5>
 | 
			
		||||
                            </div>
 | 
			
		||||
                            <div class="card-body">
 | 
			
		||||
 | 
			
		||||
                                <div class="row">
 | 
			
		||||
                                    <div class="col-12 col-md-10 offset-md-1">
 | 
			
		||||
                                        <x-form id-name="anfrage" channels="bestaetigung,airtable">
 | 
			
		||||
                                            <div class="mb-3">
 | 
			
		||||
                                                <label for="" class="form-label">Anrede</label>
 | 
			
		||||
                                                <select class="form-select" name="anrede" aria-label="Default select example">
 | 
			
		||||
                                                    <option selected>Herr</option>
 | 
			
		||||
                                                    <option>Frau</option>
 | 
			
		||||
                                                    <option>Firma</option>
 | 
			
		||||
                                                </select>
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="mb-3">
 | 
			
		||||
                                                <label for="" class="form-label">Vorname</label>
 | 
			
		||||
                                                <input type="text" class="form-control" name="vorname" aria-describedby="" placeholder="Maximilian">
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="mb-3">
 | 
			
		||||
                                                <label for="" class="form-label">Nachname</label>
 | 
			
		||||
                                                <input type="text" class="form-control" name="nachname" aria-describedby="" placeholder="Meyer">
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="mb-3">
 | 
			
		||||
                                                <label for="exampleInputEmail1" class="form-label">E-Mail</label>
 | 
			
		||||
                                                <input type="email" class="form-control" name="email" aria-describedby="emailHelp" placeholder="max.mustermann@areya.de">
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="mb-3">
 | 
			
		||||
                                                <label for="exampleInputEmail1" class="form-label">Telefon</label>
 | 
			
		||||
                                                <input type="text" class="form-control" name="telefon" aria-describedby="emailHelp" placeholder="0941467233">
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="mb-3">
 | 
			
		||||
                                                <label for="exampleInputPassword1" class="form-label">Adresse</label>
 | 
			
		||||
                                                <input type="text" class="form-control" name="adresse" placeholder="Neuenhammerstr. 44, 92714 Pleystein" id="exampleInputPassword1">
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="mb-3 form-check mb-4">
 | 
			
		||||
                                                <input type="checkbox" class="form-check-input" id="exampleCheck1" required>
 | 
			
		||||
                                                <label class="form-check-label" for="exampleCheck1">Ich habe die Datenschutzbestimmungen gelesen und akzeptiert.</label>
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                            <div class="d-block">
 | 
			
		||||
                                                <button type="submit" class="btn btn-success d-block mx-auto">
 | 
			
		||||
                                                    Angebot anfragen
 | 
			
		||||
                                                </button>
 | 
			
		||||
 | 
			
		||||
                                            </div>
 | 
			
		||||
                                        </x-form>
 | 
			
		||||
                                    </div>
 | 
			
		||||
                                </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                            </div>
 | 
			
		||||
                        </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
                    </div>
 | 
			
		||||
                    <div class="col-12 col-md-4 offset-md-1">
 | 
			
		||||
                        <div class="card shadow-sm" style="background-color: #f7fcf7;">
 | 
			
		||||
                            <div class="card-header" style="background-color: #546c8a; color: white;">
 | 
			
		||||
                                <h5><svg style="fill:currentColor; width: 25px; margin-right: 5px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M564 192h-76.875L347.893 37.297c-5.91-6.568-16.027-7.101-22.596-1.189s-7.101 16.028-1.189 22.596L444.075 192h-312.15L251.893 58.703c5.912-6.567 5.379-16.685-1.189-22.596-6.569-5.912-16.686-5.38-22.596 1.189L88.875 192H12c-6.627 0-12 5.373-12 12v8c0 6.627 5.373 12 12 12h16.444L58.25 438.603C61.546 462.334 81.836 480 105.794 480h364.412c23.958 0 44.248-17.666 47.544-41.397L547.556 224H564c6.627 0 12-5.373 12-12v-8c0-6.627-5.373-12-12-12zm-77.946 242.201c-1.093 7.867-7.906 13.799-15.848 13.799H105.794c-7.942 0-14.755-5.932-15.848-13.799L60.752 224h454.497l-29.195 210.201zM304 280v112c0 8.837-7.163 16-16 16-8.836 0-16-7.163-16-16V280c0-8.837 7.164-16 16-16 8.837 0 16 7.163 16 16zm112 0v112c0 8.837-7.163 16-16 16s-16-7.163-16-16V280c0-8.837 7.163-16 16-16s16 7.163 16 16zm-224 0v112c0 8.837-7.164 16-16 16s-16-7.163-16-16V280c0-8.837 7.164-16 16-16s16 7.163 16 16z"/></svg> Warenkorb</h5>
 | 
			
		||||
                            </div>
 | 
			
		||||
                            <div class="card-body">
 | 
			
		||||
 | 
			
		||||
                                <table class="table table-striped">
 | 
			
		||||
                                    <tbody id="list-products">
 | 
			
		||||
                                    <!-- <tr>
 | 
			
		||||
 | 
			
		||||
                                        <td>
 | 
			
		||||
                                            <img class="rounded img-fluid me-2" src="https://picsum.photos/25/25">Balkonkraftwerk 600
 | 
			
		||||
 | 
			
		||||
                                        </td>
 | 
			
		||||
                                        <td class="align-middle text-end">18,00 €</td>
 | 
			
		||||
                                    </tr> -->
 | 
			
		||||
                                    </tbody>
 | 
			
		||||
                                    <tfoot>
 | 
			
		||||
                                    <tr>
 | 
			
		||||
                                        <th scope="col">Gesammt:</th>
 | 
			
		||||
                                        <th colspan="2" class="text-end">2838,00 €
 | 
			
		||||
                                            <br>
 | 
			
		||||
                                            <small class="text-end fw-light">Preise inkl. 19% Umsatzsteuer</small>
 | 
			
		||||
                                        </th>
 | 
			
		||||
 | 
			
		||||
                                    </tr>
 | 
			
		||||
                                    </tfoot>
 | 
			
		||||
 | 
			
		||||
                                </table>
 | 
			
		||||
 | 
			
		||||
                                <a href="" class="text-muted text-decoration-none">Weitere Produkte hinzufügen</a>
 | 
			
		||||
 | 
			
		||||
                            </div>
 | 
			
		||||
                        </div>
 | 
			
		||||
 | 
			
		||||
                        <div class="card mt-5 shadow-sm" style="background-color: #f7fcf7;">
 | 
			
		||||
                            <div class="card-header" style="background-color: #546c8a; color: white;">
 | 
			
		||||
                                <h5><svg style="fill:currentColor; width: 22px; margin-right: 5px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28zm7.67-24h-16c-6.627 0-12-5.373-12-12v-.381c0-70.343 77.44-63.619 77.44-107.408 0-20.016-17.761-40.211-57.44-40.211-29.144 0-44.265 9.649-59.211 28.692-3.908 4.98-11.054 5.995-16.248 2.376l-13.134-9.15c-5.625-3.919-6.86-11.771-2.645-17.177C185.658 133.514 210.842 116 255.67 116c52.32 0 97.44 29.751 97.44 80.211 0 67.414-77.44 63.849-77.44 107.408V304c0 6.627-5.373 12-12 12zM256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8z"/></svg>
 | 
			
		||||
                                    Wie geht es weiter?</h5>
 | 
			
		||||
                            </div>
 | 
			
		||||
                            <div class="card-body">
 | 
			
		||||
 | 
			
		||||
                                <ol>
 | 
			
		||||
                                    <li class="mb-3">Beratungsgespräch</li>
 | 
			
		||||
                                    <li class="mb-3">Persönliches Angebot</li>
 | 
			
		||||
                                    <li class="mb-3">Packen & Abholtermin</li>
 | 
			
		||||
                                    <li class="mb-3">Rechnung / Barzahlung</li>
 | 
			
		||||
                                    <li class="mb-3">Abholung in 92648 Vohenstrauß</li>
 | 
			
		||||
 | 
			
		||||
                                </ol>
 | 
			
		||||
 | 
			
		||||
                            </div>
 | 
			
		||||
                        </div>
 | 
			
		||||
>>>>>>> refs/remotes/origin/master
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue