diff --git a/app/Http/Controllers/StatusController.php b/app/Http/Controllers/StatusController.php index e07431081..a77d6affc 100644 --- a/app/Http/Controllers/StatusController.php +++ b/app/Http/Controllers/StatusController.php @@ -95,7 +95,7 @@ class StatusController extends Controller { $this->authCheck(); - return redirect('/'); + return view('status.compose'); } public function store(Request $request) diff --git a/public/js/compose.js b/public/js/compose.js index 70aff59d9..0b09e16c0 100644 Binary files a/public/js/compose.js and b/public/js/compose.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index a632ff400..13b505216 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/js/components/ComposeModal.vue b/resources/assets/js/components/ComposeModal.vue index b06d14bb0..bb7f9e930 100644 --- a/resources/assets/js/components/ComposeModal.vue +++ b/resources/assets/js/components/ComposeModal.vue @@ -16,6 +16,7 @@ diff --git a/resources/views/status/compose.blade.php b/resources/views/status/compose.blade.php new file mode 100644 index 000000000..5ed1041dd --- /dev/null +++ b/resources/views/status/compose.blade.php @@ -0,0 +1,13 @@ +@extends('layouts.app') + +@section('content') + +
+
+
+ @include('timeline.partial.new-form') +
+
+
+ +@endsection \ No newline at end of file diff --git a/resources/views/timeline/partial/new-form.blade.php b/resources/views/timeline/partial/new-form.blade.php index 32aee7324..ebd4f5c95 100644 --- a/resources/views/timeline/partial/new-form.blade.php +++ b/resources/views/timeline/partial/new-form.blade.php @@ -1 +1,76 @@ - \ No newline at end of file +
+
+
{{__('Create New Post')}}
+
+
+ +
+ @csrf + + +
+
+ + +
+ + Max Size: @maxFileSize(). Supported formats: jpeg, png, gif, bmp. Limited to {{config('pixelfed.max_album_length')}} photos per post. + +
+
+ +

+ 0 + / + {{config('pixelfed.max_caption_length')}} +

+
+
+ +
+
+ +
+ +
+ + Set the visibility of this post. + +
+
+ +
+ + +
+ + Please mark all NSFW and controversial content, as per our content policy. + +
+
+ +
+ +
+ + No filter selected. + +
+
+ + +
+
+
+ +
+
+
\ No newline at end of file