change nuxt base

This commit is contained in:
Amir Mohamadi
2020-06-03 14:13:34 +04:30
parent b3421baf3c
commit 75f8971cb3
69 changed files with 52497 additions and 689 deletions
-34
View File
@@ -1,34 +0,0 @@
<template>
<svg class="NuxtLogo" width="245" height="180" viewBox="0 0 452 342" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<path
d="M139 330l-1-2c-2-4-2-8-1-13H29L189 31l67 121 22-16-67-121c-1-2-9-14-22-14-6 0-15 2-22 15L5 303c-1 3-8 16-2 27 4 6 10 12 24 12h136c-14 0-21-6-24-12z"
fill="#00C58E"
/>
<path
d="M447 304L317 70c-2-2-9-15-22-15-6 0-15 3-22 15l-17 28v54l39-67 129 230h-49a23 23 0 0 1-2 14l-1 1c-6 11-21 12-23 12h76c3 0 17-1 24-12 3-5 5-14-2-26z"
fill="#108775"
/>
<path
d="M376 330v-1l1-2c1-4 2-8 1-12l-4-12-102-178-15-27h-1l-15 27-102 178-4 12a24 24 0 0 0 2 15c4 6 10 12 24 12h190c3 0 18-1 25-12zM256 152l93 163H163l93-163z"
fill="#2F495E"
fill-rule="nonzero"
/>
</g>
</svg>
</template>
<style>
.NuxtLogo {
animation: 1s appear;
margin: auto;
}
@keyframes appear {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
</style>
-7
View File
@@ -1,7 +0,0 @@
# COMPONENTS
**This directory is not required, you can delete it if you don't want to use it.**
The components directory contains your Vue.js Components.
_Nuxt.js doesn't supercharge these components._
+54
View File
@@ -0,0 +1,54 @@
<template>
<header class="header">
<div class="container-fluid">
<nav class="row">
<div class="col-12">
<div class="container-fluid">
<ul class="row">
<nuxt-link :to="staticData.home.url" tag="li" exact class="col">
<a class="logo">
<logo/>
</a>
</nuxt-link>
<nuxt-link :to="staticData.home.url" tag="li" exact class="col">
<a>{{staticData.home.title}}</a>
</nuxt-link>
<nuxt-link :to="staticData.about.url" tag="li" exact class="col">
<a>{{staticData.about.title}}</a>
</nuxt-link>
<nuxt-link :to="staticData.services.url" tag="li" exact class="col">
<a>{{staticData.services.title}}</a>
</nuxt-link>
<nuxt-link :to="staticData.products.url" tag="li" exact class="col">
<a>{{staticData.products.title}}</a>
</nuxt-link>
<nuxt-link :to="staticData.contact.url" tag="li" exact class="col">
<a>{{staticData.contact.title}}</a>
</nuxt-link>
<li>
<select name="" id="">
<option value="fa" selected>فا</option>
<option value="en" selected>EN</option>
</select>
</li>
</ul>
</div>
</div>
</nav>
</div>
</header>
</template>
<script>
export default {
computed: {
staticData() {
if (this.$route.params.lang === 'fa') {
return this.$store.state.staticData.header.fa
} else if (this.$route.params.lang === 'en') {
return this.$store.state.staticData.header.en
}
}
}
}
</script>
@@ -0,0 +1,9 @@
<template>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
x="0px" y="0px" viewBox="0 0 47.3 36.1" style="enable-background:new 0 0 47.3 36.1;" xml:space="preserve">
<rect fill="none" width="109" height="42"/>
<path fill="#1B407C" d="M35.7,35.9l-6.6-13.3c0,0-2.3-4.6,2.8-4.9c0,0,5.2,0.2,6.6-1.4c0,0,2-3.9-1.8-5.1H23V11h0
v16.9h5v8H5.2c0,0-5.2-0.9-5.2-7.6V3h14.9V0h8v3h13.7c0,0,9.7,0.5,10.2,10.1c0,0,1.3,8.7-9.2,11.3l6,11.4L35.7,35.9z M14.9,27.9V11
H8v16.9H14.9z"/>
</svg>
</template>
+14
View File
@@ -0,0 +1,14 @@
<template>
<div class="lang--bar">
<div class="container-fluid">
<div class="row">
<div class="col-6">
</div>
<div class="col-6">
<p>تمامی اطلاعات این سایت برای شرکت اراک ریل محفوظ است</p>
</div>
</div>
</div>
</div>
</template>