verify email

This commit is contained in:
Max Peintner
2023-05-22 11:48:18 +02:00
parent db7ba251ed
commit b169faad0e
12 changed files with 159 additions and 33 deletions

View File

@@ -3,7 +3,11 @@
import React from "react";
import { usePathname } from "next/navigation";
export function AddressBar() {
type Props = {
domain: string;
};
export function AddressBar({ domain }: Props) {
const pathname = usePathname();
return (
@@ -24,7 +28,7 @@ export function AddressBar() {
</div>
<div className="flex space-x-1 text-sm font-medium">
<div>
<span className="px-2 text-gray-500">acme.com</span>
<span className="px-2 text-gray-500">{domain}</span>
</div>
{pathname ? (
<>