Skip to content

Commit

Permalink
Merge branch 'main' into fix-font
Browse files Browse the repository at this point in the history
  • Loading branch information
babakamyljanovssw authored Nov 6, 2024
2 parents 75cd22d + f659c8a commit d15feed
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/components/discussion/discussion.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Discussion = (props) => {
term={props.ruleGuid}
reactionsEnabled="1"
emitMetadata="0"
inputPosition="bottom"
inputPosition="top"
theme="light"
lang="en"
loading="lazy"
Expand Down
12 changes: 6 additions & 6 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { Link, useStaticQuery, graphql } from 'gatsby';
import {
faArchive,
faPause,
faBolt,
faFrownOpen,
faPause,
} from '@fortawesome/free-solid-svg-icons';
import { graphql, Link, useStaticQuery } from 'gatsby';

import Breadcrumb from '../components/breadcrumb/breadcrumb';
import { config } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import PropTypes from 'prop-types';
import React from 'react';
import Breadcrumb from '../components/breadcrumb/breadcrumb';
import SearchBar from '../components/search-bar/search-bar';
import SideBar from '../components/side-bar/side-bar';
import TopCategory from '../components/top-category/top-category';
import { config } from '@fortawesome/fontawesome-svg-core';
import SearchBar from '../components/search-bar/search-bar';

config.autoAddCss = false;

Expand Down Expand Up @@ -52,7 +52,7 @@ const Index = ({ data, location }) => {
);
if (cat) {
return (
<section className="mb-5 relative" key={i}>
<section data-nosnippet className="mb-5 relative" key={i}>
<TopCategory
topcategory={cat}
categories={data.categories}
Expand Down
27 changes: 13 additions & 14 deletions src/pages/orphaned.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import React, { useRef, useState, useEffect } from 'react';
import { useStaticQuery, graphql } from 'gatsby';
import PropTypes from 'prop-types';
import { config } from '@fortawesome/fontawesome-svg-core';
import Breadcrumb from '../components/breadcrumb/breadcrumb';
import Tooltip from '../components/tooltip/tooltip';
import RadioButton from '../components/radio-button/radio-button';
import { Link } from 'gatsby';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faGithub } from '@fortawesome/free-brands-svg-icons';
import {
faArrowCircleRight,
faPencilAlt,
faBook,
faExclamationTriangle,
faQuoteLeft,
faFileLines,
faBook,
faPencilAlt,
faQuoteLeft,
} from '@fortawesome/free-solid-svg-icons';
import Bookmark from '../components/bookmark/bookmark';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { graphql, Link, useStaticQuery } from 'gatsby';
import PropTypes from 'prop-types';
import React, { useEffect, useRef, useState } from 'react';
import { pathPrefix } from '../../site-config';
import Bookmark from '../components/bookmark/bookmark';
import Breadcrumb from '../components/breadcrumb/breadcrumb';
import RadioButton from '../components/radio-button/radio-button';
import Tooltip from '../components/tooltip/tooltip';
import useAppInsights from '../hooks/useAppInsights';

config.autoAddCss = false;
Expand Down Expand Up @@ -78,7 +77,7 @@ const Orphaned = ({ data }) => {
<div className="w-full">
<div className="rule-category rounded">
<section className="mb-20 rounded pb-2">
<div className="cat-title-grid-container">
<div className="cat-title-grid-container" data-nosnippet>
<h1 className="text-ssw-black font-medium text-3xl">
Orphaned Rules
<span className="rule-count">
Expand Down Expand Up @@ -145,7 +144,7 @@ const Orphaned = ({ data }) => {
/>
</div>
)}
<div className="category-rule">
<div data-nosnippet className="category-rule">
<ol className="rule-number">
{rules.map((rule, i) => {
if (!rule) {
Expand Down

0 comments on commit d15feed

Please sign in to comment.