@extends('layouts.user')
@section('title', 'Disease Encyclopedia | Smart Dermatology')
@push('styles')
@endpush
@php
$diseases = [
['badge' => 'Common Condition', 'title' => 'Eczema', 'description' => 'Inflammatory skin condition with dryness, itching, and recurring rashes.', 'precaution' => 'Use fragrance-free moisturizers and avoid harsh detergents.', 'prevention' => 'Identify triggers like stress or specific fabrics; keep skin hydrated.', 'card_class' => '', 'badge_class' => ''],
['badge' => 'Viral', 'title' => 'Warts', 'description' => 'Small, grainy skin growths caused by viral infections (HPV).', 'precaution' => 'Do not pick or scratch; cover them to prevent spread.', 'prevention' => 'Wear footwear in public pools and avoid direct contact with others\' warts.', 'card_class' => '', 'badge_class' => ''],
['badge' => 'Fungal', 'title' => 'Tinea Ringworm', 'description' => 'A fungal infection that creates a red, circular rash with clearer skin in the middle.', 'precaution' => 'Keep the area dry and do not share towels or clothing.', 'prevention' => 'Wear breathable clothing and wash gym clothes immediately after use.', 'card_class' => '', 'badge_class' => ''],
['badge' => 'Chronic', 'title' => 'Atopic Dermatitis', 'description' => 'A chronic condition making skin red, itchy, and sensitive.', 'precaution' => 'Apply thick creams within three minutes of bathing.', 'prevention' => 'Use humidifiers in dry weather and avoid sudden temperature changes.', 'card_class' => '', 'badge_class' => ''],
['badge' => 'Non-Cancerous', 'title' => 'Benign Keratosis', 'description' => 'Non-cancerous waxy or scaly skin growths.', 'precaution' => 'Avoid irritating the area with tight clothing or scratching.', 'prevention' => 'Maintain overall skin health and observe any unusual changes.', 'card_class' => '', 'badge_class' => ''],
['badge' => 'Critical', 'title' => 'Melanoma', 'description' => 'The most serious form of skin cancer, often developing in a mole or dark spot.', 'precaution' => 'Consult a dermatologist immediately for any changing mole.', 'prevention' => 'Strict sun protection and regular full-body skin checks are essential.', 'card_class' => 'border-danger', 'badge_class' => 'bg-danger text-white'],
['badge' => 'Autoimmune', 'title' => 'Psoriasis', 'description' => 'Immune response causing rapid cell buildup and silvery scales.', 'precaution' => 'Use lukewarm water for showers and avoid skin injuries.', 'prevention' => 'Manage stress and limit alcohol because these are common triggers.', 'card_class' => '', 'badge_class' => ''],
['badge' => 'Common / Age', 'title' => 'Seborrheic Keratoses', 'description' => 'Common noncancerous skin growth in older adults.', 'precaution' => 'Usually harmless but can be removed if irritated by friction.', 'prevention' => 'No specific prevention; they are mostly linked to age and genetics.', 'card_class' => '', 'badge_class' => ''],
['badge' => 'Urgent', 'title' => 'Basal Cell Carcinoma', 'description' => 'A skin cancer that often looks like a pearly bump or non-healing sore.', 'precaution' => 'Do not ignore sores that will not heal.', 'prevention' => 'Avoid peak sun hours and wear protective hats.', 'card_class' => 'border-warning', 'badge_class' => 'bg-warning text-dark'],
['badge' => 'Moles', 'title' => 'Melanocytic Nevi', 'description' => 'Commonly known as moles, formed by pigment-producing cells.', 'precaution' => 'Use the ABCDE rule to monitor for changes.', 'prevention' => 'Limit excessive UV exposure to reduce new mole formation.', 'card_class' => '', 'badge_class' => ''],
];
@endphp
@section('content')
Dermatology Library
Detailed insights and care guides for your skin health.