Skip to content

Commit

Permalink
Updated GitHub repository name
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Mar 13, 2024
1 parent 361f562 commit 16107c6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateAchievementsForTranslations.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function loadContributors(int $page = 1, ?Collection $previous = null): C

// Send GET request to GitHub API to fetch contributors
$response = Http::withBasicAuth('token', config('services.github.token'))
->get('https://api.github.com/repos/laravel-russia/docs/contributors', [
->get('https://api.github.com/repos/'.config('services.github.repos.docs').'/contributors', [
'page' => $page,
]);

Expand Down
2 changes: 1 addition & 1 deletion resources/views/docs/contribution.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
href="https://github.com/laravel/docs">https://github.com/laravel/docs</a>.
</p>
<p>Перевод документации на русский находится на гитхабе по адресу <a
href="https://github.com/laravel-russia/docs">https://github.com/laravel-russia/docs</a> . Апдейт
href="https://github.com/laravelsu/docs">https://github.com/laravelsu/docs</a> . Апдейт
перевода осуществляется пулл-реквестами в этот репозиторий.</p>
<p>Редактирование репозитория с переводом может происходить в двух вариантах - внесение
незначительных изменений и обновление перевода файла до актуального.</p>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/docs/status.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<x-slot:actions>
<a href="{{ route('documentation-contribution-guide') }}" class="btn btn-primary btn-lg px-4">Инструкция по
переводу</a>
<a href="https://github.com/laravel-russia/docs"
<a href="https://github.com/{{ config('services.github.repos.docs') }}"
class="d-none d-md-inline-flex link-body-emphasis text-decoration-none icon-link icon-link-hover">
Репозиторий
<x-icon path="i.arrow-right" class="bi"/>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layout.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class="avatar avatar-sm position-relative">
</a>
</li>
<li class="ms-3">
<a class="link-body-emphasis" href="{{ asset('https://github.com/laravel-russia') }}"
<a class="link-body-emphasis" href="{{ asset(config('services.github.org_url')) }}"
target="_blank">
<x-icon path="bs.github" width="24" height="24"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/contributors.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

</x-header>

<x-call-to-action link="https://github.com/laravel-russia" text="Внесите свой вклад на GitHub">
<x-call-to-action link="{{ config('services.github.org_url') }}" text="Внесите свой вклад на GitHub">
<x-slot:title>Но вы можете сделать сообщество ещё лучше!</x-slot>

<x-slot:description>
Expand Down

0 comments on commit 16107c6

Please sign in to comment.