Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/img/sponsors/always-curious-stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/sponsors/always-curious.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions public/img/sponsors/always-curious.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions resources/views/components/home/featured-partner-card.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,24 @@

@php
$computedTitle = $title ?? "Learn more about {$partnerName}";

// Determine if link is external by comparing hosts
$isExternal = false;
if (str_starts_with($href, 'http://') || str_starts_with($href, 'https://')) {
$hrefHost = parse_url($href, PHP_URL_HOST);
$currentHost = request()->getHost();
$isExternal = $hrefHost !== $currentHost;
}
@endphp

<a
href="{{ $href }}"
title="{{ $computedTitle }}"
aria-label="Visit {{ $partnerName }} website"
target="_blank"
rel="noopener noreferrer sponsored"
@if($isExternal)
target="_blank"
rel="noopener noreferrer sponsored"
@endif
class="dark:hover:ring-cloud/70 flex flex-col gap-x-6 gap-y-2 rounded-2xl bg-white/50 p-7 text-pretty transition duration-200 will-change-transform hover:-translate-y-0.5 hover:bg-white/70 hover:shadow-lg hover:ring-1 hover:shadow-gray-200/70 hover:ring-black/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/60 lg:flex-row lg:items-center lg:py-5 dark:bg-slate-950/30 dark:hover:bg-slate-950/80 dark:hover:shadow-transparent"
>
<div class="grid h-15 w-35 place-items-center">{{ $logo }}</div>
Expand Down
22 changes: 22 additions & 0 deletions resources/views/components/home/partners.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,27 @@ class="dark:fill-white"
</x-slot>
</x-home.featured-partner-card>

<x-home.featured-partner-card
partnerName="Always Curious"
tagline="Strategy-Led Laravel Apps, Built to Last"
href="{{ route('partners.always-curious') }}"
>
<x-slot:logo>
<img
src="/img/sponsors/always-curious.svg"
class="h-10 w-auto"
loading="lazy"
alt="Always Curious logo"
/>
</x-slot>

<x-slot:description>
A strategy-led Laravel consultancy building native desktop and mobile apps with NativePHP. From fintech to field service and live events, they ship the simplest path to the right answer.
</x-slot>
</x-home.featured-partner-card>

{{-- Synergi Tech - Hidden per client request (kept for reference) --}}
@if(false)
<x-home.featured-partner-card
partnerName="Synergi Tech"
tagline="Bespoke software for complex infrastructure"
Expand Down Expand Up @@ -107,6 +128,7 @@ class="hidden dark:block"
Synergi Tech are an established bespoke software development agency in the UK, specialising in business management and high-growth, complex infrastructure. Proud to partner with NativePHP.
</x-slot>
</x-home.featured-partner-card>
@endif

{{-- Partner CTA --}}
<div
Expand Down
26 changes: 14 additions & 12 deletions resources/views/components/home/sponsors.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
@php
$sponsors = [
[
'url' => 'https://artisan.build/?utm_source=nativephp&utm_medium=logo&utm_campaign=nativephp',
'name' => 'Artisan Build',
'image' => '/img/sponsors/artisan-build.webp',
'imageDark' => '/img/sponsors/artisan-build-dark.webp',
],
// Artisan Build - Hidden per client request (kept for reference)
// [
// 'url' => 'https://artisan.build/?utm_source=nativephp&utm_medium=logo&utm_campaign=nativephp',
// 'name' => 'Artisan Build',
// 'image' => '/img/sponsors/artisan-build.webp',
// 'imageDark' => '/img/sponsors/artisan-build-dark.webp',
// ],
[
'url' => 'https://beyondco.de/?utm_source=nativephp&utm_medium=logo&utm_campaign=nativephp',
'name' => 'BeyondCode',
Expand All @@ -18,12 +19,13 @@
'component' => 'sponsors.logos.laradevs',
'class' => 'h-6 w-auto text-black dark:text-white',
],
[
'url' => 'https://statamic.com/?utm_source=nativephp&utm_medium=logo&utm_campaign=nativephp',
'name' => 'Statamic',
'image' => '/img/sponsors/statamic.svg',
'imageDark' => '/img/sponsors/statamic-dark.svg',
],
// Statamic - Hidden per client request (kept for reference)
// [
// 'url' => 'https://statamic.com/?utm_source=nativephp&utm_medium=logo&utm_campaign=nativephp',
// 'name' => 'Statamic',
// 'image' => '/img/sponsors/statamic.svg',
// 'imageDark' => '/img/sponsors/statamic-dark.svg',
// ],
];
@endphp

Expand Down
Loading
Loading