Skip to content

Commit 2f76165

Browse files
Merge pull request #15 from AndronixApp/dev
proofread and added redirection for older links
2 parents d40c740 + fc00cdb commit 2f76165

24 files changed

+243
-95
lines changed
83 KB
Loading

components/base/ctaCard.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@
1313
{{ desc }} </p>
1414
</div>
1515
<div class="mt-5 flex items-center justify-center">
16-
<primary-text-button @click="openLink(buttonLink)"
16+
<primary-text-button v-if="!buttonInternalLink" :link="buttonLink"
1717
:backgroundColor="buttonColor"
18-
label="Join now!" :textHoverColor="buttonColor"
18+
:label="buttonText ? buttonText: `Join now!`" :textHoverColor="buttonColor"
19+
/>
20+
<primary-text-button v-else @click="$router.push(buttonInternalLink)"
21+
:backgroundColor="buttonColor"
22+
:label="buttonText ? buttonText: `Join now!`" :textHoverColor="buttonColor"
1923
/>
2024
<!-- <button
2125
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"
@@ -55,8 +59,12 @@ export default {
5559
},
5660
buttonLink: {
5761
type: String,
58-
required: true
5962
},
63+
buttonInternalLink: {
64+
type: String,
65+
}, buttonText: {
66+
type: String,
67+
}
6068
},
6169
name: 'CtaCard'
6270
}

components/global/footer.vue

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,22 @@
142142
<!-- Copyright and stuff -->
143143
<div class="text-white text-center lg:justify-self-end lg:mt-8"
144144
>
145-
<h3 class="font-extrabold text-3xl pb-8">andronix<strong class="text-primary-400">.app</strong></h3>
145+
<!-- <h3 class="font-extrabold text-3xl pb-8">andronix<strong class="text-primary-400">.app</strong></h3>-->
146+
<img
147+
class="mx-auto w-48 lg:w-56 -m-3"
148+
src="~assets/images/logo_new_semi_fhd_dark.png"
149+
alt=""
150+
/>
151+
<a href="https://devriz.com"
152+
class="text-gray-400 text-sm">A
153+
product of
154+
<strong class="underline cursor-pointer text-gray-200">Devriz Technologies
155+
LLP</strong></a>
146156
<p class="text-gray-400 text-sm">©{{ getCurrentYear() }} All rights reserved.</p>
147-
<p class="text-gray-400 text-sm">A product of <strong class="underline cursor-pointer">Devriz Technologies
148-
LLP</strong></p>
149157
<p class="mt-3 text-xs text-gray-400 w-10/12 text-center mx-auto">
150-
Made with <a href="https://tailwindcss.com" class="underline font-bold text-gray-200"
151-
>Tailwind</a>, <a href="https://nuxtjs.org" class="underline font-bold text-gray-200"
152-
>NuxtJS</a> by <a
153-
href="https://github.com/imprakharshukla"
154-
class="underline font-bold text-gray-100"
155-
>imprakharshukla</a> in 🇮🇳
158+
Made with <a href="https://tailwindcss.com" class="underline font-bold text-gray-400"
159+
>Tailwind</a>, <a href="https://nuxtjs.org" class="underline font-bold text-gray-400"
160+
>NuxtJS</a>.
156161
</p>
157162
</div>
158163

components/landing/deLogoGrid.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
<div class="flex-col text-white font-sans">
77
<h2 class="font-extrabold text-primary">ANDRONIX</h2>
88
<h2 class="font-bold text-4xl">Desktop Environments</h2>
9-
<p class="text-sm mt-3">Do you like to have a customizable UI? We have most reknowned Desktop Environments to choose from so that
10-
you always have an option to customize your desktop according to your needs. </p>
9+
<p class="text-sm mt-3">Do you like to have a customizable UI? Then, we have the most prominent Window Managers to select from so that you can flex your Linux rice on Android. </p>
1110
</div>
1211
</div>
1312
</div>

components/landing/distroLogoGrid.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<div class="flex-col text-white font-sans">
77
<h2 class="font-extrabold text-primary">ANDRONIX</h2>
88
<h2 class="font-bold text-4xl">Distributions</h2>
9-
<p class="text-sm mt-3">Ever thought of trying out new distros? We provide a large variety of distros to
10-
choose from.
11-
Just choose any of your favourite distro and you are ready to roll.
9+
<p class="text-sm mt-3">Ever thought of trying out new distributions? We provide a large variety of
10+
distribution to choose from. Just select any of your favorite distributions, and you are ready to roll.
1211
</p>
1312
</div>
1413
</div>

components/landing/wmLogoGrid.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<div class="flex-col text-white font-sans">
77
<h2 class="font-extrabold text-primary">ANDRONIX</h2>
88
<h2 class="font-bold text-4xl">Window Managers</h2>
9-
<p class="text-sm mt-3">Do you like to rice your setups and want to have a minimalistic and lightweight workspace?
10-
We have most prominent Window Managers to select from so that you can flex your Linux rice on Android. </p>
9+
<p class="text-sm mt-3">Do you like to rice your setups and want to have a minimalistic and lightweight workspace?
10+
Then, we have the most renowned Desktop Environments to choose from so that you always have an option to customize your desktop according to your needs. </p>
1111
</div>
1212
</div>
1313
</div>

middleware/redirect.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
export default function ({route, redirect}) {
2+
3+
let path = route.fullPath
4+
/*removing any extra "/"*/
5+
if (path.endsWith("/"))
6+
path = path.slice(0, path.length - 1)
7+
8+
console.log("Redirecting the older link to the new version ✅")
9+
10+
switch (path) {
11+
case "/commands":
12+
return redirect('/products/commands')
13+
case "/premium":
14+
return redirect('/products/premium')
15+
case "/premium-support":
16+
return redirect('/products/premium')
17+
case "/modded-os":
18+
return redirect('/products/modded-os')
19+
case "/refund-policy":
20+
return redirect('/legal/refund-policy')
21+
case "/privacy-policy":
22+
return redirect('/legal/privacy-policy')
23+
case "/terms-conditions":
24+
return redirect('/legal/terms-conditions')
25+
case "/restore-purchases/":
26+
return redirect('/')
27+
case "/modded-os-gallery":
28+
return redirect('/products/modded-os')
29+
}
30+
}

nuxt.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
export default {
2+
router: {
3+
middleware: 'redirect'
4+
},
25
generate: {
36
fallback: true
47
},
@@ -17,7 +20,7 @@ export default {
1720
],
1821
title: 'Andronix App',
1922
meta: [
20-
{ charset: 'utf-8' },
23+
{charset: 'utf-8'},
2124
{
2225
name: 'viewport',
2326
content: 'width=device-width, initial-scale=1'

pages/about.vue

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
>
77
<Heading
88
class="px-10"
9-
heading="Who we are?"
9+
heading="Who are we?"
1010
deco_heading="ANDRONIX"
11-
sub_heading="We are developers from India who like to share our knowledge and try to deliver a platform to
12-
mobile users to make them aware of the Linux kernel and distros, providing them a way to use desktop softwares on their Android devices.
13-
We are really thankful to all our users and our additional team members for supporting us and bringing us to where we are today."
11+
sub_heading="We are developers from India who like to share our knowledge and try to deliver a platform to mobile users to make them aware of the Linux kernel and distributions, providing them a way to use desktop software on their Android devices. We are really thankful to all our users and our additional team members for supporting us and bringing us to where we are today."
1412
/>
1513

1614
<primary-text-button label="TALK TO US" link="https://chat.andronix.app"/>
@@ -53,7 +51,7 @@
5351
<Heading
5452
heading="Our Team"
5553
deco_heading="MEET US"
56-
sub_heading="Here's us. We have a specturm of poeple down here, from developers to community moderators to people who support us and much more."
54+
sub_heading="Here we are. We have a spectrum of people down here, from developers to community moderators to people who support us and much more."
5755
/>
5856

5957
<div
@@ -98,33 +96,33 @@
9896
/>
9997
</div>
10098

101-
<!-- &lt;!&ndash; Special mentions &ndash;&gt;
102-
<XyzTransition :appear-visible="true" duration="auto">
103-
<div class="px-5 py-5 mt-16 pb-16">
104-
<div
105-
class="flex-col space-y-4"
106-
xyz="fade flip-down duration-10 delay-2 stagger ease-out-back"
107-
>
108-
<h2 class="heading-2 xyz-nested">Special Mentions</h2>
109-
</div>
110-
</div>
111-
</XyzTransition>
112-
<div
113-
class="grid-cols-1 md:grid-cols-2 grid gap-y-8 gap-x-4 justify-center items-center"
114-
>
115-
<TeamCard
116-
class="justify-self-center"
117-
:class="
118-
index === 0 ? 'md:justify-self-end' : 'md:justify-self-start'
119-
"
120-
v-for="(member, index) in teams.specials"
121-
:name="member.name"
122-
:key="member.name"
123-
:position="member.position"
124-
:quote="member.quote"
125-
:photo_url="member.photo_url"
126-
/>
127-
</div>-->
99+
<!-- &lt;!&ndash; Special mentions &ndash;&gt;
100+
<XyzTransition :appear-visible="true" duration="auto">
101+
<div class="px-5 py-5 mt-16 pb-16">
102+
<div
103+
class="flex-col space-y-4"
104+
xyz="fade flip-down duration-10 delay-2 stagger ease-out-back"
105+
>
106+
<h2 class="heading-2 xyz-nested">Special Mentions</h2>
107+
</div>
108+
</div>
109+
</XyzTransition>
110+
<div
111+
class="grid-cols-1 md:grid-cols-2 grid gap-y-8 gap-x-4 justify-center items-center"
112+
>
113+
<TeamCard
114+
class="justify-self-center"
115+
:class="
116+
index === 0 ? 'md:justify-self-end' : 'md:justify-self-start'
117+
"
118+
v-for="(member, index) in teams.specials"
119+
:name="member.name"
120+
:key="member.name"
121+
:position="member.position"
122+
:quote="member.quote"
123+
:photo_url="member.photo_url"
124+
/>
125+
</div>-->
128126
</div>
129127
</div>
130128
</XyzTransition>
@@ -139,7 +137,7 @@ import TeamCard from "~/components/teamCard";
139137
140138
export default {
141139
components: {TeamCard, PrimaryTextButton, Heading},
142-
head () {
140+
head() {
143141
return {
144142
title: meta.about.title,
145143
meta: [{

pages/help.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/>
1111

1212
<div
13-
class="grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-3 lg:max-w-screen-md mx-auto"
13+
class="grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-3 lg:max-w-screen-xl mx-auto"
1414
>
1515
<cta-card
1616
title="Discord"

0 commit comments

Comments
 (0)