Skip to content

Commit

Permalink
update home page
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkchen committed Jul 17, 2024
1 parent 4593357 commit 816a102
Show file tree
Hide file tree
Showing 17 changed files with 93 additions and 113 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ from: https://jekyllthemes.io/

Jekyll plugin for building Jekyll sites with any public GitHub-hosted theme

# Apply Local theme
in `Gemfile`
`gem "minimal-mistakes-jekyll", path: "/Users/hawk/Documents/workspace/KEIKAI-SPACE/minimal-mistakes/"`
## Usage
Expand Down Expand Up @@ -102,4 +105,4 @@ You may also optionally specify a branch, tag, or commit to use by appending an

## prepend the image path.
* replace `!\[\]\(([^)]*)\)` with `![](images/$1)`
* replace `<img src="([^"]*)"` with `<img src="images/$1"`
* replace `<img src="([^"]*)"` with `<img src="images/$1`
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
remote_theme: "keikai/minimal-mistakes@zk"
repository: keikai/minimal-mistakes
#theme: "minimal-mistakes-jekyll" # use local theme
#remote_theme: "keikai/minimal-mistakes@zk"
#repository: keikai/minimal-mistakes
theme: "minimal-mistakes-jekyll" # use local theme
plugins:
- jekyll-remote-theme
- jekyll-include-cache #required by minimal-mistakes
Expand Down Expand Up @@ -135,4 +135,4 @@ comments:
# predefined properties
# base path of developer reference
#devref: "/dev-ref"
#devref_image_folder: "/assets/images/dev-ref"
#devref_image_folder: "/assets/images/dev-ref"
25 changes: 19 additions & 6 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
main:
- title: "Getting Started"
url: /main/get_started
- title: "References"
url: /main/reference
- title: "API"
url: /main/api
- title: "ZK"
url:
- title: "ZK Charts"
url:
- title: "Keikai"
url: https://doc.keikai.io/dev-ref
- title: "ZK Pivottable"
url:
- title: "ZK Calendar"
url:
- title: "ZK Spring"
url:
- title: "ZATS"
url:
- title: "ZK Studio"
url:
- title: "ZK JSP"
url:


get_started:
- title: "Learn ZK in 10 Minutes"
Expand Down
11 changes: 11 additions & 0 deletions _includes/product.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div class="col-lg-3 col-md-6 col-sm-12">
<div class="card">
<a href="{{ include.link }}">
<img src="{{ include.image }}" class="card-img-top" alt="{{ include.title }}">
</a>
<div class="card-body">
<h5 class="card-title">{{ include.title }}</h5>
<p class="card-text">{{ include.description }}</p>
</div>
</div>
</div>
1 change: 1 addition & 0 deletions images/calendar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/chart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/core.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/pivottable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/plugin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/spreadsheet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/spring.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/studio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/zats.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/zkjsp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 0 additions & 102 deletions index.html

This file was deleted.

28 changes: 28 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: default
---

<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">

<div class="container">
<div class="row">
<div class="col-12 text-center">
<h1 class="my-4">Welcome to ZK Documentation</h1>
</div>
</div>
<div class="row">
{% include product.html image="/images/core.svg" title="ZK Framework" description="A comprehensive UI framework" link="/zk" %}
{% include product.html image="/images/chart.svg" title="ZK Charts" description="Beautiful and interactive charts" link="/zkcharts" %}
{% include product.html image="/images/spreadsheet.svg" title="Keikai" description="Spreadsheet component" link="https://doc.keikai.io/dev-ref" %}
{% include product.html image="/images/pivottable.svg" title="ZK Pivottable" description="A data summarization component that lets you analyze your data in detail." link="/pivottable" %}
</div>
<div class="row">
{% include product.html image="/images/calendar.svg" title="ZK Calendar" description="A Google-Calendar-like Ajax component" link="/zkcalendar" %}
{% include product.html image="/images/spring.svg" title="ZK Spring" description="An addon to integrate Spring" link="/zkspring" %}
{% include product.html image="/images/zats.svg" title="ZATS" description="Testing ZK-based without browsers" link="/zats/" %}
{% include product.html image="/images/studio.svg" title="ZK Studio" description="an eclipse plugin for zk" link="/zk_studio_essentials/Introduction" %}
</div>
<div class="row">
{% include product.html image="/images/zkjsp.svg" title="ZK JSP" description="" link="#" %}
</div>
</div>
Loading

0 comments on commit 816a102

Please sign in to comment.