<script>
import { cookies } from 'next/headers'
export default function Page() { const cookieStore = cookies() return cookieStore.getAll().map((cookie) => ( <div key={cookie.name}> <p>Name: {cookie.name}</p> <p>Value: {cookie.value}</p> </div> ))}
</script>
<style>
body {
border: 10px dotted red;
background: lightpink;
}
</style>