Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

Commit 23e3de8

Browse files
committed
Update website page content with translation
1 parent cae78c6 commit 23e3de8

File tree

10 files changed

+51
-42
lines changed

10 files changed

+51
-42
lines changed

resources/assets/sass/_base.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ h2:before {
6666
margin-left: 10px;
6767
vertical-align: middle;
6868
}
69+
70+
&.pagination__left {
71+
i {
72+
margin-right: 10px;
73+
margin-left: 0;
74+
}
75+
}
6976
}
7077

7178
ul {

resources/assets/sass/_content.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@
4343
background-color: $primary;
4444
color: $white;
4545

46+
&.big_header {
47+
padding: 30px 0;
48+
49+
.header__link {
50+
margin-top: 30px;
51+
}
52+
}
53+
4654
.header__text {
4755
order: 1;
4856
float: left;
@@ -60,7 +68,7 @@
6068

6169
@include media-breakpoint-up(lg) {
6270
.header__text {
63-
width: 80%;
71+
width: 60%;
6472
}
6573
}
6674
}

resources/assets/sass/pages/_tutorial.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
.page-header.tutorial_header {
2-
padding: 30px 0;
3-
4-
.header__link {
5-
margin-top: 30px;
6-
}
7-
}
8-
91
.popular-tutorials {
102
margin-top: 75px;
113
margin-bottom: 45px;

resources/views/frontend/blog/home.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
@endfor
5656
</div>
5757
<div class="paginations">
58-
<a href="javascript:;" class="btn btn-primary disabled pagination__left">{{ __('Newer Posts') }}</a>
59-
<a href="javascript:;" class="btn btn-primary pagination__right">{{ __('Older Posts') }}</a>
58+
<a href="javascript:;" class="btn btn-primary disabled pagination__left"><i class="icon ion-ios-arrow-back"></i> {{ __('Newer Posts') }}</a>
59+
<a href="javascript:;" class="btn btn-primary pagination__right">{{ __('Older Posts') }} <i class="icon ion-ios-arrow-forward"></i></a>
6060
</div>
6161
</div>
6262
<div class="col-sm-12 col-md-4">

resources/views/frontend/blog/post.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<i class="fa fa-eye"></i> 1250 {{ __('views') }}
2222
</li>
2323
<li class="category">
24-
Category : <a href="javascript:;">Laravel Tools</a>
24+
{{ __('Category') }} : <a href="javascript:;">Laravel Tools</a>
2525
</li>
2626
</ul>
2727
</header>

resources/views/frontend/home.blade.php

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
@extends('layouts.app')
2-
@section('title', 'Homepage')
2+
@section('title', __('The best Laravel PHP developers in Cameroon'))
3+
4+
@section('meta')
5+
<meta name="description" content="John's Corporation is a branding company that supports businesses,
6+
developers, artisans and individuals in the management of their brand image.
7+
We create brands, their identities and their physical and digital expressions.">
8+
<!-- Facebook Meta -->
9+
<meta property="og:url" content="{{ route('home') }}">
10+
<meta property="og:title" content="John's Corporation Official">
11+
<meta property="og:image" content="{{ asset('img/website.jpg') }}">
12+
<meta property="og:description" content="John's Corporation is a branding company that supports businesses,
13+
developers, artisans and individuals in the management of their brand image. We create brands, their
14+
identities and their physical and digital expressions.">
15+
<!-- Twitter Meta -->
16+
<meta name="twitter:url" content="{{ route('home') }}">
17+
<meta name="twitter:title" content="John's Corporation Official">
18+
<meta name="twitter:description" content="John's Corporation is a branding company that supports businesses,
19+
developers, artisans and individuals in the management of their brand image. We create brands,
20+
their identities and their physical and digital expressions.">
21+
<meta name="twitter:image" content="{{ asset('img/website.jpg') }}">
22+
@endsection
323

424
@section('content')
525

@@ -48,23 +68,7 @@
4868
<p class="last-post__summary">
4969
Lorem ipsum dolor sit amet, consec tetur adipiscing elit...
5070
</p>
51-
<a href="javascript:;" class="last-post__author"><span>By</span> Fabrice Yopa</a>
52-
</article>
53-
<article class="last_post">
54-
<time class="last-post__date">June 12, 2018</time>
55-
<h6 class="last-post__title"><a href="javascript:;">PHP 7.3: A Look at JSON Error Handling</a></h6>
56-
<p class="last-post__summary">
57-
Lorem ipsum dolor sit amet, consec tetur adipiscing elit...
58-
</p>
59-
<a href="javascript:;" class="last-post__author"><span>By</span> Fabrice Yopa</a>
60-
</article>
61-
<article class="last_post">
62-
<time class="last-post__date">June 12, 2018</time>
63-
<h6 class="last-post__title"><a href="javascript:;">PHP 7.3: A Look at JSON Error Handling</a></h6>
64-
<p class="last-post__summary">
65-
Lorem ipsum dolor sit amet, consec tetur adipiscing elit...
66-
</p>
67-
<a href="javascript:;" class="last-post__author"><span>By</span> Fabrice Yopa</a>
71+
<a href="javascript:;" class="last-post__author"><span>{{ __('by') }}</span> Fabrice Yopa</a>
6872
</article>
6973
<article class="last_post">
7074
<time class="last-post__date">June 12, 2018</time>

resources/views/frontend/packages/index.blade.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33

44
@section('content')
55

6-
<header class="page-header tutorial_header">
6+
<header class="page-header big_header">
77
<div class="container">
88
<div class="header__text">
99
<h1 class="page__title">{{ __('Packages') }}</h1>
1010
<p>
11-
{{ __('Do you want to code a module without going from zero?
12-
This section offers packages made for Laravel framework') }}
11+
{{ __('Do you want to code a module without going from zero? This section offers packages made for Laravel framework') }}
1312
</p>
1413
</div>
1514
<div class="header__link">
@@ -86,8 +85,8 @@
8685
@endfor
8786
</div>
8887
<div class="paginations">
89-
<a href="javascript:;" class="btn btn-primary disabled pagination__left">{{ __('Newer Posts') }}</a>
90-
<a href="javascript:;" class="btn btn-primary pagination__right">{{ __('Older Posts') }}</a>
88+
<a href="javascript:;" class="btn btn-primary disabled pagination__left"><i class="icon ion-ios-arrow-back"></i> {{ __('Newer Posts') }}</a>
89+
<a href="javascript:;" class="btn btn-primary pagination__right">{{ __('Older Posts') }} <i class="icon ion-ios-arrow-forward"></i></a>
9190
</div>
9291
</div>
9392
<div class="col-sm-12 col-md-4">

resources/views/frontend/packages/post.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<i class="fa fa-eye"></i> 1250 {{ __('views') }}
2222
</li>
2323
<li class="category">
24-
Category : <a href="javascript:;">Laravel Tools</a>
24+
{{ __('Category') }} : <a href="javascript:;">Laravel Tools</a>
2525
</li>
2626
</ul>
2727
</header>

resources/views/frontend/tutorials/index.blade.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33

44
@section('content')
55

6-
<header class="page-header tutorial_header">
6+
<header class="page-header big_header">
77
<div class="container">
88
<div class="header__text">
99
<h1 class="page__title">{{ __('Tutorials') }}</h1>
1010
<p>
11-
{{ __('Interested in learning more about Laravel? This section features tutorials on everything
12-
from getting started with Laravel, to expert topics, and everything in between.') }}
11+
{{ __('Interested in learning more about Laravel? This section features tutorials on everything from getting started with Laravel, to expert topics, and everything in between.') }}
1312
</p>
1413
</div>
1514
<div class="header__link">
@@ -103,8 +102,8 @@
103102
@endfor
104103
</div>
105104
<div class="paginations">
106-
<a href="javascript:;" class="btn btn-primary disabled pagination__left">{{ __('Newer Tutorials') }}</a>
107-
<a href="javascript:;" class="btn btn-primary pagination__right">{{ __('Older Tutorials') }}</a>
105+
<a href="javascript:;" class="btn btn-primary disabled pagination__left"><i class="icon ion-ios-arrow-back"></i> {{ __('Newer Tutorials') }}</a>
106+
<a href="javascript:;" class="btn btn-primary pagination__right">{{ __('Older Tutorials') }} <i class="icon ion-ios-arrow-forward"></i></a>
108107
</div>
109108
</div>
110109
</section>

resources/views/frontend/tutorials/post.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<i class="fa fa-eye"></i> 1250 {{ __('views') }}
2222
</li>
2323
<li class="category">
24-
Category : <a href="javascript:;">Laravel Tools</a>
24+
{{ __('Category') }} : <a href="javascript:;">Laravel Tools</a>
2525
</li>
2626
</ul>
2727
</header>

0 commit comments

Comments
 (0)