Version nueva
This commit is contained in:
7
cache/0d731b6effd1838cc4097e4d5e11d40d96f9660e.php
vendored
Normal file
7
cache/0d731b6effd1838cc4097e4d5e11d40d96f9660e.php
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
<title>ProVM</title>
|
||||
<meta name="description" content="Web developers" />
|
||||
<link rel="stylesheet" href="<?php echo e($urls->styles); ?>/home.css" />
|
||||
</head>
|
||||
<?php /**PATH F:\Z\Workspace\git\provm\portal\resources\views/layout/head.blade.php ENDPATH**/ ?>
|
147
cache/2ceceb7f863713618c737c0f3e8b66d8b628d314.php
vendored
Normal file
147
cache/2ceceb7f863713618c737c0f3e8b66d8b628d314.php
vendored
Normal file
@ -0,0 +1,147 @@
|
||||
<div id="menu">
|
||||
<canvas class="border" width="100" height="100"></canvas>
|
||||
<nav>
|
||||
<a class="diseño" href="<?php echo e($urls->base); ?>/diseño">
|
||||
<img src="<?php echo e($urls->images); ?>/diseño.svg" />
|
||||
</a>
|
||||
<a class="programacion" href="<?php echo e($urls->base); ?>/programacion">
|
||||
<img src="<?php echo e($urls->images); ?>/programacion.svg" />
|
||||
</a>
|
||||
<a class="portafolios" href="<?php echo e($urls->base); ?>/portafolio">
|
||||
<img src="<?php echo e($urls->images); ?>/portafolio.svg" />
|
||||
</a>
|
||||
<a class="contactos" href="<?php echo e($urls->base); ?>/contacto">
|
||||
<img src="<?php echo e($urls->images); ?>/contacto.svg" />
|
||||
</a>
|
||||
</nav>
|
||||
<div class="semi">
|
||||
<canvas class="img_semi" width="100" height="100"></canvas>
|
||||
<img src="<?php echo e($urls->images); ?>/fotos/1.jpg" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $__env->startPush('scripts'); ?>
|
||||
<script type="text/javascript">
|
||||
let menu = {
|
||||
context: null,
|
||||
width: 0,
|
||||
height: 0,
|
||||
line: 0,
|
||||
segmentos: [
|
||||
'diseño',
|
||||
'programacion',
|
||||
'portafolios',
|
||||
'contactos',
|
||||
'final'
|
||||
],
|
||||
colors: {
|
||||
diseño: colores.verde_1,
|
||||
programacion: colores.verde_2,
|
||||
portafolios: colores.verde_agua,
|
||||
contactos: colores.celeste_logo,
|
||||
final: colores.azul_logo
|
||||
},
|
||||
angulos: {
|
||||
diseño: [
|
||||
180,
|
||||
180+45+10
|
||||
],
|
||||
programacion: [
|
||||
180+45+10,
|
||||
180+90-15
|
||||
],
|
||||
portafolios: [
|
||||
180+90-15,
|
||||
180+90+15
|
||||
],
|
||||
contactos: [
|
||||
180+90+15,
|
||||
360-45-10
|
||||
],
|
||||
final: [
|
||||
360-45-10,
|
||||
360
|
||||
]
|
||||
},
|
||||
images: {
|
||||
diseño: [.25, .4, 1/14],
|
||||
programacion: [.37, .1, 1/14],
|
||||
portafolios: [.55, .1, 1/14],
|
||||
contactos: [.67, .4, 1/14]
|
||||
},
|
||||
setup: function() {
|
||||
let canvas = $('#menu .border').get(0)
|
||||
canvas.width = window.innerWidth
|
||||
canvas.height = Math.max(canvas.height, window.innerWidth/14*3)
|
||||
this.width = canvas.width
|
||||
this.height = canvas.height
|
||||
this.line = canvas.height / 17
|
||||
this.context = canvas.getContext('2d')
|
||||
},
|
||||
drawArc: function(x, y, r, start, end, width, counter, color) {
|
||||
this.context.beginPath()
|
||||
this.context.arc(x, y, r, start*Math.PI/180, end*Math.PI/180, counter)
|
||||
this.context.lineWidth = width
|
||||
this.context.strokeStyle = color
|
||||
this.context.stroke()
|
||||
},
|
||||
draw: function() {
|
||||
$('#menu').height($('#menu .border').height())
|
||||
$.each(menu.segmentos, function(i, el) {
|
||||
if (menu.images[el]) {
|
||||
$('#menu .' + el + ' img').css('left', menu.images[el][0] * menu.width)
|
||||
$('#menu .' + el + ' img').css('top', menu.images[el][1] * menu.height)
|
||||
$('#menu .' + el + ' img').width(menu.images[el][2] * menu.width)
|
||||
}
|
||||
menu.drawArc(menu.width/2, menu.height*1.75, menu.width/3, menu.angulos[el][0], menu.angulos[el][1], menu.line, false, menu.colors[el])
|
||||
})
|
||||
},
|
||||
reDraw: function() {
|
||||
this.context.canvas.width = window.innerWidth
|
||||
this.context.canvas.height = Math.max(100, window.innerWidth/14*3)
|
||||
this.width = this.context.canvas.width
|
||||
this.height = this.context.canvas.height
|
||||
this.line = this.context.canvas.height / 17
|
||||
|
||||
this.draw()
|
||||
}
|
||||
}
|
||||
let semi = {
|
||||
img: '',
|
||||
w: 0,
|
||||
h: 0,
|
||||
ctx: null,
|
||||
setup: function() {
|
||||
this.img = $('#menu .semi img').attr('src')
|
||||
let canvas = $('#menu .semi .img_semi').get(0)
|
||||
canvas.width = $('#menu .semi').width()
|
||||
canvas.height = $('#menu .semi').width()
|
||||
this.w = canvas.width
|
||||
this.h = canvas.height
|
||||
this.ctx = canvas.getContext('2d')
|
||||
},
|
||||
draw: function() {
|
||||
this.ctx.save()
|
||||
this.ctx.beginPath()
|
||||
this.ctx.arc(this.w, this.h, this.w, Math.PI/180*(180+45), Math.PI/180*(360-45), false)
|
||||
this.ctx.closePath()
|
||||
this.strokeStype = colores.amarillo
|
||||
this.lineWidth = 5
|
||||
this.stroke()
|
||||
this.ctx.clip()
|
||||
|
||||
this.ctx.drawImage(this.img, 0, 0, this.w/2, this.h/4)
|
||||
this.ctx.restore()
|
||||
}
|
||||
}
|
||||
$(document).ready(() => {
|
||||
menu.setup()
|
||||
semi.setup()
|
||||
menu.draw()
|
||||
$(window).resize(() => {
|
||||
menu.reDraw()
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<?php $__env->stopPush(); ?>
|
||||
<?php /**PATH F:\Z\Workspace\git\provm\portal\resources\views/home/menu.blade.php ENDPATH**/ ?>
|
6
cache/9cabad6d7230d931ad0a747e17bba6adf4292a10.php
vendored
Normal file
6
cache/9cabad6d7230d931ad0a747e17bba6adf4292a10.php
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<body>
|
||||
<?php echo $__env->yieldContent('page_content'); ?>
|
||||
|
||||
<?php echo $__env->make('layout.scripts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</body>
|
||||
<?php /**PATH F:\Z\Workspace\git\provm\portal\resources\views/layout/body.blade.php ENDPATH**/ ?>
|
6
cache/ad9be01557165c5e924ec9e0c7372e49695ce014.php
vendored
Normal file
6
cache/ad9be01557165c5e924ec9e0c7372e49695ce014.php
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<?php $__env->startSection('page_content'); ?>
|
||||
<?php echo $__env->make('home.logo', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php echo $__env->make('home.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('layout.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH F:\Z\Workspace\git\provm\portal\resources\views/home.blade.php ENDPATH**/ ?>
|
6
cache/dc6a1f87fd2b79c8733ca299d89e8e351dddd4aa.php
vendored
Normal file
6
cache/dc6a1f87fd2b79c8733ca299d89e8e351dddd4aa.php
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?php echo e($page_language); ?>">
|
||||
<?php echo $__env->make('layout.head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
<?php echo $__env->make('layout.body', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
|
||||
</html>
|
||||
<?php /**PATH F:\Z\Workspace\git\provm\portal\resources\views/layout/base.blade.php ENDPATH**/ ?>
|
4
cache/df88c0e3384378e4418be95ccf6812973b034650.php
vendored
Normal file
4
cache/df88c0e3384378e4418be95ccf6812973b034650.php
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<div id="logo">
|
||||
<img class="logo" src="<?php echo e($urls->images); ?>/logo.svg" />
|
||||
</div>
|
||||
<?php /**PATH F:\Z\Workspace\git\provm\portal\resources\views/home/logo.blade.php ENDPATH**/ ?>
|
5
cache/ef2478e480930b8268c8ace4e1c910183242423e.php
vendored
Normal file
5
cache/ef2478e480930b8268c8ace4e1c910183242423e.php
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="<?php echo e($urls->scripts); ?>/build.js"></script>
|
||||
|
||||
<?php echo $__env->yieldPushContent('scripts'); ?>
|
||||
<?php /**PATH F:\Z\Workspace\git\provm\portal\resources\views/layout/scripts.blade.php ENDPATH**/ ?>
|
Reference in New Issue
Block a user