"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getServerSideProps = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const link_1 = __importDefault(require("next/link"));
const antd_1 = require("antd");
const footer_1 = __importDefault(require("components/landing/footer"));
const header_1 = __importDefault(require("components/landing/header"));
const with_customize_1 = __importDefault(require("lib/with-customize"));
const customize_1 = require("lib/share/customize");
const head_1 = __importDefault(require("components/landing/head"));
const logo_square_1 = __importDefault(require("components/logo-square"));
const site_name_1 = __importDefault(require("components/share/site-name"));
function Home({ customize }) {
    return ((0, jsx_runtime_1.jsxs)(customize_1.Customize, { value: customize, children: [(0, jsx_runtime_1.jsx)(head_1.default, { title: "Shared Public Files" }), (0, jsx_runtime_1.jsxs)(antd_1.Layout, { children: [(0, jsx_runtime_1.jsx)(header_1.default, {}), (0, jsx_runtime_1.jsxs)("div", { style: { fontSize: "16pt", textAlign: "center", margin: "60px" }, children: [(0, jsx_runtime_1.jsx)(logo_square_1.default, { style: { width: "120px", height: "120px" } }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsx)("br", {}), "Browse recent", " ", (0, jsx_runtime_1.jsx)(link_1.default, { href: "/share/public_paths/page/1", children: (0, jsx_runtime_1.jsxs)("a", { children: [(0, jsx_runtime_1.jsx)(site_name_1.default, {}), " Shared Public Files..."] }) })] }), (0, jsx_runtime_1.jsx)(footer_1.default, {})] })] }));
}
exports.default = Home;
async function getServerSideProps(context) {
    return await (0, with_customize_1.default)({ context });
}
exports.getServerSideProps = getServerSideProps;
//# sourceMappingURL=index.js.map