Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

blogkit-theme-minimal

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blogkit-theme-minimal - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

2

lib/components/Home.d.ts
/// <reference types="react" />
import type { HomePageProps } from 'blogkit';
export declare function Home({ posts, siteConfig }: HomePageProps): JSX.Element;
export declare function Home({ posts, siteConfig, themeConfig }: HomePageProps): JSX.Element;

@@ -13,4 +13,7 @@ "use strict";

const date_1 = require("../date");
function Home({ posts, siteConfig }) {
return ((0, jsx_runtime_1.jsxs)(Container_1.Container, { children: [(0, jsx_runtime_1.jsx)(head_1.default, { children: (0, jsx_runtime_1.jsx)("title", { children: siteConfig.title }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("h1", Object.assign({ className: "text-4xl font-extrabold" }, { children: siteConfig.title }), void 0), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "mt-16 mb-12" }, { children: (0, jsx_runtime_1.jsx)("ul", Object.assign({ className: "pl-0" }, { children: posts.map((post) => {
function Home({ posts, siteConfig, themeConfig }) {
var _a;
return ((0, jsx_runtime_1.jsxs)(Container_1.Container, { children: [(0, jsx_runtime_1.jsx)(head_1.default, { children: (0, jsx_runtime_1.jsx)("title", { children: siteConfig.title }, void 0) }, void 0), (0, jsx_runtime_1.jsx)("h1", Object.assign({ className: "text-4xl font-extrabold" }, { children: siteConfig.title }), void 0), (themeConfig === null || themeConfig === void 0 ? void 0 : themeConfig.links) && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex gap-2" }, { children: (_a = themeConfig === null || themeConfig === void 0 ? void 0 : themeConfig.links) === null || _a === void 0 ? void 0 : _a.map((link) => {
return ((0, jsx_runtime_1.jsx)(link_1.default, Object.assign({ href: link.url }, { children: (0, jsx_runtime_1.jsx)("a", Object.assign({ target: "_blank" }, { children: link.name }), void 0) }), link.url));
}) }), void 0)), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "mt-12 mb-12" }, { children: (0, jsx_runtime_1.jsx)("ul", Object.assign({ className: "pl-0" }, { children: posts.map((post) => {
return (0, jsx_runtime_1.jsx)(PostItem, { post: post }, post.attributes.slug);

@@ -17,0 +20,0 @@ }) }), void 0) }), void 0), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "my-16" }, { children: (0, jsx_runtime_1.jsx)(Footer_1.Footer, {}, void 0) }), void 0)] }, void 0));

{
"name": "blogkit-theme-minimal",
"version": "0.2.2",
"version": "0.3.0",
"description": "",

@@ -20,3 +20,3 @@ "main": "lib/index.js",

"autoprefixer": "^10.4.2",
"blogkit": "*",
"blogkit": "^0.3.3",
"concurrently": "^7.0.0",

@@ -23,0 +23,0 @@ "next": "^12.1.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc