Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front change|fix issue #1965 #1967

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
</template>

<script setup>
import { ref, onMounted } from 'vue'
import { ref, onMounted, watchEffect } from 'vue'

const BANNER_ACTIVE_TIME = 2000
const bannerActive = ref(true)

onMounted(() => {
watchEffect(() => {
setTimeout(() => {
bannerActive.value = false
}, BANNER_ACTIVE_TIME)
})
</script>
</script>
9 changes: 4 additions & 5 deletions components/SubscriptionForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
placeholder="Enter your email"
required
/>
<div class="hidden">
<input id="59f61" type="checkbox" name="l" checked value="59f61a48-5867-4861-bde0-59a9027420e3" />
<div>
<input id="59f61" type="checkbox" name="l" value="59f61a48-5867-4861-bde0-59a9027420e3" />
<label for="59f61">Good First Issue</label>
<input id="4c2a7" type="checkbox" name="l" checked value="4c2a780e-f85b-4d28-8a60-9e2a43f0e0d4" />
<input id="4c2a7" type="checkbox" name="l" value="4c2a780e-f85b-4d28-8a60-9e2a43f0e0d4" />
<label for="4c2a7">Community newsletter</label>
</div>
<!-- prettier-ignore -->
<input class="bg-ink-300 hover:bg-ink-200 text-vanilla-100 rounded-md font-semibold text-center h-10 px-4 py-2 text-sm space-x-2 leading-8 cursor-pointer" type="submit" value="Subscribe" />
</div>
</form>
</template>
</template>