Skip to content

Instantly share code, notes, and snippets.

View marnocha's full-sized avatar

Mike Marnocha marnocha

View GitHub Profile
@marnocha
marnocha / coveo-custom.css
Created February 21, 2023 19:49
Custom CSS for Coveo Atomic search page
:root {
--atomic-font-family: 'Inter', -apple-system, BlinkMacSystemFont,'Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
/* Primary colors */
--atomic-primary-light: #1372ec; /* Used for hover of Facet Titles, Search Box hover, checked boxes hover */
/* Neutral colors */
--atomic-neutral-dark: #232425; /* Used for hover colors, excerpt, (count), and checkbox outline */
/* Semantic colors */
--atomic-on-background: #282829;
--atomic-success: #1372ec;
--atomic-error: red;
@marnocha
marnocha / search.tsx
Created February 21, 2023 19:47
Coveo Atomic Next.JS Sample code from my website
import {
AtomicBreadbox,
AtomicColorFacet,
AtomicDidYouMean,
AtomicFacet,
AtomicFacetManager,
AtomicLayoutSection,
AtomicLoadMoreResults,
AtomicNoResults,
AtomicNumericFacet,
@marnocha
marnocha / next-sitemap.config.js
Created February 21, 2023 19:19
Configuration of my next-sitemap for my website
const siteUrl = "https://www.marnochastudios.com"
module.exports = {
siteUrl,
generateRobotsTxt: true,
robotsTxtOptions: {
policies: [
{ userAgent: "*", allow: "/" },
],
additionalSitemaps: [`${siteUrl}/server-sitemap.xml`]