-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
101 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import logo from "~/images/logo.png"; | ||
import Links from "./links"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className="container mx-auto py-5 text-center lg:flex lg:items-start lg:items-center lg:gap-10 lg:text-left"> | ||
<img | ||
src={logo} | ||
className="mx-auto block h-[auto] w-[120px] lg:mr-5 lg:inline-block" | ||
alt="Home" | ||
/> | ||
<ul className="my-5 inline-block whitespace-nowrap [&>*]:mx-2 [&>*]:my-2 sm:[&>*]:block md:[&>*]:inline-block"> | ||
<Links /> | ||
</ul> | ||
<div className="flex-1 px-4 text-left"> | ||
Technique-Weighted Shared-Decision Making. Sponsored by National Taiwan | ||
University Hospital Yunlin Branch. | ||
</div> | ||
</footer> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import logo from "~/images/logo.png"; | ||
import Links from "./links"; | ||
|
||
export default function Header() { | ||
return ( | ||
<header className="container fixed py-5 text-right"> | ||
<img src={logo} className="mr-5 inline-block w-[60px]" alt="Home" /> | ||
<ul className="inline-block [&>*]:mx-2 [&>*]:inline-block"> | ||
<Links /> | ||
</ul> | ||
</header> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Link } from "@remix-run/react"; | ||
|
||
export default function Links() { | ||
return ( | ||
<> | ||
<li> | ||
<Link to="/">首頁</Link> | ||
</li> | ||
<li> | ||
<Link to="/plan">計畫自由選</Link> | ||
</li> | ||
<li> | ||
<Link to="/choice">選擇障礙專區</Link> | ||
</li> | ||
<li> | ||
<Link to="/curing">CP 值專區</Link> | ||
</li> | ||
<li> | ||
<Link to="/assessment">專業評估</Link> | ||
</li> | ||
<li> | ||
<Link to="/contact">關於我們</Link> | ||
</li> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
export default function () { | ||
return <div>首頁</div>; | ||
return ( | ||
<div> | ||
<div className="h-[300px] bg-yellow-100" /> | ||
首頁 | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters