Browse Source

Add panel html and vue files

tags/v0.1.0
Immanuel Onyeka 3 years ago
parent
commit
572e71481b
7 changed files with 13458 additions and 7 deletions
  1. +19
    -0
      public/main.js
  2. +13408
    -0
      public/vue.global.js
  3. +1
    -0
      public/vue.runtime.global.prod.js
  4. +6
    -6
      resources/views/home.blade.php
  5. +1
    -1
      resources/views/master.blade.php
  6. +21
    -0
      resources/views/panel.blade.php
  7. +2
    -0
      routes/web.php

+ 19
- 0
public/main.js View File

@@ -0,0 +1,19 @@
const Counter = {
data() {
return {
counter: 0
}
}
}

Vue.createApp(Counter).mount('#counter')

const AttributeBindingApp = {
data() {
return {
message: 'You loaded this page on ' + new Date().toLocaleString()
}
}
}

Vue.createApp(AttributeBindingApp).mount('#bind-attribute')

+ 13408
- 0
public/vue.global.js
File diff suppressed because it is too large
View File


+ 1
- 0
public/vue.runtime.global.prod.js
File diff suppressed because it is too large
View File


+ 6
- 6
resources/views/home.blade.php View File

@@ -30,12 +30,12 @@
</section>
<section class='faq'>
<h2>FAQ</h2>
<div class="card"></div>
<div class="card"></div>
<div class="card"></div>
<div class="card"></div>
<div class="card"></div>
<div class="card"></div>
<div class="card">Amet officiis obcaecati et porro!</div>
<div class="card">Dolor minus corporis labore error.</div>
<div class="card">Ipsum nesciunt facilis veniam eos.</div>
<div class="card">Ipsum adipisicing blanditiis magnam quasi sunt?</div>
<div class="card">Sit quod nulla minima dignissimos itaque.</div>
<div class="card">Sit quod nulla minima dignissimos itaque.</div>
</section>
@endsection



+ 1
- 1
resources/views/master.blade.php View File

@@ -41,7 +41,7 @@ spellcheck='false'>
<footer class='footer text-center'>
<div class='foot-links'>
<a class="footer-item" href="/terms">Terms & Policy</a>
<a class="footer-item" href="/contact">Help</a>
<a class="footer-item" href="mail:support@trendplays.com">Help</a>
<a class="footer-item" href="/reset-password">Reset Password</a>
</div>
<small>©Copyright 2021 Trendplays Network, Inc.</small>


+ 21
- 0
resources/views/panel.blade.php View File

@@ -0,0 +1,21 @@
@extends('master')

@section('title', 'Panel')

@section('head-metas')
@parent
<link rel="stylesheet" href="{{asset('main.css')}}">
@endsection

@section('content')
@parent
<div id="counter">
Counter: @{{ counter }}
</div>
@endsection

@section('scripts')
@parent
<script src="vue.global.js"></script>
<script src="main.js"></script>
@endsection

+ 2
- 0
routes/web.php View File

@@ -16,3 +16,5 @@ use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('home');
});

Route::view('/panel', 'panel');

Loading…
Cancel
Save