@@ -1,9 +1,11 @@
import './App.css';
import Home from './pages/Home.jsx';
+import ScreenShot from './pages/ScreenShot/ScreenShot.jsx';
function App() {
return (
<div className="app">
<Home />
+ <ScreenShot />
</div>
);
}
@@ -241,5 +241,5 @@ exit /b
:EndScript
endlocal
-echo 按任意键退出窗口...
+echo Press any key to exit...
pause >nul
@@ -0,0 +1,3 @@
+.ScreenShot-container {
+ padding: 20px;
+}
@@ -0,0 +1,7 @@
+export function ScreenShotLogic() {
+ // business logic placeholder
+
+ return {
+ // expose data or methods here
+ };
@@ -0,0 +1,14 @@
+import './ScreenShot.css';
+import { ScreenShotLogic } from './ScreenShot.js';
+function ScreenShot() {
+ const logic = ScreenShotLogic();
+ return (
+ <div className="ScreenShot-container">
+ <h1>ScreenShot</h1>
+ </div>
+ );
+export default ScreenShot;