- perbaiki di file
App.jsx
/ yang mengandungBrowserRouter
function App() {
return (
<BrowserRouter basename="/nama-direktori">
{/* lokasi router */}
</BrowserRouter>
);
}
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Login with Google</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" /> | |
<script src="https://apis.google.com/js/platform.js"></script> | |
</head> |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<title>Login</title> | |
</head> |
<x-app-layout> | |
<x-slot name="header"> | |
<h2 class="font-semibold text-xl text-gray-800 leading-tight"> | |
Edit User | |
</h2> | |
</x-slot> | |
<div class="py-12"> | |
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6"> | |
<div class="p-4 sm:p-8 bg-white shadow sm:rounded-lg"> |
<x-app-layout> | |
<x-slot name="header"> | |
<h2 class="font-semibold text-xl text-gray-800 leading-tight"> | |
Pengaturan Users <a href="" class="bg-blue-400 p-2 rounded-md text-white text-sm">+ Tambah User</a> | |
</h2> | |
</x-slot> | |
<x-slot name="headerRight"> | |
<form action="" method="get"> | |
<x-text-input id="search" name="search" type="text" class="p-1 m-0 md:w-72 w-80 mt-3 md:mt-0" value="" | |
placeholder="masukkan kata kunci..." /> |
<x-app-layout> | |
<x-slot name="header"> | |
<h2 class="font-semibold text-xl text-gray-800 leading-tight"> | |
Edit Tulisan | |
</h2> | |
</x-slot> | |
<div class="py-12"> | |
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8 space-y-6"> | |
<div class="p-4 sm:p-8 bg-white shadow sm:rounded-lg"> | |
<div class="max-w-2xl"> |
<x-app-layout> | |
<x-slot name="header"> | |
<h2 class="font-semibold text-xl text-gray-800 leading-tight"> | |
Pengaturan Blog | |
</h2> | |
</x-slot> | |
<div class="py-12"> | |
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> | |
<div class="bg-white shadow-sm sm:rounded-lg overflow-x-auto"> |
App.jsx
/ yang mengandung BrowserRouter
function App() {
return (
<BrowserRouter basename="/nama-direktori">
{/* lokasi router */}
</BrowserRouter>
);
}
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
.table-sortable>thead>tr>th.sort { | |
cursor: pointer; | |
position: relative; | |
} | |
.table-sortable>thead>tr>th.sort:after, | |
.table-sortable>thead>tr>th.sort:after, | |
.table-sortable>thead>tr>th.sort:after { | |
content: ' '; | |
position: absolute; |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Data Pegawai</title> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | |
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous"> |