# SEO Izmjene — lusar.hr

**Datum:** 4. lipnja 2026.  
**Audit:** [`SEO-AUDIT-2026-06.md`](SEO-AUDIT-2026-06.md)

---

## Implementirano danas

### ✅ 1. PHP Debug Bar isključen (korisnik)
- `.env` → `APP_DEBUG=false`
- Header `phpdebugbar-id` više nije vidljiv u HTTP odgovorima

---

### ✅ 2. Ispravni sameAs URLovi — Organization schema
**Datoteka:** `app/Helpers/SeoHelper.php` → `getOrganizationSchema()`

Bili su pogrešni (profili nisu postojali):
```
https://www.facebook.com/lusar       ← ne postoji
https://www.instagram.com/lusar      ← ne postoji
https://www.linkedin.com/company/lusar
```

Ispravljeno na stvarne profile:
```
https://www.facebook.com/profile.php?id=61580714565428
https://www.instagram.com/lusar.hr
```

---

### ✅ 3. FAQPage schema — 7 stranica
**Metoda:** `App\Helpers\SeoHelper::getFaqSchema(array $faqs): string`  
**Emitira:** `<script type="application/ld+json">` s FAQPage JSON-LD

Stranice na kojima je aktivno:
| Stranica | Broj FAQ pitanja |
|---------|-----------------|
| `/smart-film` | 5 |
| `/led-film` | 4 |
| `/klime` | 5 |
| `/montaza` | 4 |
| `/servis` | 5 |
| `/ultratanki-prozirni-zaslon` | 4 |
| `/pozivni-centar` | 4 |

Implementacija: u svakom view-u FAQ array je izvučen u `@php $faqs = [...]; @endphp` varijablu, pa se poziva `{!! App\Helpers\SeoHelper::getFaqSchema($faqs) !!}`.

---

### ✅ 4. LocalBusiness schema — sve stranice
**Datoteka:** `app/Helpers/SeoHelper.php` → `getLocalBusinessSchema()`  
**Poziva se iz:** `resources/views/layouts/marketing.blade.php` i `resources/views/layouts/tabler.blade.php`

Ispravci u metodi:
- Zatvaranje Pon–Pet: `17:00` → `16:00` (usklađeno s kontakt stranicom)
- Dodano radno vrijeme Subota: `08:00–12:00`
- Dodani `sameAs` URLovi (Facebook, Instagram)

Schema sadrži:
- Naziv, adresa, telefon, email
- Geo koordinate (45.5550, 18.6955)
- Radno vrijeme (Pon–Pet 08–16, Sub 08–12)
- sameAs profili

---

### ✅ 5. Sigurnosni HTTP headeri — Laravel middleware
**Datoteka:** `app/Http/Middleware/SecurityHeaders.php` (nova)  
**Registracija:** `bootstrap/app.php` → web middleware group

Dodani headeri:
| Header | Vrijednost |
|--------|-----------|
| `X-Frame-Options` | `SAMEORIGIN` |
| `Referrer-Policy` | `strict-origin-when-cross-origin` |
| `Permissions-Policy` | `geolocation=(), microphone=(), camera=()` |

Headeri koji su već bili u nginx configu: `Strict-Transport-Security`, `X-XSS-Protection`, `X-Content-Type-Options`

---

## Što je verificirano živim testovima

```bash
# sameAs fix
curl -s https://lusar.hr | grep sameAs
# → "sameAs":["https://www.facebook.com/profile.php?id=61580714565428","https://www.instagram.com/lusar.hr"]

# FAQPage schema
curl -s https://lusar.hr/smart-film | grep '"@type":"FAQPage"'  # → OK
curl -s https://lusar.hr/klime | grep '"@type":"FAQPage"'        # → OK
# ... sve 7 stranica OK

# LocalBusiness schema
curl -s https://lusar.hr | grep '"@type":"LocalBusiness"'  # → OK

# Security headers
curl -sI https://lusar.hr | grep -E "x-frame|referrer|permissions"
# → x-frame-options: SAMEORIGIN
# → referrer-policy: strict-origin-when-cross-origin
# → permissions-policy: geolocation=(), microphone=(), camera=()
```

---

## Sitemap status

Sitemap **nije potrebno mijenjati** — schema izmjene ne utječu na sitemap. Sitemap sadrži 11 URL-ova s auto-generiranim `lastmod` timestamp-om.

URL-ovi u sitemapu:
- `https://lusar.hr` (priority 1.0)
- 8 servisnih stranica (priority 0.9)
- 2 pravne stranice (priority 0.3)

---

---

### ✅ 6. OG slike — sve 1200×630px (generirane s ImageMagick)
Sve slike bile su 200×105px. Regenerirane s branded gradijentima:

| Slika | Boje gradijenta |
|-------|----------------|
| og-image.jpg / og-home.jpg | #061530 → #1a519a (tamno plava) |
| og-smart-film.jpg | #0d3320 → #1a8a5a (zelena) |
| og-led-film.jpg | #1a1000 → #a05500 (narančasto-žuta) |
| og-klime.jpg | #0a2040 → #206bc4 (plava) |
| og-utd.jpg | #050a15 → #0a3d5c (tamno plava) |
| og-montaza.jpg | #0a2040 → #0ca678 (teal) |
| og-servis.jpg | #0a2040 → #087f5b (tamno zelena) |
| og-kontakt.jpg | #061530 → #1a519a (plava) |
| og-pozivni-centar.jpg | #2d0a4e → #1e3a8a (ljubičasto-plava) |

---

### ✅ 7. nginx server_tokens off
**Datoteka:** `/etc/nginx/conf.d/vhosts/lusar.hr.ssl.conf`  
`server_tokens off;` dodan u lusar.hr server block.  
Rezultat: `server: nginx` (bez verzije) umjesto `server: nginx/1.30.2`

---

### ✅ 8. Service schema — 7 servisnih stranica
**Metoda:** `App\Helpers\SeoHelper::getServiceSchema(name, description, serviceType): string`

| Stranica | serviceType |
|---------|-------------|
| `/smart-film` | Smart Film Installation |
| `/led-film` | LED Display Installation |
| `/klime` | HVAC Sales |
| `/montaza` | HVAC Installation |
| `/servis` | HVAC Maintenance |
| `/ultratanki-prozirni-zaslon` | Transparent LED Display |
| `/pozivni-centar` | Call Center Services |

---

### ✅ 9. Sadržaj LED Film — prošireno ~450 riječi
Dodane dvije nove sekcije ispred FAQ:
- **Tehničke specifikacije** — metric cards (pixel pitch, transparentnost, svjetlina, vijek)
- **LED Film vs. klasične reklame** — usporedna tablica (transparentnost, promjena sadržaja, instalacija, vijek, energija)

---

### ✅ 10. Sadržaj Pozivni centar — prošireno ~350 riječi + layout fix
- Ispravljen layout bug: FAQ bio unutar services `<div>` — premješten na ispravno mjesto
- Dodana sekcija **Industrije koje opslužujemo** (6 sektora s opisima)
- Dodana sekcija **Kako početi suradnju?** (4-koračni proces: konzultacija → prilagodba → edukacija → pokretanje)
- Dodan 5. FAQ odgovor: "Koliko traje priprema kampanje?"

---

### ✅ 11. llms.txt
**URL:** `https://lusar.hr/llms.txt`  
**Datoteka:** `public/llms.txt`  
Sadrži opis biznisa, linkove na sve stranice s opisima i radno vrijeme.

---

### ✅ 12. Twitter handle
`@lusar` zamijenjen s `@lusar_hr` u `SeoHelper::setPage()` (twitterCard setSite).

---

### ℹ️ Kontakt — Google Maps
Embed je već bio implementiran na kontakt stranici. Nije trebalo ništa mijenjati.

---

## Sve točke audita — završni status

| # | Stavka | Status |
|---|--------|--------|
| 1 | PHP Debug Bar isključen | ✅ |
| 2 | OG slike 1200×630px | ✅ |
| 3 | sameAs URLovi ispravljeni | ✅ |
| 4 | LocalBusiness schema | ✅ |
| 5 | FAQPage schema (7 stranica) | ✅ |
| 6 | Sigurnosni headeri (middleware + nginx) | ✅ |
| 7 | Alt tekstovi na slikama | ✅ (bili su OK) |
| 8 | Service schema (7 stranica) | ✅ |
| 9 | LED Film sadržaj proširen | ✅ |
| 10 | Pozivni centar sadržaj proširen | ✅ |
| 11 | Google Maps embed na kontakt | ✅ (bio implementiran) |
| 12 | Twitter handle | ✅ |
| 13 | /llms.txt | ✅ |
| 14 | nginx server_tokens off | ✅ |
| 15 | Blog strategija | ⏭️ Preskočeno (nema bloga) |
