Skip to content

Commit

Permalink
Copy over some legacy files under https://r-universe.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Aug 27, 2024
1 parent 0c24ec3 commit 278d891
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 1 deletion.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ app.use(express.json());
app.use(express.urlencoded({ extended: false }));
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'static')));
app.use('/_global', express.static(path.join(__dirname, 'static')))

// remove trailing slashes
app.use((req, res, next) => {
Expand Down
Binary file added favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions static/matomo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var _paq = window._paq = window._paq || [];
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.r-universe.dev"]);
_paq.push(["setDomains", ["*.r-universe.dev"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://ropensci.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '2']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src='//cdn.matomo.cloud/ropensci.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
Binary file added static/nobody.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions static/planets.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions static/rocket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions static/runiverse.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion views/global/galaxy.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ head
link(rel='stylesheet' href='/galaxy.css')
title R-universe: personal package repositories for R!

img#runiverselogo(src='https://r-universe.dev/runiverse.svg')
img#runiverselogo(src='/logo-big.svg')
svg(viewbox='0 0 800 600' preserveaspectratio='xMinYMid slice')
g#stars
each x in orgs
Expand Down

0 comments on commit 278d891

Please sign in to comment.