Skip to content

Beautiful Open-Source Form Builder

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

Alid362c3e773e2
diff --git a/resources/js/components/pages/OpenFormFooter.vue b/resources/js/components/pages/OpenFormFooter.vue
index 837f9dc60..6bfd698d0 100644
--- a/resources/js/components/pages/OpenFormFooter.vue
+++ b/resources/js/components/pages/OpenFormFooter.vue
@@ -3,7 +3,7 @@
<div class="grid md:grid-cols-3 my-8">
<div class="flex mt-2">
<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>
</div>
<div class="flex justify-center mt-5 md:mt-0">
@@ -36,6 +36,7 @@ import { mapGetters } from 'vuex'
export default {
data: () => ({
appName: window.config.appName,
+ currYear: new Date().getFullYear(),
}),
computed: {
diff --git a/resources/js/pages/welcome.vue b/resources/js/pages/welcome.vue
index c166cfec4..567c71a67 100644
--- a/resources/js/pages/welcome.vue
+++ b/resources/js/pages/welcome.vue
@@ -23,14 +23,14 @@
<div class="justify-center flex gap-2 mt-10">
<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"
- 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"/>
</svg>
<span>Unlimited forms</span>
</div>
<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"
- 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"/>
</svg>
<span>
@@ -39,7 +39,7 @@
</div>
<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"
- 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"/>
</svg>
<span>Unlimited responses</span>
@@ -149,6 +149,10 @@ export default {
width: 100%;
}
+.ticks {
+ color:#2563eb;
+}
+
@screen md {
#macbook-video {
position: absolute;