modified the button!
This commit is contained in:
@@ -434,19 +434,20 @@ export default function PostPage({ params }: { params: { slug: string[] } }) {
|
||||
<div className="flex items-center justify-between h-16">
|
||||
<Link
|
||||
href="/"
|
||||
className="inline-flex items-center text-gray-600 hover:text-gray-900 transition-colors"
|
||||
className="inline-flex items-center px-3 py-2 text-sm font-medium text-gray-700 bg-gray-100 hover:bg-gray-200 rounded-lg transition-colors duration-200 sm:px-4 sm:py-2 sm:text-base"
|
||||
>
|
||||
<svg className="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<svg className="w-4 h-4 mr-2 sm:w-5 sm:h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M10 19l-7-7m0 0l7-7m-7 7h18" />
|
||||
</svg>
|
||||
Zurück zur Startseite
|
||||
<span className="hidden sm:inline">Zurück zur Startseite</span>
|
||||
<span className="sm:hidden">Zurück</span>
|
||||
</Link>
|
||||
<button
|
||||
onClick={() => router.back()}
|
||||
className="text-gray-600 hover:text-gray-900 transition-colors"
|
||||
className="p-2 text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors duration-200"
|
||||
title="Zurück (ESC)"
|
||||
>
|
||||
<svg className="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<svg className="w-5 h-5 sm:w-6 sm:h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M6 18L18 6M6 6l12 12" />
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user