Skip to content

Commit

Permalink
ding ding
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Sep 3, 2024
1 parent af43e99 commit 18386bb
Show file tree
Hide file tree
Showing 17 changed files with 904 additions and 217 deletions.
4 changes: 2 additions & 2 deletions apps/backoffice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@devops/format": "workspace:*",
"antd": "^4.24.16",
"luxon": "^3.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand All @@ -29,4 +29,4 @@
"typescript-eslint": "^8.0.1",
"vite": "^5.4.1"
}
}
}
14 changes: 13 additions & 1 deletion apps/backoffice/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
import { Button } from 'antd';
import { DateTime } from 'luxon';
import { useState } from 'react';
import './App.css';

function App() {
const [counter, setCounter] = useState(0);
return (
<>
<p>Welcome to backoffice</p>
<p
style={{
fontSize: '30px',
}}
>
Welcome to backoffice
</p>
<p>{DateTime.now().toFormat('yyyy-MM-dd')}</p>
<Button onClick={() => setCounter(counter + 1)}>
Click me: {counter}
</Button>
</>
);
}
Expand Down
32 changes: 0 additions & 32 deletions apps/backoffice/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,35 +34,3 @@ h1 {
font-size: 3.2em;
line-height: 1.1;
}

button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}
2 changes: 1 addition & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@devops/format": "workspace:*",
"antd": "^4.24.16",
"luxon": "^3.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
14 changes: 13 additions & 1 deletion apps/dashboard/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
import { Button } from 'antd';
import { DateTime } from 'luxon';
import { useState } from 'react';
import './App.css';

function App() {
const [counter, setCounter] = useState(0);
return (
<>
<p>Welcome to dashboard</p>
<p
style={{
fontSize: '30px',
}}
>
Welcome to dashboard
</p>
<p>{DateTime.now().toFormat('yyyy-MM-dd')}</p>
<Button onClick={() => setCounter(counter + 1)}>
Click me: {counter}
</Button>
</>
);
}
Expand Down
32 changes: 0 additions & 32 deletions apps/dashboard/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,35 +34,3 @@ h1 {
font-size: 3.2em;
line-height: 1.1;
}

button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}
3 changes: 1 addition & 2 deletions apps/official-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"preview": "vite preview"
},
"dependencies": {
"@devops/format": "workspace:*",
"luxon": "^3.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand All @@ -29,4 +28,4 @@
"typescript-eslint": "^8.0.1",
"vite": "^5.4.1"
}
}
}
25 changes: 0 additions & 25 deletions packages/format/.eslintrc.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/format/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions packages/format/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions packages/format/project.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/format/src/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/format/src/lib/format.ts

This file was deleted.

19 changes: 0 additions & 19 deletions packages/format/tsconfig.json

This file was deleted.

10 changes: 0 additions & 10 deletions packages/format/tsconfig.lib.json

This file was deleted.

Loading

0 comments on commit 18386bb

Please sign in to comment.