diff --git a/content/img/404_bg.svg b/content/img/404_bg.svg index 834a3484..ccbb0536 100644 --- a/content/img/404_bg.svg +++ b/content/img/404_bg.svg @@ -9232,14 +9232,14 @@ borderopacity="1.0" inkscape:pageopacity="1" inkscape:pageshadow="2" - inkscape:zoom="0.21185462" - inkscape:cx="1982.4916" - inkscape:cy="828.39828" + inkscape:zoom="0.47250329" + inkscape:cx="510.04936" + inkscape:cy="537.56239" inkscape:document-units="mm" - inkscape:current-layer="layer9" + inkscape:current-layer="g87265" showgrid="false" - inkscape:window-width="2560" - inkscape:window-height="1387" + inkscape:window-width="1440" + inkscape:window-height="784" inkscape:window-x="0" inkscape:window-y="25" inkscape:window-maximized="1" @@ -9275,144 +9275,196 @@ transform="translate(12.833556,-21.812334)"> - - - + id="g5100"> + + + + + + + + + + + + style="fill:#000000;stroke-width:0.0775242" + id="path881-2-7" + d="" /> - - + id="path881-0-4" + d="" /> + + + style="fill:#000000;stroke-width:0.00819119" + id="path881-57-9-5-0-19" + d="" /> + + + - - - - - - - - - - - - - - - - + id="path881-6-9" + d="" /> - - THE ATALAD -MINON GAME! - - - - - - - + id="g18494-88-7" + transform="matrix(186.4512,0,0,-254.15858,-123.7956,-1060.6759)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/content/img/gooey_pts04_scale1600.mp4 b/content/img/gooey_pts04_scale1600.mp4 new file mode 100644 index 00000000..f6d01681 Binary files /dev/null and b/content/img/gooey_pts04_scale1600.mp4 differ diff --git a/content/pages/index.html b/content/pages/index.html index 364bb6c9..3c8e0708 100644 --- a/content/pages/index.html +++ b/content/pages/index.html @@ -144,12 +144,15 @@

Create Structure

+

Use DataLad

- DataLad is a free and open source command line tool with a Python API and is compatible with - all major operating systems. Use DataLad to: + DataLad is a free and open source Python-based tool that is compatible with + all major operating systems. It can be used via its + Graphical User Interface or via the + command line to:

  •   create new datasets locally
  • @@ -164,8 +167,8 @@

    Use DataLad

      Try out DataLad
- Computer console -
+ Computer console +

datalad create my_dataset

datalad save -m "hello world"

datalad push --to location

@@ -174,6 +177,14 @@

Use DataLad

datalad get example.txt

datalad drop example.txt

+ +
+ + +
diff --git a/content/static/scripts.js b/content/static/scripts.js index 61291f88..b7488a63 100644 --- a/content/static/scripts.js +++ b/content/static/scripts.js @@ -63,4 +63,61 @@ function copyCode(text) { navigator.clipboard.writeText(text) .then(() => { }) .catch((error) => { alert(`Copy failed! ${error}`) }) +} + +// Change "Use DataLad" display +var gooeyVideo = document.getElementById("gooey_video"); +gooeyVideo.style.display = "none"; +var timer = null +var interval = 20000 +startTimer() + +function startTimer() { + if (timer !== null) return; + timer = setInterval(toggleUseDataLadRadio, interval); +} + +function stopTimer() { + clearInterval(timer); + timer = null +} + +function resetTimer() { + stopTimer() + startTimer() +} + +function selectUseDataLad(val, src) { + // Grab elements + var consoleImg = document.getElementById("console_img"); + var typedText = document.getElementById("typed_text"); + var gooeyVideo = document.getElementById("gooey_video"); + // Set display + if (val==="console") { + consoleImg.style.display = ""; + typedText.style.display = ""; + gooeyVideo.style.display = "none"; + } else { + consoleImg.style.display = "none"; + typedText.style.display = "none"; + gooeyVideo.style.display = ""; + } + if (src==="click") { + resetTimer() + } + +} + +function toggleUseDataLadRadio() { + var radioConsole = document.getElementById("console-select"); + var radioGooey = document.getElementById("gooey-select"); + if (radioConsole.checked) { + radioConsole.checked = false; + radioGooey.checked = true; + selectUseDataLad("gooey", "timer") + } else { + radioGooey.checked = false; + radioConsole.checked = true; + selectUseDataLad("console", "timer") + } } \ No newline at end of file diff --git a/theme/static/css/style.css b/theme/static/css/style.css index c29627b3..d3dd8c47 100644 --- a/theme/static/css/style.css +++ b/theme/static/css/style.css @@ -769,6 +769,15 @@ svg.hero-svg { box-shadow: 0 7px 11px -1px #7A7A7A; border-radius: 0.4em; } +.card-img.use-datalad video { + height: auto; + width: 90%; + max-width: 700px; + box-shadow: 0 7px 11px -1px #7A7A7A; + border-radius: 0.4em; + margin-bottom: 1em; + margin-top: 1em; +} .typewriter-text { position: absolute; top: 50%; @@ -1613,4 +1622,28 @@ img.no-overflow { padding-bottom: 1em; text-align: center; justify-content: center; -} \ No newline at end of file +} + +.show-use input[type=radio] { + display: none +} +.show-use input[type=radio] + label { + border: 1px solid var(--datalad-grey); + background-color: white; + width: 15px; + height: 15px; + border-radius: 50%; + position: static; + display: inline-block; +} +.show-use input[type=radio]:hover + label { + background-color: #f6f6f6; +} +.show-use input[type=radio]:checked + label { + background-color: var(--datalad-yellow); +} + +.show-use input[type=radio]:checked + label { + background-color: var(--datalad-yellow); +} +