Procházet zdrojové kódy

Patient home (start meeting)

Vijayakrishnan před 5 roky
rodič
revize
cb7a178ae5

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 11 - 0
public/css/bootstrap.min.css


binární
public/images/patient-home-banner.jpg


+ 84 - 56
resources/views/welcome.blade.php

@@ -4,12 +4,16 @@
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width, initial-scale=1">
 
-        <title>Laravel</title>
+        <title>X•Y•Z</title>
 
         <!-- Fonts -->
-        <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
+        <link href="https://fonts.googleapis.com/css?family=Nunito:200,600,700" rel="stylesheet">
 
-        <!-- Styles -->
+        {{-- Bootstrap --}}
+        <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
+        <link rel="stylesheet" href="/css/bootstrap.min.css">
+
+        <!-- Styles for patient home -->
         <style>
             html, body {
                 background-color: #fff;
@@ -20,81 +24,105 @@
                 margin: 0;
             }
 
-            .full-height {
-                height: 100vh;
+            body {
+                background-image: url(images/patient-home-banner.jpg);
+                background-size: 100% auto;
+                background-position: top center;
             }
 
-            .flex-center {
-                align-items: center;
-                display: flex;
-                justify-content: center;
+            @media (max-width: 900px) {
+                body {
+                    background-size: auto 100%;
+                }
             }
 
-            .position-ref {
-                position: relative;
+            h1 {
+                color: #555;
+                width: 50%;
+                text-align: center;
             }
 
-            .top-right {
-                position: absolute;
-                right: 10px;
-                top: 18px;
+            @media (max-width: 900px) {
+                h1 {
+                    width: auto;
+                    text-align: center;
+                    font-size: 2rem;
+                    text-shadow: 1px 1px 2px #c0e4e2;
+                }
             }
 
-            .content {
-                text-align: center;
+            @media (max-width: 400px) {
+                h1 {
+                    font-size: 1.75rem;
+                    text-shadow: 1px 1px 2px #c0e4e2;
+                }
             }
 
-            .title {
-                font-size: 84px;
+            .form-container {
+                width: 50%;
+                margin-right: auto;
             }
 
-            .links > a {
-                color: #636b6f;
-                padding: 0 25px;
-                font-size: 13px;
+            @media (max-width: 900px) {
+                .form-container {
+                    margin: auto;
+                    width: 100%;
+                }
+            }
+
+            .form-container .form {
+                background: #ffffffd1;
+                max-width: 400px;
+                margin: auto;
+                border-radius: 4px;
+            }
+
+            .form-container .form h3 {
+                font-size: 1.3rem;
+            }
+
+            .border-success {
+                border-color: #44bdad85 !important;
+            }
+
+            .text-dark {
+                color: #555;
                 font-weight: 600;
-                letter-spacing: .1rem;
-                text-decoration: none;
-                text-transform: uppercase;
             }
 
-            .m-b-md {
-                margin-bottom: 30px;
+            .form-container .form input {
+                border-color: #44bdad85 !important;
+            }
+
+            .form-container .form input:focus {
+                box-shadow: 0 0 0 0.2rem #44bdad85;
             }
         </style>
     </head>
-    <body>
-        <div class="flex-center position-ref full-height">
-            @if (Route::has('login'))
-                <div class="top-right links">
-                    @auth
-                        <a href="{{ url('/home') }}">Home</a>
-                    @else
-                        <a href="{{ route('login') }}">Login</a>
-
-                        @if (Route::has('register'))
-                            <a href="{{ route('register') }}">Register</a>
-                        @endif
-                    @endauth
-                </div>
-            @endif
+    <body class="px-3 px-md-5 py-5">
 
-            <div class="content">
-                <div class="title m-b-md">
-                    Laravel
-                </div>
+    {{-- top text --}}
+    <div class="d-flex">
+        <h1 class="font-weight-bold">Consult your doctor from the comfort of your home!</h1>
+    </div>
 
-                <div class="links">
-                    <a href="https://laravel.com/docs">Docs</a>
-                    <a href="https://laracasts.com">Laracasts</a>
-                    <a href="https://laravel-news.com">News</a>
-                    <a href="https://blog.laravel.com">Blog</a>
-                    <a href="https://nova.laravel.com">Nova</a>
-                    <a href="https://forge.laravel.com">Forge</a>
-                    <a href="https://vapor.laravel.com">Vapor</a>
-                    <a href="https://github.com/laravel/laravel">GitHub</a>
+    <div class="d-flex mt-4 mt-sm-5">
+        <div class="form-container">
+            <div class="form">
+                <h3 class="border-bottom border-success text-center font-weight-bold py-3 m-0">Start Meeting</h3>
+                <p class="px-4 text-dark m-0 py-3">Please enter your name and date of birth to start a meeting.</p>
+                <div class="px-4 mb-4" autofocus="true">
+                    <input type="text" class="form-control py-3" placeholder="Your name">
+                </div>
+                <div class="px-4 mb-4">
+                    <input type="date" class="form-control py-3" placeholder="Your date of birth">
+                </div>
+                <div class="px-4 pb-4">
+                    <button class="btn btn-success font-weight-bold w-100">Start Meeting</button>
                 </div>
             </div>
         </div>
+    </div>
+
     </body>
 </html>

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů