Skip to content

Commit

Permalink
Merge pull request #15 from GetDKAN/develop
Browse files Browse the repository at this point in the history
Transition to basic static site
  • Loading branch information
TheBoatyMcBoatFace authored Aug 7, 2024
2 parents eb93628 + 57a39cf commit 41d9d84
Show file tree
Hide file tree
Showing 132 changed files with 1,010 additions and 5,831 deletions.
76 changes: 76 additions & 0 deletions .editorconfig
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
# ------------------------------
6 changes: 6 additions & 0 deletions .env
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
6 changes: 0 additions & 6 deletions .eslintrc.js

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/static.yml
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
9 changes: 0 additions & 9 deletions .gitignore
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*
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE
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.
48 changes: 5 additions & 43 deletions README.md
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.
1 change: 0 additions & 1 deletion components.js

This file was deleted.

Binary file removed content/images/DKANRoadmap.png
Binary file not shown.
Binary file not shown.
Binary file removed content/images/avatar.jpeg
Binary file not shown.
Binary file removed content/images/baymax.png
Binary file not shown.
Binary file removed content/images/bg.png
Binary file not shown.
Binary file removed content/images/civicactions.png
Binary file not shown.
Binary file removed content/images/cover-baymax.jpeg
Binary file not shown.
38 changes: 0 additions & 38 deletions content/images/dkan-avatar-white.svg

This file was deleted.

Binary file removed content/images/dkan-avatar.png
Binary file not shown.
Binary file removed content/images/dkan-releases.png
Binary file not shown.
Binary file removed content/images/dkan-releases.sketch
Binary file not shown.
Binary file removed content/images/dkan-tips.sketch
Binary file not shown.
Loading

0 comments on commit 41d9d84

Please sign in to comment.