diff --git a/resources/views/articles/show.blade.php b/resources/views/articles/show.blade.php index f209e7d..236ea49 100644 --- a/resources/views/articles/show.blade.php +++ b/resources/views/articles/show.blade.php @@ -1,6 +1,6 @@ -@extends('layouts.app') + -@section('meta') + {{$article->meta['title']}} | Karudhaas @@ -15,9 +15,9 @@ -@endsection + + -@section('content')
-@endsection \ No newline at end of file + \ No newline at end of file diff --git a/resources/views/components/footer.blade.php b/resources/views/components/footer.blade.php new file mode 100644 index 0000000..d860f5b --- /dev/null +++ b/resources/views/components/footer.blade.php @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/resources/views/layouts/app.blade.php b/resources/views/components/layout.blade.php similarity index 62% rename from resources/views/layouts/app.blade.php rename to resources/views/components/layout.blade.php index 98e94fc..2b23e0a 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/components/layout.blade.php @@ -5,7 +5,7 @@ - @yield('meta') + {{$meta ?? ''}} @@ -24,10 +24,16 @@
- @yield('content') + {{ $slot }}
- @include('partials.footer') + + + @jinas123, + @dharisd, + @shihaamabr + +
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 7ec5bfd..2269e68 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,28 +1,28 @@ -@extends('layouts.app') + -@section('meta') -Karudhaas + + Karudhaas - - - - - - - - - - - - -@endsection + + + + + + + + + + + + + -@section('content') - + - + - + - -@endsection \ No newline at end of file + + + \ No newline at end of file diff --git a/resources/views/mylist/index.blade.php b/resources/views/mylist/index.blade.php index 532c3d6..3078644 100644 --- a/resources/views/mylist/index.blade.php +++ b/resources/views/mylist/index.blade.php @@ -1,74 +1,73 @@ -@extends('layouts.app') - -@section('content') -@if(!isset($articles)) + + @if(!isset($articles)) +
+
+

+ ރައްކާކުރެވިފައި އެއްވެސް ލިޔުމެއް ނެއް +

+
+
+ @else

- ރައްކާކުރެވިފައި އެއްވެސް ލިޔުމެއް ނެއް + ރައްކާ ކުރެވިފައިާ ލިޔުންތައް

-
-@else -
-
-

- ރައްކާ ކުރެވިފައިާ ލިޔުންތައް -

-
- - -@endif - -@endsection + @endif + + + diff --git a/resources/views/namespaces/index.blade.php b/resources/views/namespaces/index.blade.php index 5d3a973..af11042 100644 --- a/resources/views/namespaces/index.blade.php +++ b/resources/views/namespaces/index.blade.php @@ -1,6 +1,6 @@ -@extends('layouts.app') + -@section('meta') + Karudhaas | Namespaces @@ -15,9 +15,8 @@ -@endsection + -@section('content')
@foreach (config('karudhaas.topic_filters') as $key => $namespace) @@ -31,4 +30,5 @@
-@endsection \ No newline at end of file + +
\ No newline at end of file diff --git a/resources/views/namespaces/show.blade.php b/resources/views/namespaces/show.blade.php index ea60483..45cb079 100644 --- a/resources/views/namespaces/show.blade.php +++ b/resources/views/namespaces/show.blade.php @@ -1,7 +1,5 @@ -@extends('layouts.app') - -@section('content') - - -@endsection \ No newline at end of file + + + + \ No newline at end of file diff --git a/resources/views/pages/about.blade.php b/resources/views/pages/about.blade.php index d939765..bf586f0 100644 --- a/resources/views/pages/about.blade.php +++ b/resources/views/pages/about.blade.php @@ -1,111 +1,112 @@ -@extends('layouts.app') + + + Karudhaas -@section('meta') -Karudhaas - - - - - - - - - - - - - - -@endsection - -@section('content') -
-

What is Karudhaas App?

- -
-

- Karudhaas is a Web and a mobile app that helps you Discover Stories, Daily news, and inspirations. All with one app. - The app filters out articles from various news sites and aggregates them according to the respective article topics - and its source. We are planning to bring some major feature upgrades later on. -

-
-

Press the icon below to download the android app

- -
-
- -

Late to go somewhere? We got you covered!

-

- Karudhaas Also lets you save articles for later reading. -

-
- -

Got a favorite news site you check every morning? -

-

- Karudhaas Also lets you filter out articles by your desired news source. -

-
-

Contents

-

- All the contents, logos, and images listed on the site are own by the respectful news site. - We respect the news outlets and their way of earning so we will only be showing a summary partial content of the - article. users still have to visit the original link to view the full article. -

-
-

Collection

- -
-
- -
-
- -

Articles

-

{{$total_articles}}

-
-
- -
-
- -

Topics

-

{{$total_topics}}

-
- -
- -
-
- -

Sources

-

{{$sources->count()}}

-
- -
+ + + + + + + + + + + + + +
+

What is Karudhaas App?

+
+

+ Karudhaas is a Web and a mobile app that helps you Discover Stories, Daily news, and inspirations. All with one + app. + The app filters out articles from various news sites and aggregates them according to the respective article + topics + and its source. We are planning to bring some major feature upgrades later on. +

+
+

Press the icon below to download the android app

+
-
-
-
- @foreach ($sources as $source) - - {{$source->slug}} - - @endforeach +
+

Late to go somewhere? We got you covered!

+

+ Karudhaas Also lets you save articles for later reading. +

+
+ +

Got a favorite news site you check every morning? +

+

+ Karudhaas Also lets you filter out articles by your desired news source. +

+
+

Contents

+

+ All the contents, logos, and images listed on the site are own by the respectful news site. + We respect the news outlets and their way of earning so we will only be showing a summary partial content of the + article. users still have to visit the original link to view the full article. +

+
+

Collection

+ +
+
+ +
+
+ +

Articles

+

{{$total_articles}}

+
+
+ +
+
+ +

Topics

+

{{$total_topics}}

+
+ +
+ +
+
+ +

Sources

+

{{$sources->count()}}

+
+ +
+ + +
+
+ @foreach ($sources as $source) + + {{$source->slug}} + + @endforeach -
- @endsection +
+
- @section('js') - - @endsection \ No newline at end of file +
+ + + @section('js') + + @endsection + + \ No newline at end of file diff --git a/resources/views/partials/footer.blade.php b/resources/views/partials/footer.blade.php deleted file mode 100644 index 4692077..0000000 --- a/resources/views/partials/footer.blade.php +++ /dev/null @@ -1,27 +0,0 @@ - diff --git a/resources/views/sources/show.blade.php b/resources/views/sources/show.blade.php index 5b38854..2984461 100644 --- a/resources/views/sources/show.blade.php +++ b/resources/views/sources/show.blade.php @@ -1,26 +1,24 @@ -@extends('layouts.app') + + + Karudhaas | {{$source->slug}} -@section('meta') -Karudhaas | {{$source->slug}} + + + + + + + + + + + + + - - - - - - - - - - - - -@endsection + -@section('content') - -@endsection - -@section('js') - -@endsection \ No newline at end of file + @section('js') + + @endsection + \ No newline at end of file diff --git a/resources/views/topics/show.blade.php b/resources/views/topics/show.blade.php index a677488..a40b0ac 100644 --- a/resources/views/topics/show.blade.php +++ b/resources/views/topics/show.blade.php @@ -1,71 +1,72 @@ -@extends('layouts.app') + -@section('meta') -Karudhaas | {{$topic->slug}} + + Karudhaas | {{$topic->slug}} - - - - - - - - - - - - -@endsection + + + + + + + + + + + + + -@section('content') -
-
-
-
-
-
-
-
- {{$topic->name}}
-
- {{$topic->name}} އާއިބެހޭ މަޢުލޫމާތުތަށް އެއްތަންކުރެވިފައި
+ +
+
+
+
+
+
+
+
+ {{$topic->name}}
+
+ {{$topic->name}} އާއިބެހޭ މަޢުލޫމާތުތަށް އެއްތަންކުރެވިފައި
+
-
-
+
- @foreach ($articles as $article) -
+ @foreach ($articles as $article) +
-
-
+
+
- - {{$article->meta['title']}} - + + {{$article->meta['title']}} + -
- {{$article->source->name}}
+
+ {{$article->source->name}}
- -
- {{$article->title}}
-
+ +
+ {{$article->title}}
+
+
+ +
- + @endforeach
- - @endforeach
-
-
-
-@endsection \ No newline at end of file +
+
+ +
\ No newline at end of file