Skip to content

Commit

Permalink
Merge pull request #4 from cloud-gov/chore-11ty-migration
Browse files Browse the repository at this point in the history
1. Migration to 11ty, basic home page setup, broad strokes migrating styles. #2
  • Loading branch information
jamesthebrooks authored Oct 16, 2024
2 parents 66acd76 + d90bb27 commit 64fad35
Show file tree
Hide file tree
Showing 38 changed files with 7,130 additions and 1,337 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,4 @@ web_modules/
_site
public
node_modules
.idea
5 changes: 2 additions & 3 deletions _data/assetPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"admin.map": "/assets/js/admin-OYJBR6FH.js.map",
"app.js": "/assets/js/app-ZQYILJ3O.js",
"app.map": "/assets/js/app-ZQYILJ3O.js.map",
"uswds.js": "/assets/js/uswds-init.js",
"styles.css": "/assets/styles/styles-BBYPEDQ2.css",
"styles.map": "/assets/styles/styles-BBYPEDQ2.css.map"
"styles.css": "/assets/styles/styles-2OYWFHCJ.css",
"styles.map": "/assets/styles/styles-2OYWFHCJ.css.map"
}
163 changes: 126 additions & 37 deletions _data/site.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
title: Agency Name
email: contact@example.gov
title: cloud.gov
email: support@cloud.gov
description: >- # this means to ignore newlines
Agency Name (EAC) Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Aenean et sapien a leo auctor scelerisque quis nec magna. Sed dictum ante a risus vehicula facilisis.
# Twitter handle. Only the handle, not the URL.
twitter: 18F
twitter: clouddotgov

#################################################################
#
Expand Down Expand Up @@ -52,53 +52,142 @@ ga:

# Site Navigation
primary_navigation:
- name: Home
url: /
- name: Blog
url: /blog/
- name: Document
url: /document/
- name: Document with sidenav
url: /document-with-sidenav/
- name: Document submenu
- name: Why cloud.gov?
key: overview
children:
- name: Navigation link
url: "#main-content"
- name: Navigation link
url: "#main-content"
- name: Navigation link
url: "#main-content"
- name: Overview
url: /docs/overview/what-is-cloudgov/
- name: We’re FedRAMP authorized
url: /docs/overview/fedramp-tracker/
- name: Applications we support
url: /docs/overview/portfolio-analysis/
- name: Benefits of PaaS
url: /docs/technology/responsibilities/
- name: Customer stories
url: /docs/customer-stories/epa-airnow-gov/
- name: Our team
url: /docs/overview/cloudgov-team/
- name: Get started
url: /sign-up/
- name: Pricing
key: pricing
children:
- name: Pricing
url: /pricing/
- name: Try a Free Sandbox
url: /docs/pricing/free-limited-sandbox/
- name: Quota Costs Billing & Limits
url: /docs/pricing/quotas/
- name: Support Packages
url: /support-packages/
- name: Documentation
key: docs
children:
- name: Deploying apps
url: /docs/deployment/deployment/
- name: Managing apps
url: /docs/management/plugins/
- name: Managing services
url: /docs/services/intro/
- name: Managing orgs
url: /docs/orgs-spaces/dashboard/
- name: News
url: /news/
- name: Knowledge base
url: /knowledge-base/
- name: Pages
url: /pages/
- name: Contact us
url: /contact/

secondary_navigation:
- name: Secondary link
url: "#main-content"
- name: Another secondary link
url: "#main-content"
- name: Platform Status
url: https://cloudgov.statuspage.io/
- name: Log in
url: https://login.fr.cloud.gov/login

documentation_navigation:
- name: "Overview"
identifier: "overview"
icon: fa-home
weight: -150
- name: "Technology and security"
identifier: "technology"
icon: fa-lock
weight: -130
- name: "Customer stories"
identifier: "customer-stories"
icon: fa-star
weight: -120
- name: "Getting started"
identifier: "getting-started"
icon: fa-road
weight: -115
- name: "Deploying apps"
identifier: "deployment"
icon: fa-file-text
weight: -110
- name: "Services"
identifier: "services"
icon: fa-database
weight: -100
- name: "Managing apps"
identifier: "management"
icon: fa-rocket
weight: -100
- name: "Managing orgs"
identifier: "orgs-spaces"
icon: fa-users
weight: -100
- name: "Compliance"
identifier: "compliance"
icon: fa-check-square-o
weight: -95
- name: "Team documentation"
identifier: "ops"
icon: fa-wrench

# Search.gov configuration
#
# 1. Create an account with Search.gov https://search.usa.gov/signup
# 2. Add a new site.
# 3. Add your site/affiliate name here.
searchgov:

# Only change this if you're using a CNAME. Learn more here: https://search.gov/manual/cname.html
endpoint: https://search.usa.gov

# Replace this with your search.gov account.
affiliate: federalist-uswds-example

# Replace this with your access key.
access_key: xX1gtb2RcnLbIYkHAcB6IaTRr4ZfN-p16ofcyUebeko=

# This renders the results within the page instead of sending to user to search.gov.
inline: true

# This allows Search.gov to present relevant type-ahead search suggestions in your website's search box.
# If you do not want to present search suggestions, set this value to false.
endpoint: https://search.usa.gov # You should not change this.
affiliate: cloud.gov
access_key: v_vjJAaWUAy1wHDmCPVM7zEvyH7-gbS1WeYhoEA_X9o=
inline: false #this renders the results on the same domain. Otherwise, it will render the results in the search.gov domain
suggestions: true

##########################################################################################
# The values below here are more advanced and should only be
# changed if you know what they do
##########################################################################################


collections:
pages:
output: true
permalink: /:path/
docs:
output: true
permalink: /:collection/:path/
kbarticles:
output: true
permalink: /knowledge-base/:path/
kbarticlespages:
output: true
permalink: /pages/knowledge-base/:path/

permalink: pretty

toc:
min_level: 2
max_level: 2
ordered_list: true
no_toc_section_class: no_toc_section
list_id: toc
list_class: section-nav
sublist_class: ''
item_class: toc-entry
item_prefix: toc-
57 changes: 57 additions & 0 deletions _img/cloud-gov-logo.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 _img/content/chevron.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions _img/content/close-alt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions _img/content/peaks.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _img/hero.png
Binary file not shown.
1 change: 1 addition & 0 deletions _img/logos/ATF-logo.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 _img/logos/DOI-logo.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 _img/logos/Dept-of-Education-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 64fad35

Please sign in to comment.