Socket
Socket
Sign inDemoInstall

elegant-cli

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elegant-cli - npm Package Compare versions

Comparing version 3.0.0-innovators.9 to 3.0.0-innovators.10

source/elegant/src/components/core/Admin/Pages/styles.css

2

package.json
{
"name": "elegant-cli",
"version": "3.0.0-innovators.9",
"version": "3.0.0-innovators.10",
"description": "Elegant is the easiest way to create a new static website or blog, and publish it online. No need for databases, external services, or complicated server setups.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -60,3 +60,2 @@ {

"next-session": "^4.0.5",
"next-sitemap": "^4.0.9",
"pluralize": "^8.0.0",

@@ -149,2 +148,3 @@ "react": "^18.2.0",

"msw": "^1.2.2",
"next-sitemap": "^4.2.3",
"node-mocks-http": "^1.12.2",

@@ -151,0 +151,0 @@ "opentype.js": "^1.3.4",

@@ -104,3 +104,3 @@ import Link from 'next/link';

'hover:text-primary-500 dark:hover:text-primary-400',
(router.pathname.indexOf('/docs/') > -1 ? 'text-primary-500 dark:text-primary-400' : '')
(router.asPath.indexOf('/docs/') > -1 ? 'text-primary-500 dark:text-primary-400' : '')
)

@@ -117,3 +117,3 @@ }>

'hover:text-primary-500 dark:hover:text-primary-400',
(router.pathname.indexOf('/blog') > -1 ? 'text-primary-500 dark:text-primary-400' : '')
(router.asPath.indexOf('/blog') > -1 ? 'text-primary-500 dark:text-primary-400' : '')
)

@@ -120,0 +120,0 @@ }>

@@ -1,4 +0,1 @@

import '../css/fonts.css';
import '../css/main.css';
import 'focus-visible';
import { useState, useEffect, Fragment } from 'react';

@@ -18,2 +15,6 @@ import { BrandJsonLd, LogoJsonLd, SocialProfileJsonLd, WebPageJsonLd } from 'next-seo';

import SocialSchema from '@/utils/core/Meta/SocialSchema';
import '../css/fonts.css';
import '../css/main.css';
import 'focus-visible';
import '@/components/core/Admin/Pages/styles.css';

@@ -95,2 +96,5 @@ const progress = new ProgressBar({

// set the noindex meta flag on the page.
let noIndex = (meta.noIndex ? meta.noIndex : false);
// set the rich snippet page type to 'article' for blog posts

@@ -136,2 +140,3 @@ if(router.pathname.includes("/blog/"))

pageType={pageType}
noIndex={noIndex}
/>

@@ -138,0 +143,0 @@ <LogoJsonLd

@@ -21,6 +21,2 @@ import { Author } from "./Author";

/**
* The post section to be displayed about the post heading.
*/
section?: string;
/**
* The post content.

@@ -27,0 +23,0 @@ */

@@ -42,9 +42,11 @@ import { Feed } from 'feed';

posts.forEach((post) => {
feed.addItem({
title: post.title,
id: post.title,
link: `${blogUrl}/${post.slug}`,
description: post.description,
date: new Date(post.publishedAt || ""),
});
if(post.status === "published"){
feed.addItem({
title: post.title,
id: post.title,
link: `${blogUrl}/${post.slug}`,
description: post.description,
date: new Date(post.publishedAt || ""),
});
}
});

@@ -51,0 +53,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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