Joakim
KPCKevin Powell - Community
•Created by Joakim on 11/26/2024 in #ui-ux
Table mobile design (large amount of field)
agree to that, I've closed in on implementing it. hiding columns based on width and wrapping some all the way down. and the details panel showing cards take the full information when opened
7 replies
KPCKevin Powell - Community
•Created by Joakim on 11/26/2024 in #ui-ux
Table mobile design (large amount of field)
right thanks! I agree that seems to be the best option possible.
7 replies
KPCKevin Powell - Community
•Created by Joakim on 6/5/2024 in #front-end
Lagging scroll on mobile devices
Thanks for trying. yeah something is not well with it I will keep at it 👍
3 replies
KPCKevin Powell - Community
•Created by Joakim on 12/14/2022 in #front-end
Next.js can't create static pages
3 replies
KPCKevin Powell - Community
•Created by Joakim on 12/14/2022 in #front-end
Next.js can't create static pages
export async function getStaticPaths() {
const storePaths = await getStorePaths()
console.log(storePaths)
return {
paths: storePaths,
fallback: true,
}
}
export async function getStaticProps({ params }: any) {
try {
let products;
let filters;
const store: any = await getStore(params.slug, params.city).then(async (res) => {
if (res) {
res[0].likes = await getStoreLikes(res[0].store_id)
res[0].followers = await getStoreFollowers(res[0].store_id)
products = await initialize(res[0].store_id)
filters = await getStoreProductfilters(res[0].store_id)
}
return res
})
return {
props: {
store: store[0],
products: products,
filters: filters,
},
}
} catch (err: any) {
console.log(err.message)
}
}
3 replies
KPCKevin Powell - Community
•Created by Joakim on 11/5/2022 in #front-end
Remove duplicates in array
3 replies