Skip to content

Commit

Permalink
add simwrapper dist dir to public/, rename as simwrapper/
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhochow committed Jul 28, 2023
1 parent 98d3245 commit e834f99
Show file tree
Hide file tree
Showing 349 changed files with 11,379 additions and 0 deletions.
22 changes: 22 additions & 0 deletions public/simwrapper/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<!-- this custom 404 page instructs Github Pages to direct missing SPA links
back to the Vue Router -->
<html lang="en">
<head>
<script>
// baseURL below MUST reflect base folder of built site;
// example: '/simwrapper/' for https://vsp.berlin/simwrapper/
const baseURL = '/simwrapper/'

const numRedirects = Number.parseInt(localStorage?.numRedirects || '0') + 1
localStorage.numRedirects = numRedirects
localStorage[`redirect${numRedirects}`] = location.href

let meta = document.createElement('meta')
meta.httpEquiv = 'refresh'
meta.content = `0;URL='${baseURL}?redirect404=${numRedirects}'`

document.head.appendChild(meta)
</script>
</head>
</html>
7 changes: 7 additions & 0 deletions public/simwrapper/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# SimWrapper website

This repository contains the VSP implementation of SimWrapper, available at https://vsp.berlin/simwrapper.

This site was built from source files that can be found at https://github.com/simwrapper/simwrapper

To learn more about SimWrapper, see the documentation at https://simwrapper.github.io/docs/intro

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/simwrapper/assets/AggregateOd.14741957.css

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

2 changes: 2 additions & 0 deletions public/simwrapper/assets/AggregateOd.73027dde.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/simwrapper/assets/AggregateOd.73027dde.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/simwrapper/assets/CalculationTable.6bd23cab.css

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

2 changes: 2 additions & 0 deletions public/simwrapper/assets/CalculationTable.abaf1087.js

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

Loading

0 comments on commit e834f99

Please sign in to comment.