Skip to content

Commit

Permalink
Add landing page (#747)
Browse files Browse the repository at this point in the history
* Add landing page, temp at /landing

* Clean up; set ecmaVersion to permit top level await

* Cleanup

* Add missing meta

* Fix typo
  • Loading branch information
colepeters authored May 3, 2024
1 parent c25334e commit 0abce2f
Show file tree
Hide file tree
Showing 29 changed files with 3,788 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ sam.yaml
public/static.json
**/static.json
src/http/get-docs-000lang-catchall/highlight/
.enhance
src/shared/enhance-styles
6 changes: 6 additions & 0 deletions app.arc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ fingerprint true
get /docs/:lang/*
get /api/package
any /*
get /landing

@plugins
spellcheck
architect/plugin-node-prune
enhance/ssr
enhance/arc-plugin-styles

@enhance-styles
config theme.json
137 changes: 135 additions & 2 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"@architect/inventory": "^4.0.4",
"@architect/package": "^9.0.2",
"@architect/plugin-node-prune": "^2.0.2",
"@enhance/arc-plugin-styles": "^5.0.6",
"@enhance/enhance-style-transform": "^0.1.2",
"@enhance/ssr": "^4.0.1",
"arcdown": "^2.3.0",
"slugify": "^1.6.6"
},
Expand All @@ -40,6 +43,7 @@
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": "2022",
"sourceType": "module"
},
"extends": "@architect/eslint-config",
Expand Down
1 change: 1 addition & 0 deletions public/css/landing-syntax.min.css

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

10 changes: 5 additions & 5 deletions public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* VARIABLES */
:root {
--p0:#2CDD93;/* clover green */
--p1:#2B7D9A;/* blue green */
--p1:#365c91;/* Arc blue */
--p2:#BBFFAA;/* key lime */
--p3:#E21893;/* Barbie Pink light */
--g0:#FBFBFB;/* #FBFBFB */
Expand All @@ -23,14 +23,14 @@
--a2:#1D5266;/* #8E8E8E */
--d0:#797979;/* #797979 */
--d1:#636363;/* #636363 */
--text-color: #222;/* #222 */
--text-color: #45413a;/* #45413a */
--bkg-color: #FFF;/* #FFF */
}


:root[data-theme="dark"] {
--p0:#6EE8B5;/* #6EE8B5 */
--p1:#46A9CB;/* #46A9CB */
--p1:#1496fa;/* #1496fa */
--p2:#E4FFDD;/* #E4FFDD */
--p3:#ED59B3;/* #ED59B3 */
--g0:#222222;/* #222222 */
Expand Down Expand Up @@ -84,7 +84,7 @@
}
:root[data-theme="light"] {
--p0:#2CDD93;/* clover green */
--p1:#2B7D9A;/* blue green */
--p1:#365c91;/* blue green */
--p2:#BBFFAA;/* key lime */
--p3:#E21893;/* Barbie Pink light */
--g0:#FBFBFB;/* #FBFBFB */
Expand All @@ -105,7 +105,7 @@
--a2:#1D5266;/* #8E8E8E */
--d0:#797979;/* #797979 */
--d1:#636363;/* #636363 */
--text-color: #222;/* #222 */
--text-color: #45413a;/* #45413a */
--bkg-color: #FFF;/* #FFF */
}
}
Expand Down
Binary file added public/fonts/montserrat-italic-subset-var.woff2
Binary file not shown.
Binary file added public/fonts/montserrat-subset-var.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions public/landing/begin-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 0abce2f

Please sign in to comment.