-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from GetDKAN/develop
Transition to basic static site
- Loading branch information
Showing
132 changed files
with
1,010 additions
and
5,831 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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# .editorconfig | ||
# ------------------------------ | ||
# Editor Configuration | ||
# ------------------------------ | ||
|
||
# Top-most EditorConfig file | ||
root = true | ||
|
||
# ------------------------------ | ||
# Global Settings | ||
# ------------------------------ | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
# ------------------------------ | ||
# Language Specific Settings | ||
# ------------------------------ | ||
|
||
# Python | ||
[*.py] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
max_line_length = 79 | ||
|
||
# Rust | ||
[*.rs] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# R | ||
[*.R] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# JavaScript and CSS | ||
[*.{js,css}] | ||
brace_style = allman | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# HTML | ||
[*.html] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# SQL | ||
[*.sql] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# YAML | ||
[*.{yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Dockerfile | ||
[Dockerfile] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Makefile | ||
[Makefile] | ||
indent_style = tab | ||
|
||
# Markdown | ||
[*.md] | ||
max_line_length = 120 | ||
|
||
# ------------------------------ | ||
# Additional Specific Settings | ||
# ------------------------------ |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
|
||
|
||
GTM_ID=GTM-TXLXC2Q8 | ||
GOOGLE_MEASUREMENT_ID=G-M8WQ7H9EEK | ||
DOMAIN=getdkan.com |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
# Upload entire repository | ||
path: '.' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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,9 +0,0 @@ | ||
node_modules/ | ||
public | ||
.gatsby-context.js | ||
.DS_Store | ||
.intermediate-representation/ | ||
.cache/ | ||
yarn.lock | ||
package-lock.json | ||
.env* | ||
This file was deleted.
Oops, something went wrong.
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,21 +0,0 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015-2020 Maxence Poutord | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
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,53 +1,15 @@ | ||
|
||
# DKAN Marketing Website | ||
|
||
The official website for DKAN: [getdkan.org](http://getdkan.com) | ||
|
||
|
||
## Commands | ||
|
||
```sh | ||
# working locally | ||
npm run dev | ||
|
||
# generate build (Add --prefix-paths if you are using path prefix!) | ||
npm run build | ||
|
||
# format code | ||
npm run format | ||
|
||
# lint code | ||
npm run lint | ||
|
||
# Generate generate post preview images (npm run dev need to run before) | ||
npm run generatePostPreviewImages | ||
``` | ||
|
||
## Configure | ||
|
||
```bash | ||
├── data | ||
├── siteConfig.js | ||
├── sites.json | ||
├── team.json | ||
``` | ||
|
||
## Content | ||
|
||
```bash | ||
├── content | ||
├── images | ||
├── pages | ||
``` | ||
Links to add to top in same row as contact us. Make them stacked on mobile | ||
|
||
## Images | ||
Upload image files to `/static` | ||
Then add them with html `<img src={'/image.png'} alt="Logo" />` | ||
or markdown `[![logo](./image.png)]` | ||
Github https://github.com/GetDKAN | ||
|
||
## Markdown | ||
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet | ||
Roadmap: https://github.com/orgs/GetDKAN/projects/7/views/5 | ||
|
||
## Deploy | ||
Docs: https://dkan.readthedocs.io/en/latest/ | ||
|
||
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://api.netlify.com/) | ||
Contact button that scroll to contact form at bottom of page stays |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.