dynamic year in footer + changing ticks color in home page (#95)

This commit is contained in:
Ali 2023-03-15 20:16:28 +03:00 committed by GitHub
parent 2b00137c76
commit d362c3e773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<div class="grid md:grid-cols-3 my-8"> <div class="grid md:grid-cols-3 my-8">
<div class="flex mt-2"> <div class="flex mt-2">
<p class="text-sm text-gray-600 dark:text-gray-400 text-center w-full"> <p class="text-sm text-gray-600 dark:text-gray-400 text-center w-full">
© Copyright 2022. All Rights Reserved © Copyright {{ currYear }}. All Rights Reserved
</p> </p>
</div> </div>
<div class="flex justify-center mt-5 md:mt-0"> <div class="flex justify-center mt-5 md:mt-0">
@ -36,6 +36,7 @@ import { mapGetters } from 'vuex'
export default { export default {
data: () => ({ data: () => ({
appName: window.config.appName, appName: window.config.appName,
currYear: new Date().getFullYear(),
}), }),
computed: { computed: {

View File

@ -23,14 +23,14 @@
<div class="justify-center flex gap-2 mt-10"> <div class="justify-center flex gap-2 mt-10">
<div class="flex items-center text-gray-400 text-sm"> <div class="flex items-center text-gray-400 text-sm">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" class="w-4 h-4 mr-1"> stroke="currentColor" class="w-4 h-4 mr-1 ticks">
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/> <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
</svg> </svg>
<span>Unlimited forms</span> <span>Unlimited forms</span>
</div> </div>
<div class="flex items-center text-gray-400 text-sm"> <div class="flex items-center text-gray-400 text-sm">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" class="w-4 h-4 mr-1"> stroke="currentColor" class="w-4 h-4 mr-1 ticks">
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/> <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
</svg> </svg>
<span> <span>
@ -39,7 +39,7 @@
</div> </div>
<div class="flex text-gray-400 text-sm"> <div class="flex text-gray-400 text-sm">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
stroke="currentColor" class="w-4 h-4 mr-1"> stroke="currentColor" class="w-4 h-4 mr-1 ticks">
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/> <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
</svg> </svg>
<span>Unlimited responses</span> <span>Unlimited responses</span>
@ -149,6 +149,10 @@ export default {
width: 100%; width: 100%;
} }
.ticks {
color:#2563eb;
}
@screen md { @screen md {
#macbook-video { #macbook-video {
position: absolute; position: absolute;