Skip to content

Commit 579feeb

Browse files
authored
Add Connect example landing-page (#76)
1 parent 79c40d2 commit 579feeb

File tree

7 files changed

+134
-0
lines changed

7 files changed

+134
-0
lines changed

.github/workflows/extensions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
quarto-stock-report-python: extensions/quarto-stock-report-python/**
3535
portfolio-dashboard: extensions/portfolio-dashboard/**
3636
quarto-document: extensions/quarto-document/**
37+
landing-page: extensions/landing-page/**
3738
stock-api-fastapi: extensions/stock-api-fastapi/**
3839
3940
# Runs for each extension that has changed from `simple-extension-changes`

extensions/landing-page/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Landing page
2+
3+
## About this example
4+
5+
A simple static HTML web page that can be served from Connect.
6+
7+
## Requirements
8+
9+
* None

extensions/landing-page/css/example-landing.css

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
2.71 KB
Loading
8.96 KB
Loading

extensions/landing-page/index.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Example Landing Page</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
6+
<meta name="apple-mobile-web-app-capable" content="yes" />
7+
<link rel='stylesheet' href='./css/example-landing.css' />
8+
</head>
9+
<body>
10+
<div class="band hero"></div>
11+
12+
<div class="band">
13+
14+
<div class="bandContent">
15+
<h1>Welcome to Data Science at Example Organization!</h1>
16+
</div>
17+
18+
<div class="bandContent intro">
19+
<p>If you're new to exploring data here at Example Organization, we recommend you start by looking at the following document:</p>
20+
<p><a class="introDoc" target="_parent" href="https://en.wikipedia.org/wiki/Data_science">Intro Doc</a></p>
21+
<p>Otherwise, dive right in! And <a href="#">please contact us</a> if you have any issues, or there are areas of data research that you'd like us to explore for you!</p>
22+
</div>
23+
24+
<div class="bandContent">
25+
<h1>FAQs</h1>
26+
<ul>
27+
<li>Who benefits from data sharing?</li>
28+
<p>Everyone benefits, including investigators, funding agencies, the scientific community, and, most importantly, the public. Data sharing provides more effective use of NIH resources by avoiding unnecessary duplication of data collection. It also conserves research funds to support more investigators. The initial investigator benefits, because as the data are used and published more broadly, the initial investigator's reputation grows.</p>
29+
<li>Is data sharing widely accepted as a good practice?</li>
30+
<p>National scientific organizations have made a commitment to the sharing and archiving of data through their ethical codes (e.g., the American Sociological Association) or publication policies (e.g., the American Psychological Association). More than 15 years ago, the National Academy of Sciences described the benefits of sharing data. (See http://books.nap.edu/catalog/2033.html) For many years, the National Science Foundation (NSF) Economics Program has required data underlying an article arising from an NSF grant to be placed in a public archive. Similar expectations exist at the National Institute of Justice. Moreover, many scientific journals require that authors make available the data included in their publications. In the biological sciences, protein and DNA sequences are made available to researchers through data archives, such as GenBank. Since 1996, NIH has required data sharing in several areas, such as DNA sequences, mapping information, and crystallographic coordinates.</p>
31+
<li>What kinds of data are candidates for sharing?</li>
32+
<p>Potentially all kinds of data are candidates for sharing, but unique data are especially important. Some biologic sciences already have data-sharing plans in place, such as genetic mapping. But other basic science data are also amenable to sharing. Data from human subjects (e.g., surveys, clinical studies) also can be shared if the identity and privacy of research participants can be protected.</p>
33+
<li>I don't want to share my data, which were generated under an NIH grant. Can I be forced to do so?</li>
34+
<p>When the PI and the authorized institutional official sign the face page of an NIH application, they are assuring compliance with policies and regulations governing research awards. NIH expects grantees to follow these rules and to conduct the work described in the application. Thus, if an application describes a data sharing plan, NIH expects that plan to be enacted. In some instances, for example, NIH may make data sharing a term and condition of award.</p>
35+
</ul>
36+
</div>
37+
</div>
38+
</body>
39+
</html>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"version": 1,
3+
"locale": "en_US",
4+
"platform": "4.4.0",
5+
"metadata": {
6+
"appmode": "static",
7+
"primary_rmd": null,
8+
"primary_html": "index.html",
9+
"content_category": null,
10+
"has_parameters": false
11+
},
12+
"extension": {
13+
"name": "landing-page",
14+
"title": "Static HTML landing page",
15+
"description": "A simple static HTML web page that can be served from Connect",
16+
"homepage": "https://github.com/posit-dev/connect-extensions/tree/main/extensions/landing-page",
17+
"tags": [],
18+
"minimumConnectVersion": "2025.04.0",
19+
"version": "1.0.0"
20+
},
21+
"packages": null,
22+
"files": {
23+
"css/example-landing.css": {
24+
"checksum": "d5ab84ce8482341785ad7798f272fcc5"
25+
},
26+
"images/info.png": {
27+
"checksum": "184edb1e9b490e26bf93081274d45928"
28+
},
29+
"images/logo.png": {
30+
"checksum": "38472dc2c802db2abbc2ee5c7204632d"
31+
},
32+
"index.html": {
33+
"checksum": "5a39c2d4fea53f9e4d8870b6370facc4"
34+
},
35+
"README.md": {
36+
"checksum": "31098f057b98fd974710bfc93d8eeee2"
37+
}
38+
},
39+
"users": null
40+
}

0 commit comments

Comments
 (0)