diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 98faf52..119cabc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,4 +1,5 @@ { "image": "node:18-bullseye", - "remoteUser": "1000" + "remoteUser": "1000", + "appPort": [3000, "60888:3000"] } diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5274a9b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "remote.localPortHost": "allInterfaces" +} \ No newline at end of file diff --git a/next.config.js b/next.config.js index a843cbe..7e3b3a2 100755 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,9 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, + // images: { + // loader: "custom" + // }, } module.exports = nextConfig diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx index 9469b56..fd0cf6e 100644 --- a/pages/dashboard.tsx +++ b/pages/dashboard.tsx @@ -1,12 +1,39 @@ import { NextPage } from "next"; -import { Navbar } from "react-bootstrap"; +import { Button, Card, Col, Container, Form, Row } from "react-bootstrap"; const DashBoard: NextPage = () => { + const entryBlocks = [{}, {}]; + return ( <> - - My Website - + + + +

智慧养老综合服务平台

+
+ + + + + 养老大数据 + + + + + + + +
); }; diff --git a/pages/login.tsx b/pages/login.tsx new file mode 100644 index 0000000..696ca1e --- /dev/null +++ b/pages/login.tsx @@ -0,0 +1,38 @@ +import { NextPage } from "next"; +import { Button, Col, Container, Form, Row } from "react-bootstrap"; + + +const Login: NextPage = () => { + return ( + <> + + + +

登录

+

智慧养老综合服务平台

+ + +
+ + 用户名 + + + + + 密码 + + + + + + + +
+ +
+
+ + ); +}; + +export default Login; diff --git a/pages/test.tsx b/pages/test.tsx new file mode 100644 index 0000000..a9c0497 --- /dev/null +++ b/pages/test.tsx @@ -0,0 +1,30 @@ +import { NextPage } from "next"; +import { + Button, + Col, + Container, + OverlayTrigger, + Popover, +} from "react-bootstrap"; + +const popover = ( + + Right Popover + My Something special. + +); + +const Test: NextPage = () => { + return ( + + +

Hello

+ + + + +
+ ); +}; + +export default Test;