File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 < script src ="js/app.js " defer > </ script >
1313 </ head >
1414 < body class ="app-container ">
15+ < div class ="theme-toggle " onclick ="toggleTheme() ">
16+ < i class ="fas fa-sun sun-icon "> </ i >
17+ < i class ="fas fa-moon moon-icon "> </ i >
18+ </ div >
1519 < div class ="main-content " id ="main-content ">
1620 < div x-data ="addView() " class ="add-content ">
1721 < h1 class ="text-2xl font-bold text-center "> Add Restaurant</ h1 >
Original file line number Diff line number Diff line change 1212 < script src ="js/app.js " defer > </ script >
1313 </ head >
1414 < body class ="app-container ">
15- < div class ="theme-toggle " @click ="toggleTheme() ">
15+ < div class ="theme-toggle " onclick ="toggleTheme() ">
1616 < i class ="fas fa-sun sun-icon "> </ i >
1717 < i class ="fas fa-moon moon-icon "> </ i >
1818 </ div >
Original file line number Diff line number Diff line change 1212 < script src ="js/app.js " defer > </ script >
1313 </ head >
1414 < body class ="app-container ">
15+ < div class ="theme-toggle " onclick ="toggleTheme() ">
16+ < i class ="fas fa-sun sun-icon "> </ i >
17+ < i class ="fas fa-moon moon-icon "> </ i >
18+ </ div >
1519 < div class ="main-content " id ="main-content ">
1620 < div x-data ="listView() " x-init ="loadRestaurants() " id ="restaurant-list ">
1721 < h1 class ="text-2xl font-bold text-center mb-6 "> All Restaurants</ h1 >
Original file line number Diff line number Diff line change 1212 < script src ="js/app.js " defer > </ script >
1313 </ head >
1414 < body class ="app-container ">
15+ < div class ="theme-toggle " onclick ="toggleTheme() ">
16+ < i class ="fas fa-sun sun-icon "> </ i >
17+ < i class ="fas fa-moon moon-icon "> </ i >
18+ </ div >
1519 < div class ="main-content " id ="main-content ">
1620 < div x-data ="settingsView() ">
1721 < h1 class ="text-2xl font-bold text-center mb-6 "> Settings</ h1 >
You can’t perform that action at this time.
0 commit comments