diff --git a/resources/views/albums/index.blade.php b/resources/views/albums/index.blade.php new file mode 100644 index 00000000..88c8783d --- /dev/null +++ b/resources/views/albums/index.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Album Listing!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/albums/show.blade.php b/resources/views/albums/show.blade.php new file mode 100644 index 00000000..ff1c68da --- /dev/null +++ b/resources/views/albums/show.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Album!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/artists/index.blade.php b/resources/views/artists/index.blade.php new file mode 100644 index 00000000..efc046b9 --- /dev/null +++ b/resources/views/artists/index.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Artist Listing!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/artists/profile.blade.php b/resources/views/artists/profile.blade.php new file mode 100644 index 00000000..ec68134b --- /dev/null +++ b/resources/views/artists/profile.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Artist Profile!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php new file mode 100644 index 00000000..f9b58441 --- /dev/null +++ b/resources/views/auth/login.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Login

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php new file mode 100644 index 00000000..8f70767c --- /dev/null +++ b/resources/views/auth/register.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Register

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/errors/400.blade.php b/resources/views/errors/400.blade.php new file mode 100644 index 00000000..bfc98077 --- /dev/null +++ b/resources/views/errors/400.blade.php @@ -0,0 +1,12 @@ +@extends('shared._app_layout') + +@section('app_content') +

400 - Invalid Request

+

Your request was invalid.

+@endsection + +@section('app_scripts') + +@endsection \ No newline at end of file diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php new file mode 100644 index 00000000..3c1d4e61 --- /dev/null +++ b/resources/views/errors/403.blade.php @@ -0,0 +1,12 @@ +@extends('shared._app_layout') + +@section('app_content') +

403 - Not Authorized

+

You cannot do this.

+@endsection + +@section('app_scripts') + +@endsection \ No newline at end of file diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php new file mode 100644 index 00000000..05b9d0ed --- /dev/null +++ b/resources/views/errors/404.blade.php @@ -0,0 +1,12 @@ +@extends('shared._app_layout') + +@section('app_content') +

404 - Not Found

+

We could not find what you were looking for.

+@endsection + +@section('app_scripts') + +@endsection \ No newline at end of file diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php new file mode 100644 index 00000000..809aac05 --- /dev/null +++ b/resources/views/errors/500.blade.php @@ -0,0 +1,12 @@ +@extends('shared._app_layout') + +@section('app_content') +

400 - Server Error

+

There was an error in the server.

+@endsection + +@section('app_scripts') + +@endsection \ No newline at end of file diff --git a/resources/views/home/index.blade.php b/resources/views/home/index.blade.php new file mode 100644 index 00000000..aa6e3cf7 --- /dev/null +++ b/resources/views/home/index.blade.php @@ -0,0 +1,12 @@ +@extends('shared._app_layout') + +@section('app_content') +

Welcome to Pony.fm

+

The pony fan music site. By bronies, for bronies.

+

+ We provide a comprehensive set of free tools to host, distribute, and catalogue your music, integrated with a rich community experience for artists and listeners alike. +

+

+ Features include unlimited downloads, unlimited uploads, lossless uploads and much more! Click here for more details! +

+@endsection \ No newline at end of file diff --git a/resources/views/pages/about.blade.php b/resources/views/pages/about.blade.php new file mode 100644 index 00000000..eb7d6bcb --- /dev/null +++ b/resources/views/pages/about.blade.php @@ -0,0 +1,5 @@ +@extends('shared._app_layout') + +@section('app_content') + {{Helpers::template('pages/about.html')}} +@endsection \ No newline at end of file diff --git a/resources/views/pages/faq.blade.php b/resources/views/pages/faq.blade.php new file mode 100644 index 00000000..00ebfbfa --- /dev/null +++ b/resources/views/pages/faq.blade.php @@ -0,0 +1,5 @@ +@extends('shared._app_layout') + +@section('app_content') + {{Helpers::template('pages/faq.html')}} +@endsection \ No newline at end of file diff --git a/resources/views/playlists/index.blade.php b/resources/views/playlists/index.blade.php new file mode 100644 index 00000000..4626fe77 --- /dev/null +++ b/resources/views/playlists/index.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Playlist Listing!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/playlists/show.blade.php b/resources/views/playlists/show.blade.php new file mode 100644 index 00000000..51d87fff --- /dev/null +++ b/resources/views/playlists/show.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

A Playlist!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/shared/_app_layout.blade.php b/resources/views/shared/_app_layout.blade.php new file mode 100644 index 00000000..1a1cf180 --- /dev/null +++ b/resources/views/shared/_app_layout.blade.php @@ -0,0 +1,134 @@ +@extends('shared._layout') + +@section('content') + +
+ + + +
+ + + + +
+ @if (Auth::check()) + + @endif + +
+
+ +
+ + + @yield('app_content') + +
+ +@endsection + +@section('styles') + + + {{ Assets::styleIncludes() }} +@endsection + +@section('scripts') + + + + + {{ Assets::scriptIncludes() }} + + @if (!Config::get("app.debug")) + + @endif + + @yield('app_scripts') + +@endsection \ No newline at end of file diff --git a/resources/views/shared/_layout.blade.php b/resources/views/shared/_layout.blade.php new file mode 100644 index 00000000..49638465 --- /dev/null +++ b/resources/views/shared/_layout.blade.php @@ -0,0 +1,17 @@ + + + + + + Pony.fm + + + + + @yield('styles') + + + @yield('content') + @yield('scripts') + + \ No newline at end of file diff --git a/resources/views/shared/null.blade.php b/resources/views/shared/null.blade.php new file mode 100644 index 00000000..771f9b9d --- /dev/null +++ b/resources/views/shared/null.blade.php @@ -0,0 +1,5 @@ +@extends('shared._app_layout') + +@section('app_content') +

If you see this page, something went wrong.

+@endsection \ No newline at end of file diff --git a/resources/views/tracks/embed.blade.php b/resources/views/tracks/embed.blade.php new file mode 100644 index 00000000..53e9d4b4 --- /dev/null +++ b/resources/views/tracks/embed.blade.php @@ -0,0 +1,68 @@ + + + + + {{$track->title}} by {{$track->user->display_name}} on Pony.fm + + + + + + + + + + {{ Assets::styleIncludes('embed') }} + + + @if($track->explicit && !(Auth::check() && Auth::user()->can_see_explicit_content)) +
+ Enable explicit content in {{ HTML::link(URL::to('/account/settings'), 'your account', ['target' => '_blank']) }} to play this track. +
+ Hosted by Pony.fm +
+
+ @else +
+
+
+ {{ HTML::image($track->getCoverUrl(\App\Image::SMALL)) }} +
+
+ @if (Auth::check()) + + @endif +
+
+
+
+ {{ HTML::link( $track->url, $track->title, ['target' => '_blank'] ) }} + by: {{ HTML::link($track->user->url, $track->user->display_name, ['target' => '_blank']) }} / {{$track->genre->name}} / {{Helpers::timestamp($track->published_at)}} +
+
+ Views: {{ $track->view_count }} / Plays: {{ $track->play_count }} / Downloads: {{ $track->download_count }} / + Hosted by Pony.fm +
+
+ @endif + + + + {{ Assets::scriptIncludes('embed') }} + + + + \ No newline at end of file diff --git a/resources/views/tracks/index.blade.php b/resources/views/tracks/index.blade.php new file mode 100644 index 00000000..007bb625 --- /dev/null +++ b/resources/views/tracks/index.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Track Listing!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/tracks/show.blade.php b/resources/views/tracks/show.blade.php new file mode 100644 index 00000000..007bb625 --- /dev/null +++ b/resources/views/tracks/show.blade.php @@ -0,0 +1,6 @@ +@extends('shared._app_layout') + +@section('app_content') +

Track Listing!

+

This page should be what search engines see

+@endsection \ No newline at end of file diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php deleted file mode 100644 index cb5d3530..00000000 --- a/resources/views/welcome.blade.php +++ /dev/null @@ -1,45 +0,0 @@ - - - - Laravel - - - - - - -
-
-
Laravel 5
-
-
- -