new design with nice layout
This commit is contained in:
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>{{ $title ?? 'Dashboard' }} — ABSDEV Admin</title>@vite(['resources/css/app.css','resources/js/app.js']) @livewireStyles</head><body class="min-h-screen bg-[#f3f6f8] font-sans text-[#142e3c]"><div class="min-h-screen lg:flex"><aside class="w-full shrink-0 bg-[#09212e] p-7 text-white lg:min-h-screen lg:w-64"><a href="{{ route('admin.dashboard') }}" class="text-2xl font-bold tracking-widest">ABSDEV<span class="text-acid">.</span></a><div class="mt-3 text-xs font-semibold uppercase tracking-[.2em] text-slate-400">Control centre</div><nav class="mt-12 flex flex-wrap gap-2 lg:flex-col" aria-label="Admin menu"><a href="{{ route('admin.dashboard') }}" class="admin-nav {{ request()->routeIs('admin.dashboard') ? 'bg-white/15 text-acid' : '' }}">◫ Overview</a><a href="{{ route('admin.sections') }}" class="admin-nav {{ request()->routeIs('admin.sections') ? 'bg-white/15 text-acid' : '' }}">▤ Page sections</a><a href="{{ route('admin.enquiries') }}" class="admin-nav {{ request()->routeIs('admin.enquiries') ? 'bg-white/15 text-acid' : '' }}">✉ Enquiries</a><a href="{{ route('admin.settings') }}" class="admin-nav {{ request()->routeIs('admin.settings') ? 'bg-white/15 text-acid' : '' }}">⚙ Site settings</a><a href="{{ route('home') }}" target="_blank" rel="noopener" class="admin-nav">↗ View website</a></nav><div class="mt-12 border-t border-white/10 pt-6 text-sm text-slate-400"><div class="truncate">{{ auth()->user()->email }}</div><form method="POST" action="{{ route('logout') }}" class="mt-4">@csrf<button type="submit" class="text-acid hover:underline">Sign out ↗</button></form></div></aside><div class="min-w-0 flex-1"><header class="border-b border-slate-200 bg-white px-6 py-6 md:px-10"><div class="mx-auto flex max-w-6xl items-center justify-between gap-4"><div><span class="text-xs font-semibold uppercase tracking-widest text-teal-600">Website administration</span><h1 class="mt-1 text-2xl font-bold tracking-tight">{{ $title ?? 'Dashboard' }}</h1></div><div class="hidden rounded-full bg-emerald-50 px-4 py-2 text-xs font-semibold text-emerald-700 sm:block">● Admin access</div></div></header><main class="mx-auto max-w-6xl space-y-7 p-6 md:p-10">{{ $slot }}</main></div></div>@livewireScripts</body></html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>{{ $title ?? 'Dashboard' }} — ABSDEV Admin</title>@vite(['resources/css/app.css','resources/js/app.js']) @livewireStyles<link rel="icon" type="image/svg+xml" href="/favicon.svg"></head><body class="min-h-screen bg-[#f3f6f8] font-sans text-[#142e3c]"><div class="min-h-screen lg:flex"><aside class="w-full shrink-0 bg-[#09212e] p-7 text-white lg:min-h-screen lg:w-64"><a href="{{ route('admin.dashboard') }}" class="text-2xl font-bold tracking-widest">ABSDEV<span class="text-acid">.</span></a><div class="mt-3 text-xs font-semibold uppercase tracking-[.2em] text-slate-400">Control centre</div><nav class="mt-12 flex flex-wrap gap-2 lg:flex-col" aria-label="Admin menu"><a href="{{ route('admin.dashboard') }}" class="admin-nav {{ request()->routeIs('admin.dashboard') ? 'bg-white/15 text-acid' : '' }}">◫ Overview</a><a href="{{ route('admin.sections') }}" class="admin-nav {{ request()->routeIs('admin.sections') ? 'bg-white/15 text-acid' : '' }}">▤ Page sections</a><a href="{{ route('admin.enquiries') }}" class="admin-nav {{ request()->routeIs('admin.enquiries') ? 'bg-white/15 text-acid' : '' }}">✉ Enquiries</a><a href="{{ route('admin.settings') }}" class="admin-nav {{ request()->routeIs('admin.settings') ? 'bg-white/15 text-acid' : '' }}">⚙ Site settings</a><a href="{{ route('home') }}" target="_blank" rel="noopener" class="admin-nav">↗ View website</a></nav><div class="mt-12 border-t border-white/10 pt-6 text-sm text-slate-400"><div class="truncate">{{ auth()->user()->email }}</div><form method="POST" action="{{ route('logout') }}" class="mt-4">@csrf<button type="submit" class="text-acid hover:underline">Sign out ↗</button></form></div></aside><div class="min-w-0 flex-1"><header class="border-b border-slate-200 bg-white px-6 py-6 md:px-10"><div class="mx-auto flex max-w-6xl items-center justify-between gap-4"><div><span class="text-xs font-semibold uppercase tracking-widest text-teal-600">Website administration</span><h1 class="mt-1 text-2xl font-bold tracking-tight">{{ $title ?? 'Dashboard' }}</h1></div><div class="hidden rounded-full bg-emerald-50 px-4 py-2 text-xs font-semibold text-emerald-700 sm:block">● Admin access</div></div></header><main class="mx-auto max-w-6xl space-y-7 p-6 md:p-10">{{ $slot }}</main></div></div>@livewireScripts</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#07121d"><meta name="description" content="ABSDEV — independent software development, digital experiences and technology consultancy."><title>{{ $pageTitle ?? 'ABSDEV — Independent digital studio' }}</title>
|
||||
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/svg+xml" href="/favicon.svg"><link rel="shortcut icon" href="/favicon.svg"><meta name="theme-color" content="#07121d"><meta name="description" content="ABSDEV — independent software development, digital experiences and technology consultancy."><title>{{ $pageTitle ?? 'ABSDEV — Independent digital studio' }}</title>
|
||||
@vite(['resources/css/app.css','resources/js/app.js']) @livewireStyles</head>
|
||||
<body class="bg-ink text-white antialiased">{{ $slot ?? '' }} @yield('content') @livewireScripts</body></html>
|
||||
@@ -1,9 +1,24 @@
|
||||
<header class="absolute z-30 left-0 right-0 top-0">
|
||||
<div class="container-wide flex h-24 items-center justify-between">
|
||||
<a href="/" class="inline-flex items-center gap-3" aria-label="ABSDEV homepage"><span class="brand-mark">A<span class="text-acid">.</span></span><span class="font-bold tracking-[.2em] text-lg">{{ $settings['site_name'] ?? 'ABSDEV' }}</span></a>
|
||||
<nav class="hidden md:flex items-center gap-9 text-[13px] font-semibold text-slate-300" aria-label="Main navigation"><a class="nav-link" href="{{ route('services') }}">Services</a><a class="nav-link" href="{{ route('expertise') }}">Expertise</a><a class="nav-link" href="{{ route('approach') }}">Approach</a><a class="nav-link" href="{{ route('home') }}#about">About</a></nav>
|
||||
<a href="{{ route('home') }}#contact" class="button-outline hidden sm:inline-flex">Let's talk <span aria-hidden="true">↗</span></a>
|
||||
<button type="button" class="md:hidden px-2 py-2 text-white" aria-label="Open menu" onclick="document.getElementById('mobile-nav').classList.toggle('hidden')">☰</button>
|
||||
<header class="site-header sticky top-0 z-50 border-b border-white/10 bg-[#07131f]/95 backdrop-blur-xl">
|
||||
<div class="container-wide flex min-h-[80px] items-center justify-between gap-6">
|
||||
<a href="{{ route('home') }}" class="flex shrink-0 items-center gap-3" aria-label="ABSDEV homepage">
|
||||
<span class="brand-emblem" aria-hidden="true"><span>A</span><span class="text-acid">.</span></span>
|
||||
<span class="text-[17px] font-bold tracking-[.23em] text-white">{{ $settings['site_name'] ?? 'ABSDEV' }}</span>
|
||||
</a>
|
||||
<nav class="hidden items-center gap-8 lg:flex" aria-label="Main navigation">
|
||||
<a class="site-nav-link" href="{{ route('home') }}">Home</a>
|
||||
<a class="site-nav-link" href="{{ route('services') }}">Services</a>
|
||||
<a class="site-nav-link" href="{{ route('expertise') }}">Expertise</a>
|
||||
<a class="site-nav-link" href="{{ route('approach') }}">Approach</a>
|
||||
<a class="site-nav-link" href="{{ route('home') }}#about">About</a>
|
||||
</nav>
|
||||
<div class="flex shrink-0 items-center gap-3">
|
||||
<a href="{{ route('home') }}#contact" class="site-header-cta hidden sm:inline-flex">Let's talk <span aria-hidden="true">↗</span></a>
|
||||
<button type="button" class="site-menu-button lg:hidden" aria-label="Toggle navigation" aria-controls="mobile-nav" aria-expanded="false" onclick="const n=document.getElementById('mobile-nav'); const opened=n.classList.toggle('hidden')===false; this.setAttribute('aria-expanded',String(opened));">☰</button>
|
||||
</div>
|
||||
<nav id="mobile-nav" class="hidden bg-ink/95 px-8 pb-7 md:hidden" aria-label="Mobile navigation"><div class="flex flex-col gap-5 text-sm"><a href="{{ route('services') }}">Services</a><a href="{{ route('expertise') }}">Expertise</a><a href="{{ route('approach') }}">Approach</a><a href="{{ route('home') }}#about">About</a><a href="{{ route('home') }}#contact">Contact</a></div></nav>
|
||||
</div>
|
||||
<nav id="mobile-nav" class="hidden border-t border-white/10 bg-[#0b202d] px-6 py-6 lg:hidden" aria-label="Mobile navigation">
|
||||
<div class="mx-auto flex max-w-[1320px] flex-col gap-5 text-sm font-semibold text-slate-200">
|
||||
<a href="{{ route('home') }}">Home</a><a href="{{ route('services') }}">Services</a><a href="{{ route('expertise') }}">Expertise</a><a href="{{ route('approach') }}">Approach</a><a href="{{ route('home') }}#about">About</a><a href="{{ route('home') }}#contact">Contact</a>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
@@ -2,6 +2,18 @@
|
||||
@section('content')
|
||||
@php
|
||||
$hero=$sections->get('hero'); $services=$sections->get('services'); $approach=$sections->get('approach'); $work=$sections->get('work'); $cta=$sections->get('cta');
|
||||
$designDefaults = [
|
||||
'hero' => ['eyebrow'=>'INDEPENDENT DIGITAL STUDIO','title'=>'Digital experiences built to move your business forward.','body'=>'Beautifully crafted websites, powerful Laravel platforms, and thoughtful macOS and iOS software. Designed with purpose. Engineered to last.','button_label'=>'Start a project','button_url'=>'#contact'],
|
||||
'services' => ['eyebrow'=>'WHAT WE DO','title'=>'Technology with a human touch.','body'=>'From ambitious ideas to dependable products: strategy, design and engineering working together.','button_label'=>'Explore services','button_url'=>'/services'],
|
||||
'approach' => ['eyebrow'=>'OUR PROCESS','title'=>'Clarity from idea to launch.','body'=>'A focused, collaborative process that brings together design, development, rigorous testing and reliable delivery.','button_label'=>'Our approach','button_url'=>'/approach'],
|
||||
'work' => ['eyebrow'=>'OUR EXPERTISE','title'=>'Built for complexity. Designed for people.','body'=>'Practical engineering and thoughtful digital products with tangible business impact.','button_label'=>'Expertise','button_url'=>'/expertise'],
|
||||
'cta' => ['eyebrow'=>'LET’S MAKE IT HAPPEN','title'=>'Have an idea worth building?','body'=>'Tell us what you need. We will turn it into a clear technical plan.','button_label'=>'Let’s talk','button_url'=>'#contact'],
|
||||
];
|
||||
foreach ($designDefaults as $key=>$data) {
|
||||
if (! $sections->has($key) && ! \App\Models\SiteSection::where('key', $key)->exists()) {
|
||||
${$key} = (object) $data;
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
@include('partials.navigation')
|
||||
<main>
|
||||
|
||||
Reference in New Issue
Block a user