Giter Club home page Giter Club logo

nextjs-semantic's Issues

Change Font

Hi, I'm using your boilerplate to build my own project and I'm stuck on changing the font name, could you help me!
image

How do you add global fonts to this

It seems when I use styled components (first time using it) it uses the BOLD type of fonts instead of regular.

  const heroText = {
    marginTop: "60px",
    fontSize: "70pt",
    color: "white",
    fontFamily: "Montserrat"
  };

Same as your example

Icon not loaded

Hi,

After update version my icon (icons.woff2) not loaded.

Before
{
"name": "nextjs-semantic",
"description": "Next.js + Semantic UI + Styled Components",
"version": "2.0.0",
"author": "Martín M.",
"license": "MIT",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"now-build": "npm run semantic:build && next build",
"semantic:build": "cd .semantic && gulp build-css build-assets",
"semantic:watch": "cd .semantic && npm run semantic:build && gulp watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@zeit/next-css": "^1.0.1",
"dotenv": "^8.2.0",
"es6-promise": "^4.2.8",
"isomorphic-fetch": "^2.2.1",
"js-sha256": "^0.9.0",
"next": "^9.0.3",
"next-compose-plugins": "^2.2.0",
"react": "^16.8.6",
"react-datepicker": "^2.10.1",
"react-dom": "^16.8.6",
"react-number-format": "^4.3.1",
"semantic-ui-react": "^0.87.3",
"styled-components": "^4.3.2"
},
"devDependencies": {
"babel-eslint": "^10.0.2",
"eslint": "^6.1.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-prettier": "^6.0.0",
"eslint-config-wesbos": "0.0.19",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.6.1",
"file-loader": "^4.1.0",
"fomantic-ui": "^2.7.7",
"prettier": "^1.18.2",
"url-loader": "^2.1.0"
}
}

After
{
"name": "nextjs-semantic",
"description": "Next.js + Semantic UI + Styled Components",
"version": "2.0.0",
"author": "Martín M.",
"license": "MIT",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"now-build": "npm run semantic:build && next build",
"semantic:build": "cd .semantic && gulp build-css build-assets",
"semantic:watch": "cd .semantic && npm run semantic:build && gulp watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@zeit/next-css": "^1.0.1",
"dotenv": "^8.2.0",
"es6-promise": "^4.2.8",
"isomorphic-fetch": "^2.2.1",
"js-sha256": "^0.9.0",
"next": "^9.1.6",
"next-compose-plugins": "^2.2.0",
"react": "^16.12.0",
"react-datepicker": "^2.10.1",
"react-dom": "^16.12.0",
"react-number-format": "^4.3.1",
"semantic-ui-react": "^0.88.2",
"styled-components": "^4.4.1"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-config-wesbos": "0.0.19",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"file-loader": "^5.0.2",
"fomantic-ui": "^2.8.3",
"prettier": "^1.19.1",
"url-loader": "^3.0.0"
}
}

Thank you

Icons not working

Brand new installation and one that is about 2 weeks old have issues displaying icons.

Followed README

  1. clone repo
  2. npm install
  3. npm run semantic:build
  4. npm run dev

Then just add
import { Icon } from "semantic-ui-react";

Then on the return

<Icon name="users" />

Icon does not show. I tried with many other icons.

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.