Добавлена страничка с резюме, добавлены ссылки на сторонние ресурсы
This commit is contained in:
parent
d8aef96bc9
commit
e670fb37f3
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
class DownloadController extends Controller
|
||||
{
|
||||
public function download($file_name) {
|
||||
$file_path = public_path('/'.$file_name);
|
||||
return response()->download($file_path);
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "laravel/laravel",
|
||||
"name": "dhaverd/resume",
|
||||
"type": "project",
|
||||
"description": "The skeleton application for the Laravel framework.",
|
||||
"description": "My resume site",
|
||||
"keywords": ["laravel", "framework"],
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "laravel-vue-vuetify-boilerplate",
|
||||
"name": "resume",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 264 KiB |
Binary file not shown.
|
@ -1,15 +1,15 @@
|
|||
<template>
|
||||
<v-app>
|
||||
<SomeTemplate></SomeTemplate>
|
||||
<Resume></Resume>
|
||||
</v-app>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import SomeTemplate from "./views/SomeTemplate.vue";
|
||||
import Resume from "./views/Resume.vue";
|
||||
|
||||
export default {
|
||||
name: "App",
|
||||
components: {SomeTemplate}
|
||||
components: {Resume}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
<template>
|
||||
<v-card class="bg-gradient" style="height: 100%">
|
||||
<v-card-text class="d-flex justify-center align-center">
|
||||
<!--
|
||||
<v-card class="align-center justify-center h-auto w-75">
|
||||
<v-card-title>{{ cardTitle }}</v-card-title>
|
||||
</v-card>
|
||||
-->
|
||||
<v-sheet :elevation="4" class="align-center justify-center h-auto w-75 rounded-lg">
|
||||
<v-sheet class="d-flex flex-row align-center rounded-lg">
|
||||
<p class="text-h4 w-75 ma-2 pa-2 justify-start">Белезов Павел</p>
|
||||
<v-btn v-for="item in dict" :key="item" color="#21abf6" elevation="4" variant="text" class="ma-2 pa-2 justify-end" :href="item.link">{{ item.name }}</v-btn>
|
||||
</v-sheet>
|
||||
</v-sheet>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Resume",
|
||||
data: () => ({
|
||||
dict: [
|
||||
{name: "Github", link: "https://github.com/Dhaverd"},
|
||||
{name: "HeadHunter", link: "https://irkutsk.hh.ru/resume/d8c67e1dff0843f1900039ed1f7839666b4559"},
|
||||
{name: "Habr", link: "https://career.habr.com/dhaverd"},
|
||||
{name: "Word", link: "/download/resume.docx"}
|
||||
]
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
.bg-gradient {
|
||||
background: linear-gradient(-45deg, #f103b0, #f0a068, #4fdbfeff);
|
||||
background-size: 200% 200%;
|
||||
animation: gradient 15s ease infinite;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
@keyframes gradient {
|
||||
0% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
|
@ -1,42 +0,0 @@
|
|||
<template>
|
||||
<v-card class="bg-gradient" style="height: 100%">
|
||||
<v-card-text class="d-flex justify-center align-center">
|
||||
<v-card class="align-center justify-center h-auto w-33">
|
||||
<v-card-title>{{ cardTitle }}</v-card-title>
|
||||
</v-card>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "SomeTemplate",
|
||||
data: () => ({
|
||||
cardTitle: 'Hello world!',
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
.bg-gradient {
|
||||
background: linear-gradient(-45deg, #f103b0, #f0a068, #4fdbfeff);
|
||||
background-size: 200% 200%;
|
||||
animation: gradient 15s ease infinite;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
@keyframes gradient {
|
||||
0% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Boilerplate</title>
|
||||
<title>Резюме</title>
|
||||
@vite('resources/app.js')
|
||||
@vite('resources/css/app.css')
|
||||
</head>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Http\Controllers\DownloadController;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -16,3 +17,5 @@ use Illuminate\Support\Facades\Route;
|
|||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
Route::get('/download/{file}', 'App\Http\Controllers\DownloadController@download');
|
||||
|
|
Loading…
Reference in New Issue