Skip to content

Commit

Permalink
"Dashboard settings" and "OpenSource" pages. These changes included t…
Browse files Browse the repository at this point in the history
…he addition of a 'DFDATokenForm' in the settings page and changing the texts in 'OpenSource.tsx'.
  • Loading branch information
mikepsinn committed Jul 10, 2024
1 parent ce9bbb5 commit 6d7526b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 44 deletions.
3 changes: 3 additions & 0 deletions app/dashboard/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Shell } from "@/components/layout/shell"
import { DashboardHeader } from "@/components/pages/dashboard/dashboard-header"
import { AppearanceForm } from "@/components/settings/appearance-form"
import { UserNameForm } from "@/components/user/user-name-form"
import {DFDATokenForm} from "@/components/settings/dfda-access-token-form";

export const metadata: Metadata = {
title: "Settings",
Expand All @@ -28,6 +29,8 @@ export default async function SettingsPage() {
/>
<div className="grid grid-cols-1 gap-6">
<UserNameForm user={{ id: user.id, username: user.username || "" }} />
<DFDATokenForm userId={user.id} />
{/*<DFDAEmailForm />*/}
<AppearanceForm />
</div>
</Shell>
Expand Down
2 changes: 1 addition & 1 deletion app/dfda/claude/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default async function Dashboard({ searchParams }: DashboardProps) {
return (
<Shell>
<DrugClassificationFormGoogle />
<DrugClassificationForm></DrugClassificationForm>
{/*<DrugClassificationForm></DrugClassificationForm>*/}
</Shell>
)
}
40 changes: 0 additions & 40 deletions components/landing-page/three-orbit-controls.d.ts

This file was deleted.

6 changes: 3 additions & 3 deletions components/pages/opensource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ export default async function OpenSource() {
.then((res) => res.json())
.catch((e) => console.error(e))

const buttonText = `Star and Fork on Github`
const buttonText = `Fork Me!`

return (
<section className="container py-12 lg:py-20">
<div className="flex flex-col items-center gap-4">
<HeadingText
subtext="Pull requests and wish submission via GitHub issues is appreciated!"
subtext="Go ahead and steal it and create a better world!"
className="text-center"
>
Wishonia is Free and Open Source!
Think Wishonia Sucks?
</HeadingText>
<Link
href={siteConfig.links.github}
Expand Down

0 comments on commit 6d7526b

Please sign in to comment.