diff --git a/config/site_pages.php b/config/site_pages.php new file mode 100644 index 0000000..50ed2c6 --- /dev/null +++ b/config/site_pages.php @@ -0,0 +1,159 @@ + +
+
+
+
{{ $page['kicker'] }}
+

{{ $page['title'] }}

+

{{ $page['subtitle'] }}

+ +
+
+
+
ABSDEV / {{ strtoupper($slug) }}✳
+
Think.
Build.
Deliver.
+
@foreach($page['chips'] as $chip){{ $chip }}@endforeach
+
+
01—06
Focused disciplines
+
+
+
+
Strategy meets executionPurposeful technologyHuman-centred thinking
+
WHAT MATTERS

Capability with purpose.

A connected set of skills, chosen and applied to meet the needs of the project—not technology for its own sake.

+
@foreach($page['cards'] as $card)
/ {{ $card[0] }}↗

{{ $card[1] }}

{{ $card[2] }}

{{ $card[3] }}

@endforeach
+
THE ABSDEV DIFFERENCE

{{ $page['feature'] }}

{{ $page['feature_body'] }}

Start a conversation ↗
Our principles
@foreach(['Clear communication','Considered design','Dependable engineering','Continuous improvement'] as $i => $quality)
0{{ $i+1 }}{{ $quality }}↗
@endforeach
+
LET'S MAKE IT HAPPEN

A better idea deserves a better build.

Tell us about it ↗
+ +@include('partials.footer') +@endsection diff --git a/resources/views/partials/footer.blade.php b/resources/views/partials/footer.blade.php new file mode 100644 index 0000000..30c4c92 --- /dev/null +++ b/resources/views/partials/footer.blade.php @@ -0,0 +1 @@ + diff --git a/resources/views/partials/navigation.blade.php b/resources/views/partials/navigation.blade.php new file mode 100644 index 0000000..1fe7e32 --- /dev/null +++ b/resources/views/partials/navigation.blade.php @@ -0,0 +1,9 @@ +
+
+ A.{{ $settings['site_name'] ?? 'ABSDEV' }} + + + +
+ +
diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index d5ccc5a..be25339 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -3,15 +3,7 @@ @php $hero=$sections->get('hero'); $services=$sections->get('services'); $approach=$sections->get('approach'); $work=$sections->get('work'); $cta=$sections->get('cta'); @endphp -
-
- A.{{ $settings['site_name'] ?? 'ABSDEV' }} - - - -
- -
+@include('partials.navigation')
@if($hero)
@@ -26,22 +18,22 @@ $hero=$sections->get('hero'); $services=$sections->get('services'); $approach=$s @endif
Independent thinkingDigital craftsmanshipModern engineeringMeaningful outcomes
@if($services) -
{{ $services->eyebrow }}

{{ $services->title }}

{{ $services->body }}

+
{{ $services->eyebrow }}

{{ $services->title }}

{{ $services->body }}

@foreach([['01','✳','Web & Laravel development','High-performance platforms, modern websites and tailored business applications built for growth.'],['02','◈','macOS & iOS applications','Beautiful native Apple experiences combining dependable engineering with intuitive interfaces.'],['03','⌘','Systems & integrations','APIs, workflow automation and connected infrastructure that make every part work better.'],['04','↗','Digital consultancy','Practical technical strategy, architecture reviews and development support without unnecessary complexity.'],['05','◇','UI / UX design','Memorable interfaces, thoughtful interaction patterns and accessible products people enjoy using.'],['06','⚡','Infrastructure & DevOps','Reliable deployments, secure hosting and efficient operations with the right tools for the job.']] as $item) -
/ {{ $item[0] }}{{ $item[1] }}

{{ $item[2] }}

{{ $item[3] }}

Discuss a project ↗
+
/ {{ $item[0] }}{{ $item[1] }}

{{ $item[2] }}

{{ $item[3] }}

Learn more ↗
@endforeach
@endif @if($work)
{{ $work->eyebrow }}

{{ $work->title }}

{{ $work->body }}

CUSTOM PLATFORMS

Software that fits your business

Tailored systems, reporting and workflows that solve actual problems.

PRODUCT THINKING
Build better.
Move faster.
↗ Progress
DIGITAL PRODUCTS

From concept to confident launch

End-to-end creation with design, engineering and delivery in harmony.

@endif @if($approach) -
{{ $approach->eyebrow }}

{{ $approach->title }}

{{ $approach->body }}

@foreach([['01','Discover','Understand the problem, the people and the opportunity.'],['02','Design','Shape a clear direction and an experience worth using.'],['03','Develop','Engineer carefully, iterate quickly and test thoroughly.'],['04','Deliver','Launch confidently and improve with real feedback.']] as $step)
{{ $step[0] }}

{{ $step[1] }}

{{ $step[2] }}

@endforeach
+
{{ $approach->eyebrow }}

{{ $approach->title }}

{{ $approach->body }}

@foreach([['01','Discover','Understand the problem, the people and the opportunity.'],['02','Design','Shape a clear direction and an experience worth using.'],['03','Develop','Engineer carefully, iterate quickly and test thoroughly.'],['04','Deliver','Launch confidently and improve with real feedback.']] as $step)
{{ $step[0] }}

{{ $step[1] }}

{{ $step[2] }}

@endforeach
@endif -
ABOUT THE STUDIO

A trusted technical partner, not just another supplier.

ABSDEV is an independent digital development studio focused on the intersection of design, technology and business. We believe the most valuable software is clear, resilient and built around real people.

UK basedIndependentBuilt with care
+
ABOUT THE STUDIO

A trusted technical partner, not just another supplier.

ABSDEV is an independent digital development studio focused on the intersection of design, technology and business. We believe the most valuable software is clear, resilient and built around real people.

UK basedIndependentBuilt with care
@if($cta)
{{ $cta->eyebrow }}

{{ $cta->title }}

{{ $cta->body }}

{{ $cta->button_label ?: 'Get in touch' }} ↗
@endif -
CONTACT US

Tell us what you have in mind.

Have a project, a problem to solve, or simply an idea? Start the conversation and we will take it from there.

EMAIL
{{ $settings['email'] ?? 'hello@absdev.net' }}
LOCATION
{{ $settings['location'] ?? 'United Kingdom' }}
+
CONTACT US

Tell us what you have in mind.

Have a project, a problem to solve, or simply an idea? Start the conversation and we will take it from there.

EMAIL
{{ $settings['email'] ?? 'hello@absdev.net' }}
LOCATION
{{ $settings['location'] ?? 'United Kingdom' }}
- +@include('partials.footer') @endsection diff --git a/routes/web.php b/routes/web.php index bce1f24..ca40b4d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,6 +15,17 @@ Route::get('/', function () { 'settings'=>SiteSetting::pluck('value','key'), ]); })->name('home'); +// Dedicated public service, expertise and process pages. +foreach (['services', 'expertise', 'approach'] as $slug) { + Route::get('/'.$slug, function () use ($slug) { + return view('pages.detail', [ + 'slug' => $slug, + 'page' => config('site_pages.'.$slug), + 'settings' => SiteSetting::pluck('value', 'key'), + 'pageTitle' => ucfirst($slug).' — ABSDEV', + ]); + })->name($slug); +} Route::middleware('guest')->group(function () { Route::get('/admin/login',[LoginController::class,'show'])->name('login'); Route::post('/admin/login',[LoginController::class,'login'])->middleware('throttle:5,1')->name('login.submit'); diff --git a/tests/Feature/SiteExperienceTest.php b/tests/Feature/SiteExperienceTest.php index 6261ee6..25caaf8 100644 --- a/tests/Feature/SiteExperienceTest.php +++ b/tests/Feature/SiteExperienceTest.php @@ -32,6 +32,17 @@ class SiteExperienceTest extends TestCase { ->set('body','Custom messaging')->set('is_visible',true)->call('save')->assertHasNoErrors(); $this->assertDatabaseHas('site_sections',['key'=>'hero','title'=>'A better digital future']); } + public function test_dedicated_public_pages_render_with_navigation_and_content(): void { + foreach (['services' => 'Digital services', 'expertise' => 'Deep engineering', 'approach' => 'A clear process'] as $url => $heading) { + $this->get('/'.$url)->assertOk()->assertSee($heading)->assertSee('Capability with purpose'); + } + } + public function test_homepage_navigation_links_to_dedicated_pages(): void { + $this->seed(SiteContentSeeder::class); + $this->get('/')->assertOk()->assertSee('href="'.route('services').'"', false) + ->assertSee('href="'.route('expertise').'"', false) + ->assertSee('href="'.route('approach').'"', false); + } public function test_honeypot_rejects_spam(): void { Livewire::test(ContactForm::class)->set('name','Spam')->set('email','spam@example.com') ->set('message','Spam message example')->set('website','spambot')->call('submit')->assertHasErrors(['website']);