├── .gitignore
├── favicon.ico
├── assets
├── demo.png
└── demo-2.png
├── packages
└── codenawis
│ ├── src
│ ├── components
│ │ ├── list
│ │ │ ├── index.js
│ │ │ ├── sections
│ │ │ │ ├── sectionTitles
│ │ │ │ │ └── sectionTitle.js
│ │ │ │ └── section6332.js
│ │ │ ├── listItemNoImage.js
│ │ │ ├── listItemHorizontalSmall.js
│ │ │ ├── listItemOverlay.js
│ │ │ ├── list-item.js
│ │ │ ├── listItemHorizontal.js
│ │ │ ├── list.js
│ │ │ └── pagination.js
│ │ ├── utitlity
│ │ │ ├── avatar.js
│ │ │ ├── cardTitle.js
│ │ │ ├── Logo.js
│ │ │ ├── Row.js
│ │ │ ├── FlexCenter.js
│ │ │ ├── cardContent.js
│ │ │ ├── Hr.js
│ │ │ ├── HoverLink.js
│ │ │ ├── Container.js
│ │ │ ├── FlexBetween.js
│ │ │ ├── js
│ │ │ │ └── functions.js
│ │ │ ├── Article.js
│ │ │ ├── getWidget.js
│ │ │ ├── Col.js
│ │ │ └── config
│ │ │ │ └── homepageSections.js
│ │ ├── meta
│ │ │ ├── author.js
│ │ │ ├── tags.js
│ │ │ ├── categories.js
│ │ │ ├── authorBox.js
│ │ │ ├── date.js
│ │ │ └── SharingButtons.js
│ │ ├── footer.js
│ │ ├── link.js
│ │ ├── loading.js
│ │ ├── header.js
│ │ ├── menu-icon.js
│ │ ├── menu-modal.js
│ │ ├── menu.js
│ │ ├── featured-media.js
│ │ ├── page-error.js
│ │ ├── SearchForm.js
│ │ ├── title.js
│ │ ├── nav.js
│ │ ├── comments.js
│ │ ├── index.js
│ │ └── post.js
│ └── index.js
│ ├── node_modules
│ └── .bin
│ │ ├── he.ps1
│ │ ├── which.ps1
│ │ ├── mkdirp.ps1
│ │ ├── semver.ps1
│ │ ├── tsc.ps1
│ │ ├── envinfo.ps1
│ │ ├── loose-envify.ps1
│ │ ├── tsserver.ps1
│ │ ├── detect.ps1
│ │ ├── frontity.ps1
│ │ └── detect-port.ps1
│ ├── package.json
│ ├── LICENSE
│ ├── README.md
│ ├── CHANGELOG.md
│ └── package-lock.json
├── package.json
├── frontity.settings.js
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | /.vercel
2 | /build
3 | /node_modules
4 | /now.json
5 | .vercel
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Componentity/frontity-codenawis/HEAD/favicon.ico
--------------------------------------------------------------------------------
/assets/demo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Componentity/frontity-codenawis/HEAD/assets/demo.png
--------------------------------------------------------------------------------
/assets/demo-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Componentity/frontity-codenawis/HEAD/assets/demo-2.png
--------------------------------------------------------------------------------
/packages/codenawis/src/components/list/index.js:
--------------------------------------------------------------------------------
1 | import { loadable } from "frontity";
2 |
3 | /**
4 | * Codesplit the list component so it's not included if the users
5 | * load a post directly.
6 | */
7 | export default loadable(() => import("./list"));
8 |
--------------------------------------------------------------------------------
/packages/codenawis/src/components/utitlity/avatar.js:
--------------------------------------------------------------------------------
1 | import { styled } from "frontity";
2 |
3 | const Avatar = ({src}) => {
4 | return (
5 |
22 |
23 |
25 |
26 |
22 |
23 |
25 |
26 |
Comment not found
)} 36 | {comments.length > 0 && ( 37 | <> 38 | {comments.map(item => { 39 | console.log("Comment", item); 40 | const date = new Date(item.date); 41 | return ( 42 |