Skip to content

Commit 21fbe01

Browse files
committed
REFACTOR - Twitter to X (Twitter) and twitter.com to x.com
1 parent 7f7d24d commit 21fbe01

File tree

10 files changed

+15
-16
lines changed

10 files changed

+15
-16
lines changed

resources/views/articles/overview.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<h2 class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl">
1616
<span class="block">Got some knowledge to share?</span>
1717
<span class="block">
18-
Share your article with <a href="https://twitter.com/laravelio" class="text-lio-500 hover:text-lio-600 hover:underline">our 50,000+ Twitter followers</a>.
18+
Share your article with <a href="https://x.com/laravelio" class="text-lio-500 hover:text-lio-600 hover:underline">our 50,000+ X (Twitter) followers</a>.
1919
</span>
2020
</h2>
2121
<div class="mt-8 flex lg:mt-0 lg:shrink-0">

resources/views/articles/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class="prose prose-lg text-gray-800 prose-lio"
158158
@endif
159159

160160
@if ($article->author()->hasTwitterAccount())
161-
<a href="https://twitter.com/{{ $article->author()->twitter() }}" class="text-twitter">
161+
<a href="https://x.com/{{ $article->author()->twitter() }}" class="text-twitter">
162162
<x-si-x class="w-6 h-6" />
163163
</a>
164164
@endif

resources/views/components/articles/engage.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<span class="uppercase text-gray-500">Share</span>
77

88
<a class="text-gray-300 hover:text-twitter" target="_blank" rel="noopener" aria-label="Share on Twitter"
9-
href="http://twitter.com/share?text={{ urlencode('"'.$article->title().'" by '. ($article->author()->twitter() ? '@'.$article->author()->twitter() : $article->author()->name()) . ' - ') }}&url={{ urlencode(route('articles.show', $article->slug())) }}">
9+
href="http://x.com/share?text={{ urlencode('"'.$article->title().'" by '. ($article->author()->twitter() ? '@'.$article->author()->twitter() : $article->author()->name()) . ' - ') }}&url={{ urlencode(route('articles.show', $article->slug())) }}">
1010
<x-si-x class="w-6 h-6" />
1111
</a>
1212

resources/views/components/articles/form.blade.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</x-info>
2626

2727
<x-info class="mt-4">
28-
Every article that gets approved will be shared with our 50.000 users and wil be tweeted out on our <a href="https://twitter.com/laravelio" class="text-lio-700 underline">Twitter account</a> which has over 50,000 followers. Feel free to submit as many articles as you like. You can even cross-reference an article on your blog with the original url.
28+
Every article that gets approved will be shared with our 50.000 users and wil be tweeted out on our <a href="https://x.com/laravelio" class="text-lio-700 underline">X (Twitter) account</a> which has over 50,000 followers. Feel free to submit as many articles as you like. You can even cross-reference an article on your blog with the original url.
2929
</x-info>
3030

3131
<x-info class="mt-4">
@@ -148,9 +148,8 @@ class="block px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:t
148148

149149
@unless (Auth::user()->twitter())
150150
<span class="text-gray-600 text-sm mt-4 block">
151-
Articles will be shared on Twitter.
152-
<a href="{{ route('settings.profile') }}" class="text-green-darker">Add your Twitter handle</a>
153-
and we'll include that too.
151+
Articles will be shared on X (Twitter).
152+
<a href="{{ route('settings.profile') }}" class="text-green-darker">Add your X (Twitter) handle</a> and we'll include that too.
154153
</span>
155154
@endunless
156155
</div>

resources/views/components/users/profile-block.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@endif
2424

2525
@if ($user->hasTwitterAccount())
26-
<a href="https://twitter.com/{{ $user->twitter() }}" class="text-twitter">
26+
<a href="https://x.com/{{ $user->twitter() }}" class="text-twitter">
2727
<x-si-x class="w-6 h-6" />
2828
</a>
2929
@endif

resources/views/layouts/_footer.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
</p>
4242

4343
<div class="flex flex-wrap lg:flex-col lg:flex-no-wrap">
44-
<a href="https://twitter.com/laravelio" class="w-1/2 text-gray-400 mb-4 hover:text-gray-200 lg:mb-6 whitespace-nowrap">
44+
<a href="https://x.com/laravelio" class="w-1/2 text-gray-400 mb-4 hover:text-gray-200 lg:mb-6 whitespace-nowrap">
4545
<x-si-x class="text-white w-4 h-4 inline mr-2"/>
46-
Twitter
46+
X (Twitter)
4747
</a>
4848

4949
<a href="https://github.com/laravelio" class="w-1/2 text-gray-400 mb-4 hover:text-gray-200 lg:mb-6 whitespace-nowrap">

resources/views/layouts/_nav.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<x-icon-github class="w-6 h-6 inline"/>
1414
</a>
1515

16-
<a href="https://twitter.com/laravelio" class="inline-block">
16+
<a href="https://x.com/laravelio" class="inline-block">
1717
<x-si-x class="w-6 h-6 inline text-twitter"/>
1818
</a>
1919

@@ -145,7 +145,7 @@
145145
<x-icon-github class="w-5 h-5 inline"/>
146146
</a>
147147

148-
<a href="https://twitter.com/laravelio" class="hidden lg:inline-block">
148+
<a href="https://x.com/laravelio" class="hidden lg:inline-block">
149149
<x-si-x class="w-5 h-5 inline text-twitter"/>
150150
</a>
151151

resources/views/users/articles.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div class="container mx-auto px-4 py-8">
2323
@unless(Auth::user()->hasTwitterAccount())
2424
<x-primary-info-panel icon="heroicon-s-information-circle">
25-
Set your <a href="{{ route('settings.profile') }}" class="underline">Twitter handle</a> so we can link to your profile when we tweet out your article.
25+
Set your <a href="{{ route('settings.profile') }}" class="underline">X (Twitter) handle</a> so we can link to your profile when we tweet out your article.
2626
</x-primary-info-panel>
2727
@endunless
2828

resources/views/users/profile.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class="w-full bg-center bg-gray-800 h-60 container mx-auto"
4747
@endif
4848

4949
@if ($user->hasTwitterAccount())
50-
<a href="https://twitter.com/{{ $user->twitter() }}" class="text-twitter">
50+
<a href="https://x.com/{{ $user->twitter() }}" class="text-twitter">
5151
<x-si-x class="w-6 h-6" />
5252
</a>
5353
@endif

resources/views/users/settings/profile.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@
8585
</div>
8686

8787
<div class="col-span-12 sm:col-span-6">
88-
<x-forms.label for="twitter">Twitter handle</x-forms.label>
88+
<x-forms.label for="twitter">X (Twitter) handle</x-forms.label>
8989

9090
<x-forms.inputs.input name="twitter" :value="Auth::user()->twitter()" prefix-icon="heroicon-o-at-symbol" class="nav-search" />
9191

9292
<span class="mt-2 text-sm text-gray-500">
93-
Enter your Twitter handle without the leading @ symbol
93+
Enter your X (Twitter) handle without the leading @ symbol
9494
</span>
9595
</div>
9696
</div>

0 commit comments

Comments
 (0)