Code Monkey home page Code Monkey logo

nouns-center's Introduction

Nouns.Center

nc


Environment Variables

GA_TRACKING_ID - (optional) - Google tag tracking id

nouns-center's People

Contributors

0xfloyd avatar badublanc avatar bcjgit avatar brnunes avatar cdt-eth avatar ryespresso avatar stevef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nouns-center's Issues

allow command + click to homepage cards

if i click, open target="_self", if i command click, allow open in new tab (target="_blank")

something like:

// util funcs
export const cmdPlusClicked = (e: any) => e.metaKey || e.ctrlKey;
export const openInNewTab = (url: string) => window.open(url, `_blank`);

<div onClick={e => {
    if (cmdPlusClicked(e)) {
        openInNewTab(`${path}`);
        return;
    }
    navigate(`${path}`);
}}>

Simple update to add more context to content

Problem

Many .json files determine whether something is a download or not, however the FE doesn't reflect this. For a simple implementation use the inline conditional text, to label the Button as "Download" or "View"

Example: assets/index.tsx

<Button
  text={asset.download ? "Download" : "View"}
  link={asset.download ? `/assets/${asset.file}` : asset.file}
  self={asset.download}
/>

DoD:

  • All button text is wrapped in conditional clause to better communicate "Download" vs. "View"

Mobile: Click home logo should close open menu

On mobile, if you click on a nav item when the menu is open the whole menu closes, which is what we want, but if you click the earth logo (to go home) it doesn't. it stays open. it should close the menu as well.

Screen.Recording.2022-09-28.at.9.01.22.PM.mov

Add config file for website specific information

Mainly for ./components/Header.tsx, provide a sample configuration file that can be edited that includes all the meta data information so it's easily changeable for people who fork the repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.