@extends('layouts.app')

@section('title', 'Projects - mthy.dev')

@section('styles')
<style>
    .projects-container {
        max-width: 800px;
        width: 100%;
    }
    .content {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 3rem 2rem;
    }
    .project-card {
        padding: 2rem;
    }
    .project-card h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
    .project-card h2 a {
        color: #f8fafc;
        text-decoration: none;
    }
    .project-card h2 a:hover {
        color: #60a5fa;
    }
    .project-card p {
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
</style>
@endsection

@section('content')
<div class="content">
    <div class="projects-container">
        <h1 class="page-title" style="margin-bottom: 2rem;">Projects</h1>
        <div class="projects-grid">
            <div class="project-card">
                <h2><a href="/projects/brewnite">Brewnite</a></h2>
                <p>brewnite.mthy.dev</p>
                <a href="/projects/brewnite" class="project-link">View project &rarr;</a>
            </div>
            <div class="project-card">
                <h2><a href="/projects/gitbit">Gitbit</a></h2>
                <p>gitbit.mthy.dev</p>
                <a href="/projects/gitbit" class="project-link">View project &rarr;</a>
            </div>
        </div>
    </div>
</div>
@endsection