Artem-Schander/L5Modular

View on GitHub
src/Console/stubs/resources/view.stub

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>DummyModuleName</title>

        <!-- Fonts -->
        <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">

        <!-- Styles -->
        <style>
            html, body {
                background-color: #fff;
                color: #636b6f;
                font-family: 'Nunito', sans-serif;
                font-weight: 200;
                height: 100vh;
                margin: 0;
            }

            .full-height {
                height: 100vh;
            }

            .flex-center {
                align-items: center;
                display: flex;
                justify-content: center;
            }

            .position-ref {
                position: relative;
            }

            .content {
                text-align: center;
            }

            .title {
                font-size: 84px;
            }
        </style>
    </head>
    <body>
        <div class="flex-center position-ref full-height">
            <div class="content">
                <div class="title">
                    DummyModuleName
                </div>
                <div class="subtitle">
                    @if (Lang::has('DummyModuleName::example.welcome'))
                        {{ trans('DummyModuleName::example.welcome') }}
                    @else
                        Welcome, this is DummyModuleName module.
                    @endif
                </div>
            </div>
        </div>
    </body>
</html>