@fecommunity/reactpress-template-hello-world 1.0.0-beta.1 → 1.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/.next/cache/.tsbuildinfo +1 -0
  2. package/.next/cache/webpack/client-development/0.pack +0 -0
  3. package/.next/cache/webpack/client-development/index.pack +0 -0
  4. package/.next/cache/webpack/client-development-fallback/0.pack +0 -0
  5. package/.next/cache/webpack/client-development-fallback/index.pack +0 -0
  6. package/.next/cache/webpack/client-production/0.pack +0 -0
  7. package/.next/cache/webpack/client-production/index.pack +0 -0
  8. package/.next/cache/webpack/server-development/0.pack +0 -0
  9. package/.next/cache/webpack/server-development/1.pack +0 -0
  10. package/.next/cache/webpack/server-development/index.pack +0 -0
  11. package/.next/cache/webpack/server-development/index.pack.old +0 -0
  12. package/.next/cache/webpack/server-production/0.pack +0 -0
  13. package/.next/cache/webpack/server-production/1.pack +0 -0
  14. package/.next/cache/webpack/server-production/2.pack +0 -0
  15. package/.next/cache/webpack/server-production/index.pack +0 -0
  16. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  17. package/.next/package.json +1 -0
  18. package/.next/routes-manifest.json +1 -0
  19. package/.next/server/chunks/402.js +67 -0
  20. package/.next/server/chunks/415.js +32 -0
  21. package/.next/server/chunks/843.js +2759 -0
  22. package/.next/server/chunks/990.js +134 -0
  23. package/.next/server/chunks/font-manifest.json +1 -0
  24. package/.next/server/font-manifest.json +1 -0
  25. package/.next/server/middleware-manifest.json +6 -0
  26. package/.next/server/pages/404.js +309 -0
  27. package/.next/server/pages/404.js.nft.json +1 -0
  28. package/.next/server/pages/_app.js +91 -0
  29. package/.next/server/pages/_app.js.nft.json +1 -0
  30. package/.next/server/pages/_document.js +800 -0
  31. package/.next/server/pages/_document.js.nft.json +1 -0
  32. package/.next/server/pages/_error.js +148 -0
  33. package/.next/server/pages/_error.js.nft.json +1 -0
  34. package/.next/server/pages/about.js +450 -0
  35. package/.next/server/pages/about.js.nft.json +1 -0
  36. package/.next/server/pages/index.js +453 -0
  37. package/.next/server/pages/index.js.nft.json +1 -0
  38. package/.next/server/pages/toolkit-demo.js +574 -0
  39. package/.next/server/pages/toolkit-demo.js.nft.json +1 -0
  40. package/.next/server/pages-manifest.json +9 -0
  41. package/.next/server/webpack-runtime.js +160 -0
  42. package/README.md +4 -4
  43. package/next-env.d.ts +1 -1
  44. package/package.json +2 -2
  45. package/pages/about.tsx +2 -2
  46. package/pages/index.tsx +2 -2
  47. package/pages/toolkit-demo.tsx +4 -4
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../webpack-runtime.js","../chunks/415.js","../../package.json","../../../node_modules/react","../../../node_modules/next"]}
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+ (() => {
3
+ var exports = {};
4
+ exports.id = 820;
5
+ exports.ids = [820];
6
+ exports.modules = {
7
+
8
+ /***/ 2009:
9
+ /***/ ((__unused_webpack_module, exports) => {
10
+
11
+ var __webpack_unused_export__;
12
+
13
+ __webpack_unused_export__ = ({
14
+ value: true
15
+ });
16
+ exports.Z = _interopRequireDefault;
17
+ function _interopRequireDefault(obj) {
18
+ return obj && obj.__esModule ? obj : {
19
+ default: obj
20
+ };
21
+ }
22
+
23
+
24
+ /***/ }),
25
+
26
+ /***/ 2490:
27
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
28
+
29
+
30
+ Object.defineProperty(exports, "__esModule", ({
31
+ value: true
32
+ }));
33
+ exports["default"] = void 0;
34
+ var _interop_require_default = (__webpack_require__(2009)/* ["default"] */ .Z);
35
+ var _react = _interop_require_default(__webpack_require__(6689));
36
+ var _head = _interop_require_default(__webpack_require__(4957));
37
+ const statusCodes = {
38
+ 400: "Bad Request",
39
+ 404: "This page could not be found",
40
+ 405: "Method Not Allowed",
41
+ 500: "Internal Server Error"
42
+ };
43
+ function _getInitialProps({ res , err }) {
44
+ const statusCode = res && res.statusCode ? res.statusCode : err ? err.statusCode : 404;
45
+ return {
46
+ statusCode
47
+ };
48
+ }
49
+ const styles = {
50
+ error: {
51
+ fontFamily: '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
52
+ height: "100vh",
53
+ textAlign: "center",
54
+ display: "flex",
55
+ flexDirection: "column",
56
+ alignItems: "center",
57
+ justifyContent: "center"
58
+ },
59
+ desc: {
60
+ display: "inline-block",
61
+ textAlign: "left",
62
+ lineHeight: "49px",
63
+ height: "49px",
64
+ verticalAlign: "middle"
65
+ },
66
+ h1: {
67
+ display: "inline-block",
68
+ margin: 0,
69
+ marginRight: "20px",
70
+ padding: "0 23px 0 0",
71
+ fontSize: "24px",
72
+ fontWeight: 500,
73
+ verticalAlign: "top",
74
+ lineHeight: "49px"
75
+ },
76
+ h2: {
77
+ fontSize: "14px",
78
+ fontWeight: "normal",
79
+ lineHeight: "49px",
80
+ margin: 0,
81
+ padding: 0
82
+ }
83
+ };
84
+ var _Component;
85
+ class Error extends (_Component = _react.default.Component) {
86
+ render() {
87
+ const { statusCode , withDarkMode =true } = this.props;
88
+ const title = this.props.title || statusCodes[statusCode] || "An unexpected error has occurred";
89
+ return /*#__PURE__*/ _react.default.createElement("div", {
90
+ style: styles.error
91
+ }, /*#__PURE__*/ _react.default.createElement(_head.default, null, /*#__PURE__*/ _react.default.createElement("title", null, statusCode ? `${statusCode}: ${title}` : "Application error: a client-side exception has occurred")), /*#__PURE__*/ _react.default.createElement("div", null, /*#__PURE__*/ _react.default.createElement("style", {
92
+ dangerouslySetInnerHTML: {
93
+ __html: `
94
+ body { margin: 0; color: #000; background: #fff; }
95
+ .next-error-h1 {
96
+ border-right: 1px solid rgba(0, 0, 0, .3);
97
+ }
98
+
99
+ ${withDarkMode ? `@media (prefers-color-scheme: dark) {
100
+ body { color: #fff; background: #000; }
101
+ .next-error-h1 {
102
+ border-right: 1px solid rgba(255, 255, 255, .3);
103
+ }
104
+ }` : ""}`
105
+ }
106
+ }), statusCode ? /*#__PURE__*/ _react.default.createElement("h1", {
107
+ className: "next-error-h1",
108
+ style: styles.h1
109
+ }, statusCode) : null, /*#__PURE__*/ _react.default.createElement("div", {
110
+ style: styles.desc
111
+ }, /*#__PURE__*/ _react.default.createElement("h2", {
112
+ style: styles.h2
113
+ }, this.props.title || statusCode ? title : /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, "Application error: a client-side exception has occurred (see the browser console for more information)"), "."))));
114
+ }
115
+ }
116
+ Error.displayName = "ErrorPage";
117
+ Error.getInitialProps = _getInitialProps;
118
+ Error.origGetInitialProps = _getInitialProps;
119
+ exports["default"] = Error; //# sourceMappingURL=_error.js.map
120
+
121
+
122
+ /***/ }),
123
+
124
+ /***/ 4957:
125
+ /***/ ((module) => {
126
+
127
+ module.exports = require("next/dist/shared/lib/head.js");
128
+
129
+ /***/ }),
130
+
131
+ /***/ 6689:
132
+ /***/ ((module) => {
133
+
134
+ module.exports = require("react");
135
+
136
+ /***/ })
137
+
138
+ };
139
+ ;
140
+
141
+ // load runtime
142
+ var __webpack_require__ = require("../webpack-runtime.js");
143
+ __webpack_require__.C(exports);
144
+ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
145
+ var __webpack_exports__ = (__webpack_exec__(2490));
146
+ module.exports = __webpack_exports__;
147
+
148
+ })();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../webpack-runtime.js","../../package.json","../../../node_modules/react","../../../node_modules/next"]}
@@ -0,0 +1,450 @@
1
+ "use strict";
2
+ (() => {
3
+ var exports = {};
4
+ exports.id = 521;
5
+ exports.ids = [521];
6
+ exports.modules = {
7
+
8
+ /***/ 535:
9
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
+
11
+ __webpack_require__.r(__webpack_exports__);
12
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
+ /* harmony export */ "default": () => (/* binding */ About),
14
+ /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
15
+ /* harmony export */ });
16
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
17
+ /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
18
+ /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9816);
19
+ /* harmony import */ var styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_jsx_style__WEBPACK_IMPORTED_MODULE_1__);
20
+ /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(968);
21
+ /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_2__);
22
+ /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6843);
23
+ /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_3__);
24
+ Object(function webpackMissingModule() { var e = new Error("Cannot find module '@fecommunity/reactpress-toolkit/dist/api/instance'"); e.code = 'MODULE_NOT_FOUND'; throw e; }());
25
+ Object(function webpackMissingModule() { var e = new Error("Cannot find module '@fecommunity/reactpress-toolkit/dist/utils'"); e.code = 'MODULE_NOT_FOUND'; throw e; }());
26
+ /* harmony import */ var _components_Header__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9503);
27
+ /* harmony import */ var _components_Footer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9845);
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+ // Create a custom API instance with the desired baseURL
37
+ const customApi = Object(function webpackMissingModule() { var e = new Error("Cannot find module '@fecommunity/reactpress-toolkit/dist/api/instance'"); e.code = 'MODULE_NOT_FOUND'; throw e; }())({
38
+ baseURL: "https://api.gaoredu.com/"
39
+ });
40
+ // Group utilities under a utils object to match the existing code
41
+ const utils = {
42
+ formatDate: Object(function webpackMissingModule() { var e = new Error("Cannot find module '@fecommunity/reactpress-toolkit/dist/utils'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()),
43
+ ApiError: Object(function webpackMissingModule() { var e = new Error("Cannot find module '@fecommunity/reactpress-toolkit/dist/utils'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()),
44
+ isApiError: Object(function webpackMissingModule() { var e = new Error("Cannot find module '@fecommunity/reactpress-toolkit/dist/utils'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()),
45
+ deepClone: Object(function webpackMissingModule() { var e = new Error("Cannot find module '@fecommunity/reactpress-toolkit/dist/utils'"); e.code = 'MODULE_NOT_FOUND'; throw e; }())
46
+ };
47
+ function About({ siteInfo }) {
48
+ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
49
+ className: "jsx-d536c380020162b7" + " " + "container",
50
+ children: [
51
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)((next_head__WEBPACK_IMPORTED_MODULE_2___default()), {
52
+ children: [
53
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("title", {
54
+ className: "jsx-d536c380020162b7",
55
+ children: "About - Hello World Template"
56
+ }),
57
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("meta", {
58
+ name: "description",
59
+ content: "About the hello-world template for ReactPress",
60
+ className: "jsx-d536c380020162b7"
61
+ }),
62
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("link", {
63
+ rel: "icon",
64
+ href: "/favicon.ico",
65
+ className: "jsx-d536c380020162b7"
66
+ })
67
+ ]
68
+ }),
69
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Header__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
70
+ currentPage: "about"
71
+ }),
72
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("main", {
73
+ className: "jsx-d536c380020162b7" + " " + "main",
74
+ children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
75
+ className: "jsx-d536c380020162b7" + " " + "content-wrapper",
76
+ children: [
77
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
78
+ className: "jsx-d536c380020162b7" + " " + "page-header",
79
+ children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h1", {
80
+ className: "jsx-d536c380020162b7" + " " + "page-title",
81
+ children: "About This Template"
82
+ })
83
+ }),
84
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
85
+ className: "jsx-d536c380020162b7" + " " + "content",
86
+ children: [
87
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("p", {
88
+ className: "jsx-d536c380020162b7" + " " + "description",
89
+ children: "This is a minimal hello-world template for ReactPress, built with Next.js Pages Router. It provides a simple starting point for building your own blog or website."
90
+ }),
91
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
92
+ className: "jsx-d536c380020162b7" + " " + "features",
93
+ children: [
94
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
95
+ className: "jsx-d536c380020162b7" + " " + "section-title",
96
+ children: "Features"
97
+ }),
98
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("ul", {
99
+ className: "jsx-d536c380020162b7" + " " + "features-list",
100
+ children: [
101
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("li", {
102
+ className: "jsx-d536c380020162b7",
103
+ children: "Minimal and clean design"
104
+ }),
105
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("li", {
106
+ className: "jsx-d536c380020162b7",
107
+ children: "Responsive layout"
108
+ }),
109
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("li", {
110
+ className: "jsx-d536c380020162b7",
111
+ children: "Built with TypeScript"
112
+ }),
113
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("li", {
114
+ className: "jsx-d536c380020162b7",
115
+ children: "Next.js Pages Router"
116
+ }),
117
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("li", {
118
+ className: "jsx-d536c380020162b7",
119
+ children: "Integrated with ReactPress Toolkit"
120
+ }),
121
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("li", {
122
+ className: "jsx-d536c380020162b7",
123
+ children: "Type-safe with toolkit types"
124
+ }),
125
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("li", {
126
+ className: "jsx-d536c380020162b7",
127
+ children: "Utility functions included"
128
+ })
129
+ ]
130
+ })
131
+ ]
132
+ }),
133
+ siteInfo && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
134
+ className: "jsx-d536c380020162b7" + " " + "site-info",
135
+ children: [
136
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
137
+ className: "jsx-d536c380020162b7" + " " + "section-title",
138
+ children: "Site Information"
139
+ }),
140
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
141
+ className: "jsx-d536c380020162b7" + " " + "info-grid",
142
+ children: [
143
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
144
+ className: "jsx-d536c380020162b7" + " " + "info-item",
145
+ children: [
146
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
147
+ className: "jsx-d536c380020162b7" + " " + "info-label",
148
+ children: "Site Name:"
149
+ }),
150
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
151
+ className: "jsx-d536c380020162b7" + " " + "info-value",
152
+ children: siteInfo.siteName
153
+ })
154
+ ]
155
+ }),
156
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
157
+ className: "jsx-d536c380020162b7" + " " + "info-item",
158
+ children: [
159
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
160
+ className: "jsx-d536c380020162b7" + " " + "info-label",
161
+ children: "Description:"
162
+ }),
163
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
164
+ className: "jsx-d536c380020162b7" + " " + "info-value",
165
+ children: siteInfo.siteDescription
166
+ })
167
+ ]
168
+ })
169
+ ]
170
+ })
171
+ ]
172
+ }),
173
+ /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
174
+ className: "jsx-d536c380020162b7" + " " + "cta-section",
175
+ children: [
176
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_3___default()), {
177
+ href: "/",
178
+ children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("a", {
179
+ className: "jsx-d536c380020162b7" + " " + "back-link",
180
+ children: "← Back to Home"
181
+ })
182
+ }),
183
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_link__WEBPACK_IMPORTED_MODULE_3___default()), {
184
+ href: "/toolkit-demo",
185
+ children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("a", {
186
+ className: "jsx-d536c380020162b7" + " " + "demo-link",
187
+ children: "Toolkit Demo →"
188
+ })
189
+ })
190
+ ]
191
+ })
192
+ ]
193
+ })
194
+ ]
195
+ })
196
+ }),
197
+ /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Footer__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {}),
198
+ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default()), {
199
+ id: "e94cd5156a167b7d",
200
+ children: '.container.jsx-d536c380020162b7{min-height:100vh;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#f8f9fa}.main.jsx-d536c380020162b7{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;padding:3rem 0}.content-wrapper.jsx-d536c380020162b7{max-width:1200px;margin:0 auto;padding:0 2rem}.page-header.jsx-d536c380020162b7{text-align:center;margin-bottom:3rem}.page-title.jsx-d536c380020162b7{font-size:2.5rem;font-weight:800;color:#111827;margin:0 0 1rem 0;letter-spacing:-.025em}.content.jsx-d536c380020162b7{max-width:800px;margin:0 auto;background:#fff;-webkit-border-radius:16px;-moz-border-radius:16px;border-radius:16px;padding:2.5rem;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.05);-moz-box-shadow:0 4px 12px rgba(0,0,0,.05);box-shadow:0 4px 12px rgba(0,0,0,.05)}.description.jsx-d536c380020162b7{color:#6b7280;font-size:1.15rem;line-height:1.7;margin-bottom:2rem}.features.jsx-d536c380020162b7{margin:2.5rem 0}.section-title.jsx-d536c380020162b7{font-size:1.75rem;font-weight:700;color:#111827;margin:0 0 1.5rem 0}.features-list.jsx-d536c380020162b7{list-style-type:none;padding:0}.features-list.jsx-d536c380020162b7 li.jsx-d536c380020162b7{padding:.75rem 0;border-bottom:1px solid#f3f4f6;color:#4b5563;font-size:1.1rem}.features-list.jsx-d536c380020162b7 li.jsx-d536c380020162b7:before{content:"✓";color:#3b82f6;font-weight:bold;display:inline-block;width:1.5rem}.site-info.jsx-d536c380020162b7{margin:2.5rem 0}.info-grid.jsx-d536c380020162b7{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.info-item.jsx-d536c380020162b7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.25rem}.info-label.jsx-d536c380020162b7{font-weight:600;color:#111827}.info-value.jsx-d536c380020162b7{color:#6b7280}.cta-section.jsx-d536c380020162b7{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:2.5rem}.back-link.jsx-d536c380020162b7,.demo-link.jsx-d536c380020162b7{display:inline-block;color:#3b82f6;text-decoration:none;font-weight:600;padding:.75rem 1.5rem;border:2px solid#3b82f6;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;-webkit-transition:all.3s cubic-bezier(.4,0,.2,1);-moz-transition:all.3s cubic-bezier(.4,0,.2,1);-o-transition:all.3s cubic-bezier(.4,0,.2,1);transition:all.3s cubic-bezier(.4,0,.2,1)}.back-link.jsx-d536c380020162b7:hover,.demo-link.jsx-d536c380020162b7:hover{background-color:#3b82f6;color:#fff;-webkit-transform:translateY(-2px);-moz-transform:translateY(-2px);-ms-transform:translateY(-2px);-o-transform:translateY(-2px);transform:translateY(-2px);-webkit-box-shadow:0 4px 10px rgba(59,130,246,.3);-moz-box-shadow:0 4px 10px rgba(59,130,246,.3);box-shadow:0 4px 10px rgba(59,130,246,.3)}.demo-link.jsx-d536c380020162b7{background-color:#3b82f6;color:#fff}@media(max-width:768px){.content.jsx-d536c380020162b7{padding:1.5rem}.page-title.jsx-d536c380020162b7{font-size:2rem}.info-grid.jsx-d536c380020162b7{grid-template-columns:1fr}.cta-section.jsx-d536c380020162b7{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1rem}}'
201
+ }),
202
+ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((styled_jsx_style__WEBPACK_IMPORTED_MODULE_1___default()), {
203
+ id: "a48b555c08a5e98b",
204
+ children: 'html,body{padding:0;margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;background-color:#f8f9fa}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}'
205
+ })
206
+ ]
207
+ });
208
+ }
209
+ const getStaticProps = async ()=>{
210
+ try {
211
+ // Fetch site information using the ReactPress toolkit
212
+ // Cast to any to access the actual response data
213
+ const settingsResponse = await customApi.setting.findAll();
214
+ // Extract site information from settings
215
+ const settings = settingsResponse?.data?.data || [];
216
+ const siteInfo = {
217
+ siteName: settings.find((s)=>s.key === "siteName")?.value || "ReactPress Site",
218
+ siteDescription: settings.find((s)=>s.key === "siteDescription")?.value || "A ReactPress powered site"
219
+ };
220
+ return {
221
+ props: {
222
+ siteInfo
223
+ },
224
+ revalidate: 60
225
+ };
226
+ } catch (error) {
227
+ console.error("Failed to fetch site info:", error);
228
+ // Example of using utils.ApiError
229
+ if (utils.ApiError.isInstance(error)) {
230
+ console.error(`API Error ${error.code}: ${error.message}`);
231
+ }
232
+ return {
233
+ props: {
234
+ siteInfo: null
235
+ },
236
+ revalidate: 60
237
+ };
238
+ }
239
+ };
240
+
241
+
242
+ /***/ }),
243
+
244
+ /***/ 3280:
245
+ /***/ ((module) => {
246
+
247
+ module.exports = require("next/dist/shared/lib/app-router-context.js");
248
+
249
+ /***/ }),
250
+
251
+ /***/ 2796:
252
+ /***/ ((module) => {
253
+
254
+ module.exports = require("next/dist/shared/lib/head-manager-context.js");
255
+
256
+ /***/ }),
257
+
258
+ /***/ 4014:
259
+ /***/ ((module) => {
260
+
261
+ module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
262
+
263
+ /***/ }),
264
+
265
+ /***/ 8524:
266
+ /***/ ((module) => {
267
+
268
+ module.exports = require("next/dist/shared/lib/is-plain-object.js");
269
+
270
+ /***/ }),
271
+
272
+ /***/ 8020:
273
+ /***/ ((module) => {
274
+
275
+ module.exports = require("next/dist/shared/lib/mitt.js");
276
+
277
+ /***/ }),
278
+
279
+ /***/ 4406:
280
+ /***/ ((module) => {
281
+
282
+ module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
283
+
284
+ /***/ }),
285
+
286
+ /***/ 4964:
287
+ /***/ ((module) => {
288
+
289
+ module.exports = require("next/dist/shared/lib/router-context.js");
290
+
291
+ /***/ }),
292
+
293
+ /***/ 1751:
294
+ /***/ ((module) => {
295
+
296
+ module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
297
+
298
+ /***/ }),
299
+
300
+ /***/ 6220:
301
+ /***/ ((module) => {
302
+
303
+ module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
304
+
305
+ /***/ }),
306
+
307
+ /***/ 299:
308
+ /***/ ((module) => {
309
+
310
+ module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
311
+
312
+ /***/ }),
313
+
314
+ /***/ 3938:
315
+ /***/ ((module) => {
316
+
317
+ module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
318
+
319
+ /***/ }),
320
+
321
+ /***/ 9565:
322
+ /***/ ((module) => {
323
+
324
+ module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
325
+
326
+ /***/ }),
327
+
328
+ /***/ 5789:
329
+ /***/ ((module) => {
330
+
331
+ module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
332
+
333
+ /***/ }),
334
+
335
+ /***/ 1897:
336
+ /***/ ((module) => {
337
+
338
+ module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
339
+
340
+ /***/ }),
341
+
342
+ /***/ 1428:
343
+ /***/ ((module) => {
344
+
345
+ module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
346
+
347
+ /***/ }),
348
+
349
+ /***/ 8854:
350
+ /***/ ((module) => {
351
+
352
+ module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
353
+
354
+ /***/ }),
355
+
356
+ /***/ 1292:
357
+ /***/ ((module) => {
358
+
359
+ module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
360
+
361
+ /***/ }),
362
+
363
+ /***/ 4567:
364
+ /***/ ((module) => {
365
+
366
+ module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
367
+
368
+ /***/ }),
369
+
370
+ /***/ 979:
371
+ /***/ ((module) => {
372
+
373
+ module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
374
+
375
+ /***/ }),
376
+
377
+ /***/ 3297:
378
+ /***/ ((module) => {
379
+
380
+ module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
381
+
382
+ /***/ }),
383
+
384
+ /***/ 6052:
385
+ /***/ ((module) => {
386
+
387
+ module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
388
+
389
+ /***/ }),
390
+
391
+ /***/ 4226:
392
+ /***/ ((module) => {
393
+
394
+ module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
395
+
396
+ /***/ }),
397
+
398
+ /***/ 5052:
399
+ /***/ ((module) => {
400
+
401
+ module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
402
+
403
+ /***/ }),
404
+
405
+ /***/ 9232:
406
+ /***/ ((module) => {
407
+
408
+ module.exports = require("next/dist/shared/lib/utils.js");
409
+
410
+ /***/ }),
411
+
412
+ /***/ 968:
413
+ /***/ ((module) => {
414
+
415
+ module.exports = require("next/head");
416
+
417
+ /***/ }),
418
+
419
+ /***/ 6689:
420
+ /***/ ((module) => {
421
+
422
+ module.exports = require("react");
423
+
424
+ /***/ }),
425
+
426
+ /***/ 997:
427
+ /***/ ((module) => {
428
+
429
+ module.exports = require("react/jsx-runtime");
430
+
431
+ /***/ }),
432
+
433
+ /***/ 9816:
434
+ /***/ ((module) => {
435
+
436
+ module.exports = require("styled-jsx/style");
437
+
438
+ /***/ })
439
+
440
+ };
441
+ ;
442
+
443
+ // load runtime
444
+ var __webpack_require__ = require("../webpack-runtime.js");
445
+ __webpack_require__.C(exports);
446
+ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
447
+ var __webpack_exports__ = __webpack_require__.X(0, [402,415,843,990], () => (__webpack_exec__(535)));
448
+ module.exports = __webpack_exports__;
449
+
450
+ })();
@@ -0,0 +1 @@
1
+ {"version":1,"files":["../webpack-runtime.js","../chunks/402.js","../chunks/415.js","../chunks/843.js","../chunks/990.js","../../package.json","../../../node_modules/react","../../../node_modules/next","../../../package.json"]}