Initial commit

This commit is contained in:
Julien Nahum
2022-09-20 21:59:52 +02:00
commit f8e6cd4dd6
479 changed files with 77078 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
@component('mail::message')
{!! $form->notification_body !!}
@if($form->notifications_include_submission)
As a reminder, here are your answers:
@foreach($fields as $field)
@if(isset($field['value']))
--------------------------------------------------------------------------------
**{{$field['name']}}**
{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!}
@endif
@endforeach
@endif
<p style="text-align:center"><small>You are receiving this email because you answered the form: <a href="{{url("forms/".$form->slug)}}">"{{$form->title}}"</a>.</small></p>
@endcomponent

View File

@@ -0,0 +1,26 @@
@component('mail::message')
Hey there 👋
Congrats! Your form "{{$form->title}}" was successfully created!
If you want to share your form, here is the link:
@component('mail::panel')
{{$form->share_url}}
@endcomponent
If you want to **embed your form in Notion**, simply type "/embed", confirm, and paste the URL above.
If you want to add the form to your website, copy and paste the following code:
@component('mail::panel')
{{ '<iframe style="border:none;width:100%;" height="620px" src="'.$form->share_url.'"></iframe>' }}
@endcomponent
Finally, we created a **Facebook group** with all the other users to share all the exciting news and tutorials about NotionForms.
I would love to see you there, here is the link:
@component('mail::button', ['url' => config('links.facebook_group')])
Join Facebook Group
@endcomponent
@endcomponent

View File

@@ -0,0 +1,19 @@
@component('mail::message')
Hello there 👋
Your form "{{$form->title}}" has a new submission.
@foreach($fields as $field)
@if(isset($field['value']))
--------------------------------------------------------------------------------
**{{$field['name']}}**
{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!}
@endif
@endforeach
@endcomponent