Skip to content

Commit

Permalink
chore: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hyamero committed Dec 15, 2024
1 parent ece5a64 commit a6b0261
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/app/event/[name]/cert/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Certificate } from "../../components/certificate";
// import { Certificate } from "../../components/certificate";
import { DevfestCertificate } from "../../components/devfest24-cert";

export default function CertificatePage() {
Expand Down
6 changes: 3 additions & 3 deletions src/app/event/components/event-landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export default function EventLanding({
const form = useForm<z.infer<typeof formSchema>>({
resolver: zodResolver(formSchema),
defaultValues: {
email: "[email protected]",
type: "badge",
email: "",
type: "cert",
},
});

Expand Down Expand Up @@ -122,7 +122,7 @@ export default function EventLanding({
<FormItem>
<FormMessage />
<FormControl>
<Input placeholder="shadcn" {...field} />
<Input placeholder="[email protected]" {...field} />
</FormControl>
<FormDescription>
Enter registered email address
Expand Down
2 changes: 1 addition & 1 deletion src/components/event-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function EventButtons() {

const SearchEventForm = ({}) => {
const router = useRouter();
const [event, setEvent] = useState("hacking-ai");
const [event, setEvent] = useState("");
const [loading, setLoading] = useState(false);

const handleSubmit = (e: FormEvent<HTMLFormElement>) => {
Expand Down
18 changes: 10 additions & 8 deletions src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ import ManageEventDialog from "./manage-event-dialog";
export function Navbar() {
return (
<div className="container absolute left-0 right-0 top-0 z-10 mx-auto flex items-center justify-between pt-10 font-mono text-sm">
<Link
href="https://www.facebook.com/omsimos.official"
target="_blank"
rel="noreferrer noopener"
>
Certi by&nbsp;
<code className="font-mono font-bold">Omsimos</code>
</Link>
<div className="flex items-center">
<Link href="/">Certi by&nbsp;</Link>
<Link
href="https://www.facebook.com/omsimos.official"
target="_blank"
rel="noreferrer noopener"
>
<code className="font-mono font-bold">Omsimos</code>
</Link>
</div>
<div className="space-x-2">
<ToggleTheme />
<ManageEventDialog />
Expand Down

0 comments on commit a6b0261

Please sign in to comment.