Skip to content

Commit d794312

Browse files
update Get Involved page
1 parent 70df791 commit d794312

File tree

11 files changed

+33
-18
lines changed

11 files changed

+33
-18
lines changed

src/Locale/default.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ msgid "#cakephp IRC channel, or Slack group"
12011201
msgstr ""
12021202

12031203
#: Template/Element/get-involved/get-involved.ctp:21
1204-
msgid "Answer questions on platforms such as {0}."
1204+
msgid "Answer questions on platforms such as {0} and the {1}."
12051205
msgstr ""
12061206

12071207
#: Template/Element/get-involved/get-involved.ctp:23

src/Locale/fr_FR/default.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ msgid "#cakephp IRC channel, or Slack group"
833833
msgstr ""
834834

835835
#: Template/Element/get-involved/get-involved.ctp:23
836-
msgid "Answer questions on platforms such as {0}."
836+
msgid "Answer questions on platforms such as {0} and the {1}."
837837
msgstr ""
838838

839839
#: Template/Element/get-involved/get-involved.ctp:25

src/Locale/ja_JP/default.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ msgid "#cakephp IRC channel, or Slack group"
833833
msgstr "#cakephpのIRCチャンネルかSlack"
834834

835835
#: Template/Element/get-involved/get-involved.ctp:23
836-
msgid "Answer questions on platforms such as {0}."
836+
msgid "Answer questions on platforms such as {0} and the {1}."
837837
msgstr "{0}のようなプラットフォームで質問に答える。"
838838

839839
#: Template/Element/get-involved/get-involved.ctp:25

src/Locale/pt_BR/default.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ msgid "#cakephp IRC channel, or Slack group"
15531553
msgstr "canal #CakePHP no IRC, ou no Slack"
15541554

15551555
#: Template/Element/get-involved/get-involved.ctp:21
1556-
msgid "Answer questions on platforms such as {0}."
1556+
msgid "Answer questions on platforms such as {0} and the {1}."
15571557
msgstr "Responda perguntas em plataformas como o {0}."
15581558

15591559
#: Template/Element/get-involved/get-involved.ctp:23

src/Template/Element/get-involved/cakefest.ctp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div id="cakefest" class="col-sm-12 get-conference pt-100">
2-
<h2><?= __('The Annual CakePHP Conference')?></h2>
2+
<h2><?= __('The Annual CakePHP Conference')?><?= $this->Html->link('', '#cakefest', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h2>
33
<?= $this->Html->image('cakefest/slide.jpg', ['class' => 'img-responsive', 'alt' => __('Cakefest')]) ?>
44
<p><?= __('Every year we hold a conference dedicated to CakePHP, hosting live workshops and inviting a variety of great
55
speakers, to give you the very best in presentations and talks on the latest from the community:')?></p>

src/Template/Element/get-involved/community-guidelines.ctp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use Cake\Core\Configure;
33
?>
44
<div id="comunityguidelinesside" class="col-sm-12 get-developer pt-100">
5-
<h2><?= __('Community Guidelines') ?></h2>
5+
<h2><?= __('Community Guidelines') ?><?= $this->Html->link('', '#comunityguidelinesside', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h2>
66
<p><?= __('The following is a list of recommendations to help keep the CakePHP community strong, active and healthy, as well as a place where everyone feels welcome. These are by no means rules or laws, but instead suggestions and best practices.') ?></p>
77
<ol>
88
<li><?= __('Remember that when you talk about CakePHP you\'re representing a global community of people, most of whom are passionate about their involvement, and dedicate their free time and good will to helping the framework. Be friendly and helpful, and always show the respect for others in the same way you\'d expect from them.') ?></li>

src/Template/Element/get-involved/find-job-developer.ctp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use Cake\Core\Configure;
33
?>
44

55
<div id="findjobdeveloper" class="col-sm-12 get-developer pt-100">
6-
<h2><?= __('Find Job or Developer')?></h2>
6+
<h2><?= __('Find Job or Developer')?><?= $this->Html->link('', '#findjobdeveloper', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h2>
77
<p><?= __('If you\'re looking for skilled CakePHP developers, or are a developer yourself and seeking a freelance project or
88
position at a company, there are many resources available:')?></p>
99

src/Template/Element/get-involved/get-help.ctp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Cake\Core\Configure;
44

55
<div id="getHelp" class="col-sm-12 get-social pt-100">
66
<a name="get-help"></a>
7-
<h2><?= __('Get Help')?></h2>
7+
<h2><?= __('Get Help')?><?= $this->Html->link('', '#getHelp', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h2>
88

99
<p><?= __('Looking for help but don\'t know where to find it? Here are all the locations you can find community driven
1010
support and sources of information:')?></p>

src/Template/Element/get-involved/get-involved.ctp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ $this->assign('meta', $this->Html->meta('description', $description));
77
$this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'description' => $description]));
88
?>
99
<div id="getInvolved" class="col-sm-12 pt-35">
10-
<h2><?= __('Get Involved!')?></h2>
10+
<h2><?= __('Get Involved!')?><?= $this->Html->link('', '#getInvolved', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h2>
1111

1212
<p><?= __('If you\'re interested in contributing to CakePHP and supporting the community then we\'d love for you to join us, there are a variety of ways to get involved and help out.')?></p>
1313

1414
<div id="userSupport" class="box-get">
1515
<i class="fa fa-users icon-get"></i>
16-
<h3><?= __('User Support')?></h3>
16+
<h3><?= __('User Support')?><?= $this->Html->link('', '#userSupport', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h3>
1717
<div class="br-bottom mb20"></div>
1818
<p><?= __('One of the greatest ways to contribute to CakePHP is by directly supporting the developer community. There\'s no need to be a genius or guru to get involved, you may just have the answer to some of the questions being asked. Here are some ways you can get started:')?></p>
1919
<ul>
2020
<li><?= __('Join the {0} and talk to developers who need help. *', $this->Html->link(__('#cakephp IRC channel, or Slack group'), '#get-help'))?></li>
21-
<li><?= __('Answer questions on platforms such as {0}.', $this->Html->link('StackOverflow', Configure::read('Site.menu.items.help.stackOverflow.url'), ['target' => '_blank']))?>
21+
<li><?= __('Answer questions on platforms such as {0} and the {1}.', $this->Html->link(__('StackOverflow'), Configure::read('Site.menu.items.help.stackOverflow.url'), ['target' => '_blank']), $this->Html->link(__('official CakePHP Forum'), Configure::read('Site.menu.items.help.discourse.url'), ['target' => '_blank']))?>
2222
</li>
2323
<li><?= __('Comment on posts asking for help with a specific problem.')?></li>
2424
</ul>
@@ -30,7 +30,7 @@ $this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'descrip
3030
<div id="education" class="box-get mb0">
3131
<i class="fa fa-graduation-cap icon-get"></i>
3232

33-
<h3><?= __('Education and Training')?></h3>
33+
<h3><?= __('Education and Training')?><?= $this->Html->link('', '#education', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h3>
3434

3535
<div class="br-bottom mb20"></div>
3636
<p><?= __('Helping others to learn CakePHP is another valuable way to contribute to the community. There are many ways
@@ -51,7 +51,7 @@ $this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'descrip
5151
<div id="marketing" class="box-get">
5252
<i class="fa fa-comment icon-get"></i>
5353

54-
<h3><?= __('Marketing and Evangelism')?></h3>
54+
<h3><?= __('Marketing and Evangelism')?><?= $this->Html->link('', '#marketing', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h3>
5555

5656
<div class="br-bottom mb20"></div>
5757
<p><?= __('As an open source project, backed by the {0} we don\'t have a massive budget to market and advertise the framework, so we depend
@@ -86,7 +86,7 @@ $this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'descrip
8686
<div id="contributing" class="box-get">
8787
<i class="fa fa-comments-o icon-get"></i>
8888

89-
<h3><?= __('Contributing Code')?></h3>
89+
<h3><?= __('Contributing Code')?><?= $this->Html->link('', '#contributing', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h3>
9090

9191
<div class="br-bottom mb20"></div>
9292
<p><?= __('If you want to contribute code for a bug fix then coordinate your approach in the comments of the issue, either
@@ -101,7 +101,7 @@ $this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'descrip
101101
<div id="testing" class="box-get">
102102
<i class="fa fa-thumbs-o-up icon-get"></i>
103103

104-
<h3><?= __('Testing and Quality Assurance')?></h3>
104+
<h3><?= __('Testing and Quality Assurance')?><?= $this->Html->link('', '#testing', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h3>
105105

106106
<div class="br-bottom mb20"></div>
107107
<p><?= __('Filing issues is a great way to start contributing to CakePHP. By finding and reporting issues in the code
@@ -163,7 +163,7 @@ $this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'descrip
163163
<div id="documentation" class="box-get">
164164
<i class="fa fa-book icon-get"></i>
165165

166-
<h3><?= __('Documentation')?></h3>
166+
<h3><?= __('Documentation')?><?= $this->Html->link('', '#documentation', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h3>
167167

168168
<div class="br-bottom mb20"></div>
169169
<p><?= __('Documentation is another excellent way to start getting involved with CakePHP. We have two primary forms of
@@ -182,7 +182,7 @@ $this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'descrip
182182

183183
<div id="translation" class="box-get">
184184
<i class="fa fa-comments-o icon-get"></i>
185-
<h3><?= __('Translations')?></h3>
185+
<h3><?= __('Translations')?><?= $this->Html->link('', '#translation', ['class' => 'headerlink', 'title' => __('Permalink to this headline')]) ?></h3>
186186
<div class="br-bottom mb20"></div>
187187
<p><?= __('We have developers from countries all over the world who use CakePHP. If you\'re a non-english speaker,
188188
translating the the {0} content

src/Template/Locale/default.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ msgid "Join the #cakephp IRC channel, or Slack group and talk to developers who
10491049
msgstr ""
10501050

10511051
#: Template/Element/get-involved/get-involved.ctp:21
1052-
msgid "Answer questions on platforms such as {0}."
1052+
msgid "Answer questions on platforms such as {0} and the {1}."
10531053
msgstr ""
10541054

10551055
#: Template/Element/get-involved/get-involved.ctp:23

webroot/css/style.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8209,6 +8209,21 @@ table.fc-border-separate {
82098209
margin: 10px 0 30px;
82108210
}
82118211

8212+
.headerlink {
8213+
display: none;
8214+
}
8215+
8216+
h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink {
8217+
display: inline;
8218+
margin: 0 0 0 5px;
8219+
font-size: 80%;
8220+
padding: 0;
8221+
line-height: 95%;
8222+
vertical-align: center;
8223+
}
8224+
h2:hover .headerlink {
8225+
line-height: inherit;
8226+
}
82128227

82138228
.br-bottom-sidebar:after {
82148229
content: "";

0 commit comments

Comments
 (0)