-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: move website to vite * fix: re-add cname and 404 --------- Co-authored-by: Coltin Kifer <[email protected]>
- Loading branch information
Showing
23 changed files
with
5,813 additions
and
14,615 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,2 @@ | ||
|
||
# VITE_RECHARTS_LATEST_VERSION=2.12.6 |
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
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
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 |
---|---|---|
|
@@ -5,6 +5,3 @@ node_modules | |
build/ | ||
public/examples | ||
/docs/ | ||
!/docs/index.html | ||
!/docs/404.html | ||
!/docs/CNAME |
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
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,63 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Recharts</title> | ||
<meta charset="utf-8" /> | ||
<meta name="description" content="Recharts - Re-designed charting library built with React and D3." /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2" /> | ||
<link | ||
href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono|Oswald:300" | ||
rel="stylesheet" | ||
type="text/css" | ||
/> | ||
<link href="//recharts.org/style.css" rel="stylesheet" /> | ||
<!-- Start Single Page Apps for GitHub Pages --> | ||
<script type="text/javascript"> | ||
// Single Page Apps for GitHub Pages | ||
// https://github.com/rafrex/spa-github-pages | ||
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License | ||
// ---------------------------------------------------------------------- | ||
// This script checks to see if a redirect is present in the query string | ||
// and converts it back into the correct url and adds it to the | ||
// browser's history using window.history.replaceState(...), | ||
// which won't cause the browser to attempt to load the new url. | ||
// When the single page app is loaded further down in this file, | ||
// the correct url will be waiting in the browser's history for | ||
// the single page app to route accordingly. | ||
(function (l) { | ||
if (l.search) { | ||
var q = {}; | ||
l.search | ||
.slice(1) | ||
.split('&') | ||
.forEach(function (v) { | ||
var a = v.split('='); | ||
q[a[0]] = a.slice(1).join('=').replace(/~and~/g, '&'); | ||
}); | ||
if (q.p !== undefined) { | ||
window.history.replaceState( | ||
null, | ||
null, | ||
l.pathname.slice(0, -1) + (q.p || '') + (q.q ? '?' + q.q : '') + l.hash, | ||
); | ||
} | ||
} | ||
})(window.location); | ||
</script> | ||
<!-- End Single Page Apps for GitHub Pages --> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-72434206-1"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'UA-72434206-1'); | ||
</script> | ||
<script type="module" src="/src/app.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.