Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default defineComponent({
const dark = useDark();

return {
RECAPTCHA_SITE_KEY: '6Lc--NkqAAAAAE7zbUTUww4HZUSZ5b5ZIvdRKVz9',
RECAPTCHA_SITE_KEY: '6LcoxR4sAAAAANGn5zTRKW8q701mdA4x0EbUomJ6',
theme: computed((): string => {
return dark.value ? 'dark' : 'light';
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
type="email"
:label="translate('contactForm.email')" />

<FormInput
id="phone"
v-model.trim="refs.phone"
type="phone"
optional
:label="translate('contactForm.phone')" />

<FormSelect
id="subject"
v-model.trim="refs.subject"
Expand Down Expand Up @@ -69,6 +76,7 @@ export default defineComponent({
const initialValue = {
name: '',
email: '',
phone: '',
subject: '',
message: '',
};
Expand Down
2 changes: 1 addition & 1 deletion src/.vuepress/theme/client/composables/useContactForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const useContactForm: UseContactForm = (refs, messages, initialValue) =>
loading.value = true;

try {
const response = await fetch('https://vqthadq4nvo5i2cgvxpu3xw3zm0qxquc.lambda-url.eu-central-1.on.aws', {
const response = await fetch('https://lafsu5u5wqtpr4kse7tzdue4se0shtvn.lambda-url.eu-central-1.on.aws/', {
method: 'POST',
headers: {
Accept: 'application/json',
Expand Down