Skip to content

Commit eb91109

Browse files
committed
added permisions and fixed css buttons home to look good on mobile devices
1 parent 1c70ecc commit eb91109

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

config/permissions.php

+13
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@
8585
'action' => ['index', 'view'],
8686
'bypassAuth' => true,
8787
],
88+
[
89+
'role' => '*',
90+
'prefix' => false,
91+
'controller' => 'Projects',
92+
'action' => ['index', 'view'],
93+
'bypassAuth' => true,
94+
],
95+
[
96+
'role' => '*',
97+
'controller' => 'Writers',
98+
'action' => ['index'],
99+
'bypassAuth' => true,
100+
],
88101
[
89102
'role' => 'user',
90103
'controller' => 'Dashboards',

templates/element/home/business.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<div class="container">
99
<div class="mb50 mt50 description">
1010
<div>
11-
<h2>Business Solutions</h2>
12-
<p>CakeDC, the commercial entity behind the CakePHP framework, was established by Larry Masters, the
11+
<h2><?= __('Business Solutions') ?></h2>
12+
<p><?= __('CakeDC, the commercial entity behind the CakePHP framework, was established by Larry Masters, the
1313
founder of CakePHP. CakeDC offers CakePHP development, consultancy, CakePHP training and code review Services.
1414
From startups and social networks, to e-commerce and enterprise level applications, CakeDC provides
15-
the highest quality CakePHP development available.
15+
the highest quality CakePHP development available.') ?>
1616
</p>
1717
<div>
18-
<a href="https://www.cakedc.com" class="btn btn-home">Chat to the top CakePHP developers</a>
18+
<a href="https://www.cakedc.com" class="btn btn-home"><?= __('Learn more') ?></a>
1919
</div>
2020
</div>
2121
</div>

webroot/css/style.css

+3
Original file line numberDiff line numberDiff line change
@@ -10658,6 +10658,9 @@ code {
1065810658
background: #D33C44;
1065910659
color: #fff;
1066010660
border-radius: 20px 0;
10661+
padding: 10px 15px;
10662+
margin-bottom: 10px;
10663+
margin-right: 10px;
1066110664
border-color: #D33C44;
1066210665
}
1066310666

0 commit comments

Comments
 (0)