-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #681 from AkshithaReddy1899/main
Added friendly-captcha to contact, sign-in, sign-up pages
- Loading branch information
Showing
4 changed files
with
1,585 additions
and
1,761 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
<template> | ||
<button | ||
class="flex items-center w-fit justify-center 2xl:space-x-10 xl:space-x-8 lg:space-x-4 md:space-x-4 lg:col-span-5 md:col-span-2 px-3 rounded border border-light-section-div dark:border-dark-section-div text-sm h-[48px] md:h-[40px] elem-shadow-sm" | ||
type="button" | ||
aria-label="test" | ||
> | ||
<span class="flex items-center space-x-4 whitespace-nowrap"> | ||
<Icon name="bi:shield-fill-check" size="28px" /> | ||
<span class="font-bold text-[18px] hidden lg:inline-block">{{ | ||
$t("components.friendly-captcha.i-am-human") | ||
}}</span> | ||
</span> | ||
<span class="text-[12px] hidden lg:inline-block truncate">{{ | ||
$t("components.friendly-captcha.label") | ||
}}</span> | ||
</button> | ||
<vue-friendly-captcha | ||
@done="verifyCaptcha" | ||
sitekey="<sitekey>" | ||
:dark="($colorMode.preference = 'dark')" | ||
language="en" | ||
/> | ||
</template> | ||
|
||
<script setup> | ||
import VueFriendlyCaptcha from "@somushq/vue3-friendly-captcha"; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.