diff --git a/.github/workflows/deploy-to-gh-pages.yml b/.github/workflows/deploy-to-gh-pages.yml index 4eeadd0..b255967 100644 --- a/.github/workflows/deploy-to-gh-pages.yml +++ b/.github/workflows/deploy-to-gh-pages.yml @@ -49,7 +49,7 @@ jobs: cp -R artifacts/legacy-nmdc-documentation-as-html _build/html/legacy/nmdc-documentation cp -R artifacts/nmdc-runtime-documentation-as-html _build/html/nmdc-runtime-documentation cp -R artifacts/mag-workflow-documentation-as-html _build/html/workflows/mag-workflow-documentation - cp content/index.html _build/html/index.html + cp content _build/html - name: Save the result for publishing to GitHub Pages # Docs: https://github.com/actions/upload-pages-artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/README.md b/README.md index ecaf6d2..7602d6b 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ the documentation website will automatically be updated to reflect the changes. 5. (If prompted) Click "Switch to Branch" 6. Make changes in `legacy/nmdc-documentation/src` 7. Click the "Source Control" icon in the left sidebar (3rd from the top) -8. Hover over the "Changes" heading an click the `+` icon that appears +8. Hover over the "Changes" heading and click the `+` icon that appears 9. Enter a commit message to tell others what you did (e.g. "`Fix typo in link`") 10. Click the "Commit & Push" button 11. Visit https://github.com/microbiomedata/docs/ and create a Pull Request for that branch @@ -167,7 +167,6 @@ the associated sections of the website will automatically be rebuilt - [ ] Populate the "TODO" sections above - [ ] Update legacy `requirements.txt` files to indicate specific versions -- [ ] Implement an overall website, of which the "Legacy" section is only one part - [ ] Implement a framework for pulling in content from external sources - [ ] Configure a vanity URL once we have a cohesive website - [ ] Migrate `.rst` files into Markdown (`.md`) diff --git a/content/assets/favicon.ico b/content/assets/favicon.ico new file mode 100644 index 0000000..dff6056 Binary files /dev/null and b/content/assets/favicon.ico differ diff --git a/content/assets/img/hero.webp b/content/assets/img/hero.webp new file mode 100644 index 0000000..678800b Binary files /dev/null and b/content/assets/img/hero.webp differ diff --git a/content/assets/img/logo-mark.svg b/content/assets/img/logo-mark.svg new file mode 100644 index 0000000..0116625 --- /dev/null +++ b/content/assets/img/logo-mark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/content/assets/img/logo-text.svg b/content/assets/img/logo-text.svg new file mode 100644 index 0000000..642360f --- /dev/null +++ b/content/assets/img/logo-text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/content/assets/img/undraw_dashboard_re_3b76.svg b/content/assets/img/undraw_dashboard_re_3b76.svg new file mode 100644 index 0000000..0cc858e --- /dev/null +++ b/content/assets/img/undraw_dashboard_re_3b76.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/content/assets/img/undraw_data_processing_yrrv.svg b/content/assets/img/undraw_data_processing_yrrv.svg new file mode 100644 index 0000000..8c342d0 --- /dev/null +++ b/content/assets/img/undraw_data_processing_yrrv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/content/assets/img/undraw_text_files_au1q.svg b/content/assets/img/undraw_text_files_au1q.svg new file mode 100644 index 0000000..64f61b0 --- /dev/null +++ b/content/assets/img/undraw_text_files_au1q.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/content/assets/index.css b/content/assets/index.css new file mode 100644 index 0000000..fa1469e --- /dev/null +++ b/content/assets/index.css @@ -0,0 +1,95 @@ +@import url(https://fonts.googleapis.com/css?family=Arimo:400,500,700); + +/* CSS variables */ +:root { + --nmdc-white: #ffffff; + --nmdc-black: #000000; + --nmdc-blue: #02aae7; + --nmdc-orange: #ee5338; + --nmdc-purple: #4f3b80; + --nmdc-light-gray: #f5f5f5; + --nmdc-light-blue: #edf9fd; +} + +/* Font and page background */ +.nmdc-body { + font-family: "Arimo", sans-serif; + background-color: var(--nmdc-blue); + background-image: url("./img/hero.webp"); + background-attachment: fixed; + background-repeat: no-repeat; + background-size: cover; + background-position: center; +} + +/* Custom colors */ +.nmdc-white { + color: var(--nmdc-white); +} +.nmdc-black { + color: var(--nmdc-black); +} +.nmdc-blue { + color: var(--nmdc-blue); +} +.nmdc-orange { + color: var(--nmdc-orange); +} +.nmdc-purple { + color: var(--nmdc-purple); +} +.nmdc-light-gray { + color: var(--nmdc-light-gray); +} +.nmdc-light-blue { + color: var(--nmdc-light-blue); +} + +/* Custom background colors */ +.nmdc-white-bg { + background-color: var(--nmdc-white); +} +.nmdc-light-gray-bg { + background-color: var(--nmdc-light-gray); +} +.nmdc-light-blue-bg { + background-color: var(--nmdc-light-blue); +} + +/* Logo */ +.nmdc-logo { + height: 55px; + width: 163.656px; +} +.nmdc-logo-mark { + height: 55px; + margin-right: 10px; +} +.nmdc-logo-text { + height: 50px; +} + +/* Navbar */ +.nmdc-navbar { + background-color: var(--nmdc-white); +} + +/* Main content */ +main.container { + background-color: var(--nmdc-white); +} +main.container a { + text-decoration: none; + color: var(--nmdc-blue); +} +main.container .card-img-wrapper { + background-color: var(--nmdc-light-gray); + min-height: 280px; + display: flex; + flex-direction: column; +} +@media (max-width: 991.98px) { + main.container .card-img-wrapper { + min-height: 240px; + } +} \ No newline at end of file diff --git a/content/assets/index.js b/content/assets/index.js new file mode 100644 index 0000000..e69de29 diff --git a/content/index.html b/content/index.html index b0adb6b..ce8ad84 100644 --- a/content/index.html +++ b/content/index.html @@ -1,24 +1,120 @@ + - - - Docs + + Documentation | National Microbiome Data Collaborative + + + + + + + + + + + + + + + - -

Docs

-

This page is a placeholder.

-

Service documentation

- -

Workflow documentation

- -

Legacy documentation

- + + + + + +
+
+

I want to...

+
+
+
+
+ Services +
+
+
Submit and explore metadata
+

+ Learn how you can submit metadata to the NMDC and explore it in multiple ways. +

+ +
+
+
+
+
+
+ Workflows +
+
+
Run bioinformatics workflows
+

+ Learn how you can leverage standardized bioinformatics workflows + to process data. +

+ +
+
+
+
+
+
+ Legacy +
+
+
Browse legacy documentation
+

+ Explore legacy documentation produced during earlier phases of the project. +

+ +
+
+
+
+
+
+ + + + + + \ No newline at end of file