-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[optimize] update Carousel example page
[optimize] simplify Repository model based on MobX-GitHub
- Loading branch information
Showing
18 changed files
with
227 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# BootCell document | ||
|
||
Re-implemented Official **Document site** of [BootStrap][1] & [FontAwesome][2] | ||
based on [WebCell][3], [BootCell][4] & [MDX][5] | ||
|
||
[][6] | ||
|
||
[1]: https://getbootstrap.com/ | ||
[2]: https://fontawesome.com/ | ||
[3]: https://web-cell.dev/ | ||
[4]: https://web-cell.dev/BootCell/ | ||
[5]: https://mdxjs.com/ | ||
[6]: https://github.com/EasyWebApp/BootCell-document/actions/workflows/main.yml | ||
# BootCell document | ||
|
||
Re-implemented Official **Document site** of [Bootstrap][1] & [FontAwesome][2] | ||
based on [WebCell][3], [BootCell][4] & [MDX][5] | ||
|
||
[][6] | ||
|
||
[1]: https://getbootstrap.com/ | ||
[2]: https://fontawesome.com/ | ||
[3]: https://web-cell.dev/ | ||
[4]: https://web-cell.dev/BootCell/ | ||
[5]: https://mdxjs.com/ | ||
[6]: https://github.com/EasyWebApp/BootCell-document/actions/workflows/main.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import { RepositoryModel } from 'mobx-github'; | ||
|
||
import { MetaModel } from './Meta'; | ||
|
||
export const meta = new MetaModel(); | ||
export const repository = new RepositoryModel('EasyWebApp'); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
import { WebCellElement, createCell } from 'web-cell'; | ||
import { JsxChildren } from 'dom-renderer'; | ||
import { FC } from 'web-cell'; | ||
import classNames from 'classnames'; | ||
import { Image } from 'boot-cell/source/Media/Image'; | ||
import { Image } from 'boot-cell'; | ||
|
||
import style from './index.less'; | ||
import * as style from './index.module.less'; | ||
|
||
export interface FeatureProps { | ||
export interface FeatureProps extends Record<'title' | 'summary', JsxChildren> { | ||
reverse?: boolean; | ||
title: WebCellElement; | ||
summary: WebCellElement; | ||
logo: string; | ||
} | ||
|
||
export function Feature({ reverse, title, summary, logo }: FeatureProps) { | ||
return ( | ||
<div className="row"> | ||
<div className={classNames('col-md-7', reverse && 'order-md-2')}> | ||
<h2 className={style['featurette-heading']}>{title}</h2> | ||
<p className="lead">{summary}</p> | ||
</div> | ||
<div className={classNames('col-md-5', reverse && 'order-md-1')}> | ||
<Image fluid style={{ width: '500px' }} src={logo} /> | ||
</div> | ||
export const Feature: FC<FeatureProps> = ({ | ||
reverse, | ||
title, | ||
summary, | ||
logo | ||
}) => ( | ||
<div className="row"> | ||
<div className={classNames('col-md-7', reverse && 'order-md-2')}> | ||
<h2 className={style['featurette-heading']}>{title}</h2> | ||
<p className="lead">{summary}</p> | ||
</div> | ||
); | ||
} | ||
<div className={classNames('col-md-5', reverse && 'order-md-1')}> | ||
<Image fluid style={{ width: '500px' }} src={logo} /> | ||
</div> | ||
</div> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0ed085f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for bootcell-document ready!
✅ Preview
https://bootcell-document-gx26mn264-techquerys-projects.vercel.app
Built with commit 0ed085f.
This pull request is being automatically deployed with vercel-action