Skip to content

Commit

Permalink
Merge pull request #2 from statisticsnorway/regroup-chapters
Browse files Browse the repository at this point in the history
Changed a few components
  • Loading branch information
skars82 authored Oct 23, 2023
2 parents 9c1749f + e857968 commit ff64701
Show file tree
Hide file tree
Showing 9 changed files with 166 additions and 303 deletions.
30 changes: 25 additions & 5 deletions dapla-manual/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ website:
title: "Dapla-manualen"
image: images/dapla-long.png
favicon: images/dapla-favicon.png
repo-url: https://github.com/statisticsnorway/dapla-manual
repo-url: https://github.com/statisticsnorway/dapla-manual-internal
issue-url: https://github.com/statisticsnorway/dapla-manual-internal/issues/new
repo-actions: [edit, issue]
twitter-card: true
page-navigation: true
open-graph: true
search:
location: sidebar
page-footer:
left:
This is site heavily inspired by the
Expand All @@ -22,15 +23,19 @@ website:
navbar:
logo: images/dapla-long.png
logo-alt: "Logo for Dapla"
background: "#F0F8F9" # "Dark 1" from https://design.ssb.no/#/components/color
foreground: "#274247" # "Dark 5" from https://design.ssb.no/#/components/color
search: true
left:
- text: Statistikkere
href: statistikkere/introduksjon.qmd
- text: Utviklere
href: utviklere/index.qmd
- text: Eksempler
href: notebooks/index.qmd
- text: "Om Dapla"
href: om-dapla.qmd
- text: Hjelp
menu:
- text: Opprette Dapla-team
Expand All @@ -43,9 +48,24 @@ website:
icon: send-fill
href: https://ssb.pureservice.com/#/new/7
right:
- text: "Logg inn"
icon: person-circle
menu:
- text: "DaplaHub"
href: https://datahub.external.staging.ssb.cloud.nais.io/explore
icon: database-fill
- text: "DaplaLab"
href: om-dapla.qmd
icon: graph-up
- text: "JupyterLab (legacy)"
href: hhttps://jupyter.dapla.ssb.no/
icon: journal-code
- text: "Google Cloud Console"
href: https://console.cloud.google.com/
icon: google
- icon: github
href: https://github.com/statisticsnorway/dapla-manual
aria-label: Dapla-manual GitHub
aria-label: Dapla-manual GitHub repository

sidebar:
- id: statistikkere
Expand Down Expand Up @@ -128,6 +148,6 @@ format:
html:
toc: true
collapse-level: 1
theme: cosmo
theme: [cosmo, theme.scss]
code-copy: true
code-overflow: wrap
File renamed without changes.
7 changes: 3 additions & 4 deletions dapla-manual/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@ resources:
### Hvordan? Hva? Hvorfor? Dapla-manualen gjør overgangen til Dapla enklere.

::: {.hero-buttons}
[Hurtigstart](./statistikkere/introduksjon.qmd){.btn-action-primary .btn-action .btn .btn-success .btn-lg role="button"}
[Manual](docs/guide/){#btn-guide .btn-action .btn .btn-info .btn-lg role="button"}
[Logg inn på Dapla](https://jupyter.dapla.ssb.no/){#btn-guide .btn-action .btn .btn-info .btn-lg role="button"}
[For statistikkere](./statistikkere/introduksjon.qmd){.btn-action-primary .btn-action .btn .btn-success .btn-lg role="button"}
[For utviklere](docs/guide/){#btn-guide .btn-action .btn .btn-info .btn-lg role="button"}
:::
:::

::: {.hero-animation}

<video autoplay muted playsinline loop>
<source src="images/dapla-test5.mp4 " type="video/mp4"/>
<source src="images/dapla-animation.mp4 " type="video/mp4"/>
</video>
:::

Expand Down
1 change: 1 addition & 0 deletions dapla-manual/om-dapla.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Om Dapla
2 changes: 1 addition & 1 deletion dapla-manual/statistikkere/gcc.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Hvis du trykker på prosjektvelgeren vil det åpnes opp et nytt vindu. Sjekk at
![Prosjektvelgeren i Google Cloud Console](../images/prosjektvelger.png){fig-alt="Bilde som viser prosjektvelgeren i Google Cloud Console" #fig-prosjektvelger}

### Velg prosjekt
Her vises det hvordan man velger et prosjekt I [GCC](../gcc.qmd). Eksempelet benytter Dapla teamet `demo stat b` og fortsetter fra (@fig-prosjektvelger).
Her vises det hvordan man velger et prosjekt I [GCC](./gcc.qmd#prosjektvelger). Eksempelet benytter Dapla teamet `demo stat b` og fortsetter fra (@fig-prosjektvelger).

1. Skrive teamnavn i søkefeltet, resultatene burde se ut som i (@fig-sok).
1. Trykk på lenken `prod-demo-stat-b`, som markert med rød pil i (@fig-sok).
Expand Down
4 changes: 4 additions & 0 deletions dapla-manual/statistikkere/introduksjon.qmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
toc: false
---

# Introduksjon {#sec-project-dice}

Målet med dette kapittelet er å gi en grunnleggende innføring i hva som legges i ordet **Dapla**. I tillegg gis en forklaring på hvorfor disse valgene er tatt.
3 changes: 3 additions & 0 deletions dapla-manual/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*-- scss:defaults --*/
$link-color: #143f90;
$text-muted: #6a737b;
Loading

0 comments on commit ff64701

Please sign in to comment.