Skip to content

Commit 10fe226

Browse files
authored
Merge pull request #15 from lkstrp/master
New `pypsa.org` landing page for PyPSA `v1.0.0`
2 parents 53084ee + 59a46dc commit 10fe226

File tree

377 files changed

+1628225
-693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+1628225
-693
lines changed

.github/workflows/deploy.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: 'master'
6+
7+
jobs:
8+
build_site:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Install Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
cache: npm
19+
20+
- name: Install dependencies
21+
run: npm ci
22+
23+
- name: Build
24+
env:
25+
BASE_PATH: '/project-website'
26+
run: |
27+
npm run build
28+
29+
- name: Upload Artifacts
30+
uses: actions/upload-pages-artifact@v3
31+
with:
32+
# this should match the `pages` option in your adapter-static options
33+
path: 'build/'
34+
35+
deploy:
36+
needs: build_site
37+
runs-on: ubuntu-latest
38+
39+
permissions:
40+
pages: write
41+
id-token: write
42+
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
47+
steps:
48+
- name: Deploy
49+
id: deployment
50+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
1-
*.nc
2-
.vscode
1+
node_modules
2+
3+
# Scripts
4+
Scripts
5+
6+
# Output
7+
.output
8+
.vercel
9+
.netlify
10+
.wrangler
11+
/.svelte-kit
12+
/build
13+
14+
# OS
15+
.DS_Store
16+
Thumbs.db
17+
18+
# Env
19+
.env
20+
.env.*
21+
!.env.example
22+
!.env.test
23+
24+
# Vite
25+
vite.config.js.timestamp-*
26+
vite.config.ts.timestamp-*

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Memet Zx
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

LICENSE.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# PyPSA Project Website
22

3-
This repository contains all code for the pypsa website www.pypsa.org.
3+
This repository contains all code for the pypsa website www.pypsa.org.
44

5-
The html is inspired by the Food Blog Template provided by the [W3.CSS](https://www.w3schools.com/w3css/w3css_templates.asp).
6-
7-
This project is licensed under the open source [MIT License](https://github.com/PyPSA/project-website/blob/master/LICENSE.txt)
5+
The website is based on the [template](https://github.com/leoMirandaa/shadcn-landing-page) created by [Leopoldo Miranda](https://github.com/leoMirandaa).

bun.lockb

109 KB
Binary file not shown.

components.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://next.shadcn-svelte.com/schema.json",
3+
"style": "default",
4+
"tailwind": {
5+
"config": "tailwind.config.ts",
6+
"css": "src/app.css",
7+
"baseColor": "slate"
8+
},
9+
"aliases": {
10+
"components": "$lib/components",
11+
"utils": "$lib/utils",
12+
"ui": "$lib/components/ui",
13+
"hooks": "$lib/hooks"
14+
},
15+
"typescript": true,
16+
"registry": "https://next.shadcn-svelte.com/registry"
17+
}

icons/email.png

-9.14 KB
Binary file not shown.

0 commit comments

Comments
 (0)