Conversation
fix: section and button not in center on desktop
✅ Deploy Preview for wedance-panics7 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
static/img/brand.png
Outdated
pages/nfc/_landing.vue
Outdated
| name="instagram" | ||
| size="10" | ||
| class="rounded-full p-2" | ||
| style="box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);" |
There was a problem hiding this comment.
I changed it to use "shadow" tailwind class
pages/nfc/_landing.vue
Outdated
| const { softUpdate } = useDoc('nfc-card') | ||
| let username = '' | ||
|
|
||
| let pageId = $nuxt.$route.params.landing |
There was a problem hiding this comment.
landing is confusing name for param, rename it to id
| let pageId = $nuxt.$route.params.landing | |
| let pageId = $nuxt.$route.params.id |
pages/nfc/_landing.vue
Outdated
|
|
||
| let pageId = $nuxt.$route.params.landing | ||
| // when page is loaded after signIn | ||
| if (pageId === undefined) { |
There was a problem hiding this comment.
shorter:
| if (pageId === undefined) { | |
| if (!pageId) { |
There was a problem hiding this comment.
To fix error "nuxt is not defined" I changed my implementation, so this code is outdated
pages/nfc/index.vue
Outdated
components/TBenefits.vue
Outdated
| default() { | ||
| return [] | ||
| }, |
There was a problem hiding this comment.
shorter:
| default() { | |
| return [] | |
| }, | |
| default: () => [], |
There was a problem hiding this comment.
I changed code, so it is shorter now
components/TPremium.vue
Outdated
|
|
||
| <TBenefits | ||
| title="Why get Premium?" | ||
| icon="check-green" |
There was a problem hiding this comment.
if it is already set by default, no need to overwrite it
There was a problem hiding this comment.
You are right, I had changed code
components/TProfile.vue
Outdated
| }, | ||
| mounted() { | ||
| // show tryPremium modal | ||
| const query = $nuxt.$route.query |
There was a problem hiding this comment.
solution for: error '$nuxt' is not defined
| const query = $nuxt.$route.query | |
| const query = this.$route.query |
There was a problem hiding this comment.
I had error in diferent file, so this does not fix anything, but I added this implementation
error '$nuxt' is not defined and warning unexpected usage of 'this'
This feature will allow user to link nfc card to his profile
How to test:
Closes #349