File tree Expand file tree Collapse file tree 6 files changed +20
-10
lines changed
Expand file tree Collapse file tree 6 files changed +20
-10
lines changed Original file line number Diff line number Diff line change 44
55 <div >
66 <label for =" textColor" >Text Color</label >
7- <input class =" float-right" type =" color" name =" textColor" id =" textColor" value =" #374151" >
7+ <input class =" float-right rounded-md p-1 w-10 h-8 cursor-pointer border border-gray-200 bg-white"
8+ type =" color" name =" textColor" id =" textColor" value =" #374151" >
89 </div >
910 <div >
1011 <label for =" highlightColor" >Highlight Color</label >
11- <input class =" float-right" type =" color" name =" highlightColor" id =" highlightColor" value =" #559949" >
12+ <input class =" float-right rounded-md p-1 w-10 h-8 cursor-pointer border border-gray-200 bg-white"
13+ type =" color" name =" highlightColor" id =" highlightColor" value =" #559949" >
1214 </div >
1315 <div >
1416 <label for =" backgroundColor" >Background Color</label >
15- <input class =" float-right" type =" color" name =" backgroundColor" id =" backgroundColor" value =" #FFFFFF" >
17+ <input class =" float-right rounded-md p-1 w-10 h-8 cursor-pointer border border-gray-200 bg-white"
18+ type =" color" name =" backgroundColor" id =" backgroundColor" value =" #FFFFFF" >
1619 </div >
1720
18- <x-primary-button class =" mt-4" >Generate PDF</x-primary-button >
21+ <x-primary-button class =" mt-4 max-w-fit " >Generate PDF</x-primary-button >
1922 </div >
2023</section >
Original file line number Diff line number Diff line change 11<section class =" col-span-2" >
22 <div class =" space-y-6 grow-wrap dont-break-out" >
3- <textarea id =" text" name =" text" type =" text" rows =" 7 " cols =" "
3+ <textarea id =" text" name =" text" type =" text" rows =" 9 " cols =" "
44 class =" p-4 sm:p-8 bg-white sm:rounded-lg border-none focus:border-gray-400 focus:ring-gray-400 shadow block w-full"
55 required autofocus autocomplete =" text" placeholder =" Type here"
66 onInput =" this.parentNode.dataset.replicatedValue = this.value" ></textarea >
Original file line number Diff line number Diff line change 11<x-app-layout >
22 <div class =" py-8" >
3- <div class =" max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6" >
3+ <div class =" mx-auto sm:px-6 lg:px-8 space-y-6" >
44 <form action =" /generatePdf" method =" post" >
55 @csrf
66 <div class =" lg:grid lg:grid-cols-5 lg:space-x-4 space-y-6 lg:space-y-0" >
Original file line number Diff line number Diff line change 55 <meta name =" viewport" content =" width=device-width, initial-scale=1" >
66 <meta name =" csrf-token" content =" {{ csrf_token () } }" >
77
8- <title >{{ config (' app.name' , ' Bernardo Azevedo ' ) } } </title >
8+ <title >{{ config (' app.name' , ' Markdown Editor ' ) } } </title >
99
1010 <link rel =" icon" href =" {{ url (' assets/css/favicon.ico' ) } }" >
1111 <link rel =" stylesheet" href =" {{ asset (' assets/css/app.css?v1' ) } }" >
2020 <body class =" font-sans antialiased" >
2121 <div class =" min-h-screen bg-gray-100" >
2222
23+ @include (' layouts.navigation' )
24+
2325 <!-- Page Heading -->
2426 @isset ($header )
2527 <header class =" bg-white shadow" >
Original file line number Diff line number Diff line change 11<nav x-data =" { open: false }" class =" bg-white border-b border-gray-100 shadow-sm" >
22 <!-- Primary Navigation Menu -->
33 <div class =" max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
4- <div class =" flex justify-between h-16" >
5- <div class =" flex " >
4+ <div class =" flex justify-between items-center h-16" >
5+ <span class =" text-lg " >Edit markdown files and convert them to PDF</ span >
66
7- </div >
7+ <a href =" https://github.com/bernardoazevedo/markdownEditor" target =" _blank" >
8+ <img src =" {{ asset (' assets/images/github.svg' ) } }" alt =" Github Logo" width =" 24px" >
9+ </a >
810 </div >
911 </div >
1012
You can’t perform that action at this time.
0 commit comments