Skip to content

Commit

Permalink
chore: use corner css
Browse files Browse the repository at this point in the history
  • Loading branch information
myNameIsDu committed Oct 30, 2022
1 parent 50735fa commit 27dba18
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 1,946 deletions.
9 changes: 5 additions & 4 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ import {
} from "@remix-run/react";

import styles from "./styles/root.css";
import doodle from "./styles/doodle.css";

export function links() {
return [
// tailwind 生成
{ rel: "stylesheet", href: styles },
// doodle css https://github.com/chr15m/DoodleCSS
{ rel: "stylesheet", href: doodle },
{
rel: "stylesheet",
href: "https://resource.sunbohao.com/cornerCss/index-273b31bd39.css",
},
];
}

Expand All @@ -39,7 +40,7 @@ export default function App() {
<Meta />
<Links />
</head>
<body className="doodle">
<body className="corner">
<div className="flex h-screen flex-col m-[0 auto] items-center pt-[20px]">
<ul className="shrink-0 flex mb-[20px]">
<NavLink style={activeStyle} to="help-you-choose">
Expand Down
169 changes: 0 additions & 169 deletions app/styles/doodle.css

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "concurrently \"npm run dev:css\" \"remix dev\"",
"dev:css": "tailwindcss -w -i ./app/styles/app.css -o ./app/styles/root.css",
"start": "PORT=4000 remix-serve build",
"deploy":"pnpm i && docker build -t eatwhat . && docker container run -d -p 4000:4000 --rm eatwhat"
"deploy": "pnpm i && docker build -t eatwhat . && docker container run -d -p 4000:4000 --rm eatwhat"
},
"dependencies": {
"@remix-run/node": "^1.7.3",
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

83 changes: 0 additions & 83 deletions public/img/border.svg

This file was deleted.

68 changes: 0 additions & 68 deletions public/img/bq.svg

This file was deleted.

Loading

0 comments on commit 27dba18

Please sign in to comment.