Skip to content

Commit f047229

Browse files
Merge pull request #7 from imprakharshukla/dev
Dev
2 parents 45ab5a8 + dced5d4 commit f047229

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2129
-1807
lines changed

.github/workflows/chrome-e2e.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/cache@v1
2626
with:
2727
path: ~/.npm
28-
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn-lock.json') }}
28+
key: ${{ runner.os }}-node-v2-${{ hashFiles('**/yarn-lock.json') }}
2929
restore-keys: |
3030
${{ runner.os }}-node-
3131
@@ -46,10 +46,9 @@ jobs:
4646
start: yarn run dev
4747
parallel: true
4848
browser: chrome
49-
wait-on-timeout: 120
49+
wait-on-timeout: 180
5050
wait-on: 'http://localhost:3000'
5151

52-
5352
- name: Uploading Screenshots ☁
5453
uses: actions/upload-artifact@v1
5554
if: failure()

components/Base/CounterComponent.vue renamed to components/base/counterComponent.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
<div :class="color">
77
<slot></slot>
88
</div>
9-
109
</div>
10+
1111
<div>
1212
<h3 class="font-extrabold text-white font-extrabold text-3xl mt-4">{{ value }}</h3>
1313
</div>
1414
</div>
1515
</div>
1616
</template>
17-
1817
<script>
1918
2019
export default {

components/Base/CtaCard.vue renamed to components/base/ctaCard.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
{{ desc }} </p>
1414
</div>
1515
<div class="mt-5 flex items-center justify-center">
16-
<PrimaryTextButton @click="openLink(buttonLink)"
17-
:backgroundColor="buttonColor"
18-
label="Join now!" :textHoverColor="buttonColor"
16+
<primary-text-button @click="openLink(buttonLink)"
17+
:backgroundColor="buttonColor"
18+
label="Join now!" :textHoverColor="buttonColor"
1919
/>
2020
<!-- <button
2121
class="w-1/2 px-3 py-2 rounded mt-6 text-white font-extrabold text-center transition ease-in-out duration-300 shadow-2xl transform hover:scale-105"
@@ -33,7 +33,10 @@
3333
</template>
3434

3535
<script>
36+
import PrimaryTextButton from "~/components/base/primaryTextButton";
37+
3638
export default {
39+
components: {PrimaryTextButton},
3740
props: {
3841
title: {
3942
type: String,

components/Base/PrimaryIconButton.vue renamed to components/base/primaryIconButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div @click="$emit('clicked')">
2+
<div @click="$emit('click')">
33
<div
44
:class="`cursor-pointer px-4 py-3 flex items-center space-x-5 justify-center rounded ${backgroundColor} hover:${backgroundHoverColor} hover:translate-y-1.5 transition transform duration-300`"
55
>

components/Base/PrimaryTextButton.vue renamed to components/base/primaryTextButton.vue

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
<template>
2-
<div @click="$emit('clicked')">
3-
<div class="cursor-pointer rounded px-4 py-3 hover:-translate-y-1.5 transition transform duration-300"
2+
<div @click="$emit('click')">
3+
<a :href="link" v-if="!!link">
4+
<div class="cursor-pointer rounded px-4 py-3 hover:-translate-y-1.5 transition transform duration-300"
5+
:class="`${backgroundColor?backgroundColor:'bg-primary-600'} hover:${backgroundHoverColor?backgroundHoverColor:'bg-white'}
6+
${textColor?textColor:'text-white'} hover:${textHoverColor?textHoverColor:'text-primary-600'}`"
7+
>
8+
<p class="text-center text-current font-bold">{{ label }}</p>
9+
</div>
10+
</a>
11+
<div v-else class="cursor-pointer rounded px-4 py-3 hover:-translate-y-1.5 transition transform duration-300"
412
:class="`${backgroundColor?backgroundColor:'bg-primary-600'} hover:${backgroundHoverColor?backgroundHoverColor:'bg-white'}
513
${textColor?textColor:'text-white'} hover:${textHoverColor?textHoverColor:'text-primary-600'}`"
614
>
@@ -27,6 +35,9 @@ export default {
2735
label: {
2836
type: String,
2937
require: true,
38+
},
39+
link: {
40+
type: String
3041
}
3142
},
3243
name: 'PrimaryTextButton'
File renamed without changes.
File renamed without changes.

components/Global/NavBar.vue renamed to components/global/navBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:class="!view.atTopOfPage?'bg-gray-800 bg-opacity-80':''"
44
>
55
<div class="flex pt-4 lg:pt-6 lg:pb-6 px-8 pb-4 items-center justify-end">
6-
<div class="xxs:hidden sm:flex justify-self-start mr-auto cursor-pointer" @click="$router.push('/')">
6+
<div class="xxs:hidden flex justify-self-start mr-auto cursor-pointer" @click="$router.push('/')">
77
<h3 class="text-white font-sans font-bold text-lg">andronix</h3>
88
<span class="text-primary-500 font-bold text-lg">.app</span>
99
</div>
File renamed without changes.

components/Global/SideBar.vue renamed to components/global/sideBar.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
leave-active-class="ease-out transition-medium"
99
leave-to-class="opacity-0"
1010
>
11-
<Overlay v-show="$store.state.drawer.isDrawerOpen"/>
11+
<overlay v-show="$store.state.drawer.isDrawerOpen"/>
1212
</transition>
1313
<div id="drawer_main"
1414
class="bg-gray-800 p-8 rounded-r-lg transform top-0 left-0 w-72 fixed h-full overflow-auto ease-in-out transition-all duration-300 z-30"
@@ -108,9 +108,11 @@
108108
</template>
109109

110110
<script>
111-
import drawerMenu from '~/static/Data/menu/main-drawer-menu.json'
111+
import drawerMenu from '~/static/data/menu/main-drawer-menu.json'
112+
import Overlay from "~/components/global/overlay";
112113
113114
export default {
115+
components: {Overlay},
114116
computed: {
115117
isLoggedIn: function () {
116118
return this.$store.getters['auth/isUserLoggedIn']

0 commit comments

Comments
 (0)