Skip to content

Commit

Permalink
update dashboard links
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsender committed Oct 22, 2024
1 parent 826d146 commit 369e971
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/components/navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function NavigationSite() {
<li>
{user ? (
<Link
to="/app/dashboard"
to="/app"
className="text-sm leading-6 hover:text-gray-900"
>
Dashboard
Expand Down Expand Up @@ -101,7 +101,7 @@ export function NavigationSite() {
<div className="py-6">
{user ? (
<Link
to="/app/dashboard"
to="/app"
className="-mx-3 block rounded-lg px-3 py-2.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
>
Dashboard
Expand Down Expand Up @@ -139,7 +139,7 @@ export function NavigationSiteFooter() {
))}
<li>
{user ? (
<Link to="/app/dashboard">Dashboard</Link>
<Link to="/app">Dashboard</Link>
) : (
<Link to="/auth/login">Log in</Link>
)}
Expand Down
8 changes: 7 additions & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
} from "@heroicons/react/20/solid";
import type { MetaFunction } from "@remix-run/node";
import { Link } from "@remix-run/react";
import { FormInputIcon } from "lucide-react";

import BrowserMockup from "~/components/browser-mockup";
import { NavigationSite, NavigationSiteFooter } from "~/components/navigation";
Expand Down Expand Up @@ -171,9 +172,14 @@ const features = [
),
icon: <EnvelopeIcon className="w-4" />,
},
{
name: "Advanced form validation",
description: `Form validation examples with <a href="https://zod.dev/">Zod</a> and <a href="https://conform.guide/">Conform</a>.`,
icon: <FormInputIcon className="w-4" />,
},
{
name: "Light weight CMS",
description: `Local content management built into the database with a <a href="https://templates.tiptap.dev/">tiptap</a> editing experience.`,
description: `Local content management built into the database with a <a class="underline" href="https://templates.tiptap.dev/">tiptap</a> editing experience.`,
screenshot: (
<BrowserMockup className="md:w-1/2">
<img
Expand Down
2 changes: 1 addition & 1 deletion app/routes/verify.$token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Welcome() {
{loaderData.success ? (
<p>
{loaderData.success}{" "}
<Link to="/app/dashboard" className="underline">
<Link to="/app" className="underline">
Continue home
</Link>
.
Expand Down

0 comments on commit 369e971

Please sign in to comment.