Skip to content

Commit

Permalink
Merge pull request #34 from jaredwray/adding-in-fumanchu.org
Browse files Browse the repository at this point in the history
adding in fumanchu.org
  • Loading branch information
jaredwray authored Feb 8, 2024
2 parents b3b6fda + b3b7034 commit b4b8230
Show file tree
Hide file tree
Showing 19 changed files with 6,575 additions and 2 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: deploy-site

on:
release:
types: [released]

jobs:
setup-build-deploy:
name: Deploy Website
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18]

steps:
- name: Checkout
uses: actions/checkout@v3

# Test
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: yarn

- name: Build Website
run: yarn build

- name: Build Website
run: yarn website:build

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: b09b24c345713c704e71dea8bd81f713
projectName: ecto
directory: dist-site
gitHubToken: ${{ secrets.GH_TOKEN }}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div align="center"><img src="logo.png" alt="Fu Manchu"></div>
![Fumanchu](logo.png "Fumanchu")


# fumanchu
Handlebars + Helpers Together
Expand Down
1,433 changes: 1,433 additions & 0 deletions dist-site/css/highlight/highlight.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dist-site/css/highlight/styles/base16/dracula.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

307 changes: 307 additions & 0 deletions dist-site/css/home.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,307 @@
.header-logo {
margin-right: 30px;
}

.home-header {
position: sticky;
background-color: var(--home-background);
border-bottom: 1px solid var(--border);
}

.home-hero {
display: flex;
justify-content: center;
height: 20vh;
background-color: var(--home-background)
}

.home-container {
max-width: 90%;
margin: 0 auto;
color: var(--color-text);
}

.home-container h1 {
font-weight: 500;
font-size: 28px;
}

.home-title {
text-align: center;
margin-bottom: 32px;
font-size: 30px;
background: linear-gradient(30deg, var(--color-primary) 40%, var(--color-secondary-dark) 70%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}

.home-docs-button {
padding: 12px 24px;
border: 2px solid var(--color-secondary-dark);
border-radius: 8px;
color: var(--color-secondary-dark);
font-weight: 600;
}

.home-hero {
text-align: center;
}

.home-hero img {
width: 100%;
max-width: 200px;
}

.github-fork-ribbon {
position: fixed !important;
}

.github-fork-ribbon:before {
background-color: var(--color-primary) !important;
}

.content-container {
margin: 96px 0;
}

.facepile-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.facepile {
line-height: 2;
padding: 0 0 0 25px;
}

.facepile > a {
display: inline-block;
margin-left: -25px;
transition: opacity .3s;
opacity: .9;
color: var(--background);
}

.facepile img {
border-radius: 50%;
width: calc(30px + 5vw);
height: calc(30px + 5vw);
max-width: 60px;
max-height: 60px;
margin-bottom: 6px;
background-color: #ffffff;
border: 2px solid;
transition: border .3s;
object-fit: cover;
vertical-align: middle;
display: inline-block;
}


.facepile > a:hover {
opacity: 1;
position: relative;
z-index: 1;
}

.release {
overflow: hidden;
width: 100%;
line-break: anywhere;
margin-top: 32px;
color: var(--color-text);
}

.release-header {
margin-bottom: 16px;
}

.release-title {
font-size: 22px;
color: var(--color-primary);
font-weight: 700;
transition: color .3s;
display: block;
}

.release-title:hover {
color: var(--color-secondary-dark);
}

.release-date {
font-size: 12px;
}

.release-btn {
padding: 12px;
border-radius: 8px;
border: 2px solid var(--color-secondary);
color: var(--color-secondary);
width: fit-content;
margin-top: 32px;
display: block;
}

.release-btn span {
margin-left: 8px;
font-size: 12px;
transition: margin-left .3s;
}

.release-btn:hover span {
margin-left: 16px;
}

.release-body p {
margin: 8px 0;
}

.release-body pre {
margin-bottom: 32px;
}

.release-body h1 {
font-size: 22px;
margin-bottom: 16px;
}

.release-body h2 {
font-size: 18px;
margin-top: 28px;
margin-bottom: 16px;
}

.release-body ul {
padding-left: 16px;
}

.release-body ul > li {
margin-bottom: 12px;
}

.release-body ul > li a {
text-decoration: underline;
}

footer {
height: 64px;
display: flex;
justify-content: center;
align-items: center;
border-top: 1px solid var(--border);
width: 100%;
}

footer img {
margin-left: 8px;
margin-top: 4px;
}

@media screen and (min-width: 640px) {
.home-container {
max-width: 82%;
}
}


@media screen and (min-width: 768px) {
.home-hero {
height: 40vh;
}

.header-logo {
margin-right: 56px;
}

.home-hero img {
max-width: 340px;
}

.content-container {
margin: 96px 0;
}

.versions-container {
margin: 72px 0;
}

.release {
margin-bottom: 64px;
}
}


@media screen and (min-width: 992px) {
.home-container {
max-width: 70%;
}

.home-container h1 {
font-size: 32px;
}

.home-docs-button {
font-size: 24px;
}

.nav {
padding-right: 56px;
width: 100%;
justify-content: space-between;
}

.header-content {
height: 72px;
}

.home-hero img {
max-width: 600px;
}

.home-title {
margin-bottom: 64px;
font-size: 48px;
}

.content-container {
margin: 120px 0;
}

.release-btn {
margin-top: 0;
}

footer {
height: 76px;
}

footer img {
height: 28px;
width: auto;
}
}

@media screen and (min-width: 1200px) {
.home-container {
max-width: 950px;
}

.content-container {
margin: 160px 0;
}

.versions-container {
margin: 120px 0;
}

.facepile > a {
margin-left: -30px;
}

.facepile img {
max-width: 70px;
max-height: 70px;
}
}
Loading

0 comments on commit b4b8230

Please sign in to comment.