Code Monkey home page Code Monkey logo

navarch's Introduction

Navarch

This is the public version of Navarch that is being developed for kokopi.dev.

Features

Tailwindcss

Tailwind makes it easy to jump into any project that is not your own, and modify it's css. No need to flip back and forth files and guess what .main-something does.

  • Colors: modify tailwind.config.js -> theme.extend.colors

Pages

  • Home: Modify layouts/_default/home.html
  • Posts: Modify layouts/_default/posts.html
  • About Section: Modify layouts/_default/about.html

Webcomponents

  • Tooltip component:
<tooltip-component>
</tooltip-component>

Shortcodes

Images

Accepts all image formats aside form gifs will be converted to webp so users will use less data. Example Usage:

# image folder structure:
- content
    - posts
        - post-3
            - index.md (post content)
            - bryce-canyon.jpg

# inside index.md:
{{< image title="bryce canyon" src="bryce-canyon.jpg" alt="canyon" >}}

Videos (gifs)

For less data usage on users, there is a script for converting gifs to webm format. While the gif has a smaller size on file, on the web they are extremely large if you look at the network tab. Webm format might be a little large on file, but on the web they are optimized for displaying video like media.

# image folder strucutre:
- content
    - posts
        - post-3
            - index.md (post content)
            - myvideo.webm

# inside index.md:
{{< video src="myvideo.webm" >}}

Html

Write html inside a post:

{{< html >}}
<div class="text-center rounded-md text-black bg-gray-100 shadow">
    <p>hello world</p>
</div>
{{< /html >}}

Configuration

  • Display image: images/logo.png

navarch's People

Contributors

kokopi-dev avatar

Watchers

 avatar

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.