-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgraphics1.qmd
167 lines (149 loc) · 5.33 KB
/
graphics1.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
---
listing:
contents: posts
sort: "date desc"
type: grid
max-items: 6
page-layout: full
format: html
---
<style>
@keyframes slideInFromLeft {
0% {
transform: translateX(-100%);
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
.animate-slideInFromLeft {
opacity: 0;
animation: slideInFromLeft 1s forwards;
}
.scroll-title {
background-color: rgb(30, 81, 164);
color: white;
display: inline-block;
padding: 10px;
cursor: pointer;
}
.darkButton {
background-color: black;
color: #fff;
border: none;
transition: background-color 0.3s, color 0.3s;
}
.darkButton a {
color: inherit;
text-decoration: none;
}
.darkButton:hover {
background-color: rgb(30, 81, 164);
color: white;
}
.darkButton:hover a{
color:
}
.joiningRButton {
background-color: black;
color: #fff;
border: 2px solid white;
transition: background-color 0.3s, color 0.3s;
}
.joiningRButton a {
color: inherit;
text-decoration: none;
}
.joiningRButton:hover {
background-color: white;
color: black;
}
.joiningRButton:hover a {
color: black;
}
.joining-r-section {
background-image: url('images/Background_3.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding: 20px;
color: white;
}
</style>
<section id="hero2">
<h2 id="scroll-to-hero2">R Consortium</h2>
<p>Supporting the R community, the R Foundation and organizations developing, maintaining and distributing R software.</p>
</section>
<section class="what-is-r-section" id="what-is-r">
<div style="display: flex; flex-wrap: wrap;">
<div style="flex: 2; min-width: 300px; padding: 10px; align-items: center;">
<h2 class="scroll-title" >WHAT IS THE R CONSORTIUM</h2>
<p>The central mission of the R Consortium is to work with and provide support to the R Foundation and to the key organizations developing, maintaining, distributing and using R software through the identification, development and implementation of infrastructure projects.</p>
<p>The R language is an open source environment for statistical computing and graphics, and runs on a wide variety of computing platforms. The R language has enjoyed significant growth, and now supports over 2 million users. A broad range of industries have adopted the R language, including biotech, finance, research and high technology industries. The R language is often integrated into third party analysis, visualization and reporting applications.</p>
</div>
<div style="flex: 1; min-width: 300px; padding: 20px; border; display: flex; justify-content: flex-end; align-items: end;">
<a class="video-popup" href="https://www.youtube.com/watch?v=XcBLEVknqvY" target="blank">
<img src="images/rcon_video_preview.png" alt="Video Preview" style="width: 90%; height: auto; cursor: pointer; margin-left: 1%">
</a>
</div>
</div>
<button class="darkButton"><a href="about/index.qmd" style="text-decoration: none;">LEARN MORE</a></button>
<button class="darkButton"><a href="rc-docs/RC-AR-2023_Final-Draft_1-30-24.pdf" style="text-decoration: none;">READ OUR ANNUAL REPORT 2023</a></button>
</section>
<section class="joining-r-section" id="joining-r">
<h2 class="scroll-title" style="border:none;">Joining R Consortium</h2>
<p>
Industry-leading organizations have joined the R Consortium to support an open source governance and foundation model to provide support to the R community, the R Foundation and groups and individuals, using, maintaining and distributing R software.
</p>
<button class="joiningRButton"><a href="about/join.qmd" style="text-decoration: none;">LEARN MORE ABOUT MEMBERSHIP</a></button>
</section>
<section class="need-help-section" id="need-help">
<h2 class="scroll-title" >Need Help?</h2>
<p>
If you need help such as with billing, mailing lists or other wise then please use this service desk for support
</p>
<button class="darkButton"><a href="https://members.r-consortium.org/" style="text-decoration: none;">GET HELP</a></button>
</section>
<section id="latest-news">
<h2 class="scroll-title" >Latest NEWS AND UPDATES</h2>
<setion>
<script>
document.addEventListener("DOMContentLoaded", function() {
const scrollTitles = document.querySelectorAll(".scroll-title");
function isElementInViewport(el) {
const rect = el.getBoundingClientRect();
return (
rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
rect.right <= (window.innerWidth || document.documentElement.clientWidth)
);
}
function checkAnimations() {
scrollTitles.forEach(el => {
if (isElementInViewport(el)) {
el.classList.add("animate-slideInFromLeft");
}
});
}
window.addEventListener("scroll", checkAnimations);
checkAnimations();
});
document.addEventListener("DOMContentLoaded", function() {
const scrollTitles = document.querySelectorAll(".scroll-title");
scrollTitles.forEach(el => {
el.addEventListener("click", function() {
const targetId = this.getAttribute("data-target");
const targetSection = document.getElementById(targetId);
if (targetSection) {
targetSection.scrollIntoView({ behavior: "smooth" });
}
});
});
});
document.getElementById('scroll-to-hero1').addEventListener('click', function() {
document.getElementById('hero1').scrollIntoView({ behavior: 'smooth' });
});
</script>