diff --git a/package-lock.json b/package-lock.json index ee7c5bf..dab67d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "react-dom": "^18.2.0", "react-router-dom": "^6.22.0", "react-scripts": "5.0.1", + "sass": "^1.70.0", "web-vitals": "^2.1.4", "wpapi": "^1.2.2" } @@ -9449,6 +9450,11 @@ "url": "https://opencollective.com/immer" } }, + "node_modules/immutable": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.5.tgz", + "integrity": "sha512-8eabxkth9gZatlwl5TBuJnCsoTADlL6ftEr7A4qgdaTsPyreilDSnUk57SO+jfKcNtxPa22U5KK6DSeAYhpBJw==" + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -15614,6 +15620,22 @@ "resolved": "https://registry.npmjs.org/sanitize.css/-/sanitize.css-13.0.0.tgz", "integrity": "sha512-ZRwKbh/eQ6w9vmTjkuG0Ioi3HBwPFce0O+v//ve+aOq1oeCy7jMV2qzzAlpsNuqpqCBjjriM1lbtZbF/Q8jVyA==" }, + "node_modules/sass": { + "version": "1.70.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.70.0.tgz", + "integrity": "sha512-uUxNQ3zAHeAx5nRFskBnrWzDUJrrvpCPD5FNAoRvTi0WwremlheES3tg+56PaVtCs5QDRX5CBLxxKMDJMEa1WQ==", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/sass-loader": { "version": "12.6.0", "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-12.6.0.tgz", diff --git a/package.json b/package.json index 4988e84..f545478 100644 --- a/package.json +++ b/package.json @@ -10,12 +10,13 @@ "react-dom": "^18.2.0", "react-router-dom": "^6.22.0", "react-scripts": "5.0.1", + "sass": "^1.70.0", "web-vitals": "^2.1.4", "wpapi": "^1.2.2" }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "PUBLIC_URL=/wp-content/reactpress/apps/skb/build react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, diff --git a/src/App.js b/src/App.js index 3784575..30d4cb3 100644 --- a/src/App.js +++ b/src/App.js @@ -1,9 +1,11 @@ import logo from './logo.svg'; import './App.css'; +import Header from './components/Header/Header'; function App() { return (
+
logo