Skip to content

Commit fdd8da4

Browse files
Merge pull request #12 from imprakharshukla/dev
Dev
2 parents 2772b20 + 42c15cf commit fdd8da4

File tree

5 files changed

+31
-16
lines changed

5 files changed

+31
-16
lines changed

components/global/footer.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@
143143
<div class="text-white text-center lg:justify-self-end lg:mt-8"
144144
>
145145
<h3 class="font-extrabold text-3xl pb-8">andronix<strong class="text-primary-400">.app</strong></h3>
146-
<h3 class="font-extrabold text-lg">Andronix App</h3>
147-
<p class="text-gray-400 text-sm">©2021 Andronix | Techriz. All Rights Reserved.</p>
146+
<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>
148149
<p class="mt-3 text-xs text-gray-400 w-10/12 text-center mx-auto">
149150
Made with <a href="https://tailwindcss.com" class="underline font-bold text-gray-200"
150151
>Tailwind</a>, <a href="https://nuxtjs.org" class="underline font-bold text-gray-200"
@@ -161,7 +162,12 @@
161162

162163
<script>
163164
export default {
164-
name: 'Footer'
165+
name: 'Footer',
166+
methods: {
167+
getCurrentYear() {
168+
return new Date().getFullYear()
169+
}
170+
}
165171
}
166172
</script>
167173

components/global/navBar.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</div>
1010

1111
<!-- Download Button -->
12-
<div
13-
class="text-white invisible md:invisible lg:visible cursor-pointer px-3 py-2 bg-primary-600 flex items-center space-x-5 justify-center rounded hover:bg-white hover:text-primary-600 hover:-translate-y-1.5 transition transform duration-300"
12+
<a href="https://play.andronix.app"
13+
class="text-white invisible md:invisible lg:visible cursor-pointer px-3 py-2 bg-primary-600 flex items-center space-x-5 justify-center rounded hover:bg-white hover:text-primary-600 hover:-translate-y-1.5 transition transform duration-300"
1414
>
1515
<svg class="text-current fill-current w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
1616
fill="currentColor"
@@ -20,8 +20,8 @@
2020
clip-rule="evenodd"
2121
/>
2222
</svg>
23-
<a href="https://play.andronix.app" class="text-current font-bold">Download</a>
24-
</div>
23+
<p class="text-current font-bold">Download</p>
24+
</a>
2525

2626
<!-- Hamburger -->
2727
<div id="nav_hamburger" @click="$store.commit('drawer/toggleDrawer')" class="cursor-pointer ml-5 ">
@@ -42,13 +42,13 @@
4242
export default {
4343
name: 'NavBar',
4444
// a beforeMount call to add a listener to the window
45-
beforeMount () {
45+
beforeMount() {
4646
window.addEventListener('scroll', this.handleScroll)
4747
},
4848
4949
methods: {
5050
// the function to call when the user scrolls, added as a method
51-
handleScroll () {
51+
handleScroll() {
5252
// when the user scrolls, check the pageYOffset
5353
if (window.pageYOffset > 0) {
5454
// user is scrolled

nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default {
109109

110110
// Axios module configuration (https://go.nuxtjs.dev/config-axios)
111111
axios: {
112-
baseURL: 'http://localhost:3030/v1'
112+
baseURL: 'https://commerce.andronix.xyz/v1'
113113
},
114114

115115
// Build Configuration (https://go.nuxtjs.dev/config-build)

pages/products/modded-os.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
d="M3 1a1 1 0 000 2h1.22l.305 1.222a.997.997 0 00.01.042l1.358 5.43-.893.892C3.74 11.846 4.632 14 6.414 14H15a1 1 0 000-2H6.414l1-1H14a1 1 0 00.894-.553l3-6A1 1 0 0017 3H6.28l-.31-1.243A1 1 0 005 1H3zM16 16.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 18a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"
144144
/>
145145
</svg>
146-
<p class="text-white font-bold">Buy Now!</p>
146+
<p class="text-white text-center font-bold">Buy Now!</p>
147147
</div>
148148
</div>
149149
</div>
@@ -178,7 +178,7 @@ import PrimaryTextButton from "~/components/base/primaryTextButton";
178178
179179
export default {
180180
components: {PrimaryTextButton, FeatureCard, CounterComponent, Heading, TestimonialModdedOsCard},
181-
head () {
181+
head() {
182182
return {
183183
title: meta['modded-os'].title,
184184
meta: [{
@@ -188,7 +188,7 @@ export default {
188188
}]
189189
}
190190
},
191-
async mounted () {
191+
async mounted() {
192192
await this.fetchImages()
193193
},
194194
methods: {
@@ -199,10 +199,13 @@ export default {
199199
this.$router.push('/auth/login')
200200
}
201201
},
202-
async fetchImages () {
202+
async fetchImages() {
203203
try {
204+
console.log("Fetching images...")
204205
let res = await this.$axios.get('/gen/modded-images')
206+
console.log("log")
205207
let imagesObj = res.data
208+
console.log({imagesObj})
206209
207210
for (let osImageId in imagesObj) {
208211
if (imagesObj.hasOwnProperty(osImageId)) {

static/data/misc/teams.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,15 @@
2222
},
2323
{
2424
"name": "@raytracingcert07",
25-
"position": "Discord Support",
26-
"quote": "I'm the moderator at the Andronix Discord server, where you'll see a small but friendly and helpful community willing to assist you.",
25+
"position": "Discord",
26+
"quote": "The ease of using Andronix is something that I really like and it was the reason that I joined the team. No-ads, a intuitive user interface.",
2727
"photo_url": "https://cdn.discordapp.com/avatars/472036022927097867/048f9abe7ec9ef972c83c70bd64dcc14.png"
28+
},
29+
{
30+
"name": "@./start-blendy.sh",
31+
"position": "Discord",
32+
"quote": "Andronix is a must have for any power user of their android device, it can be a direct replacement for the now defunct Linux on Dex.",
33+
"photo_url": "https://cdn.discordapp.com/avatars/386375356866887680/100de051e2f188661fba52e5c64a1341.png"
2834
}
2935
],
3036
"specials": [

0 commit comments

Comments
 (0)