Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 85d0204

Browse files
committed
add paper to frontpage. closes #559
1 parent 94a938c commit 85d0204

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

client/js/pages/landing/splash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module.exports = function (state, emit) {
154154
<div class="container">
155155
<h2 class="content-title">Built With Care</h2>
156156
<p class="content-subtitle horizontal-rule">
157-
Dat is built within a vibrant open source module-based ecosystem. <a href="http://awesome.datproject.org/" class="color-blue-disabled hover-color-pink">Learn more.</a>
157+
Dat is built within a vibrant open source module-based ecosystem. <a href="http://datproject.org/paper" class="color-blue-disabled hover-color-pink">Read the paper.</a>
158158
</p>
159159
<div class="row pv4">
160160
<div class="col-xs-12 col-sm-4">

server/router.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ module.exports = function (config) {
3131
'/blog': 'https://blog.datproject.org'
3232
}, 301))
3333

34+
router.get('/paper', function (req, res) {
35+
fs.createReadStream(path.join(__dirname, '..', 'public', 'dat-paper.pdf')).pipe(res)
36+
})
3437
router.post('/api/v1/users', api.users.post)
3538
router.get('/api/v1/users', api.users.get)
3639
router.put('/api/v1/users', api.users.put)

0 commit comments

Comments
 (0)