Skip to content

Commit

Permalink
Merge pull request #11 from steno-aarhus/repo-sync/sdca-theme/default
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 authored Feb 18, 2024
2 parents a7aae52 + a070adf commit d3e4429
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
name: Build website

on:
push:
branches: main
branches:
- main

name: build-deploy
# you need these permissions to publish to GitHub pages
permissions:
contents: write
pages: write

jobs:
build-deploy:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 1

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: false
# To install LaTeX to build PDF book
tinytex: false
# uncomment below and fill to pin a version
# version: SPECIFIC-QUARTO-VERSION-HERE

# add software dependencies here and any libraries

- name: Publish to Netlify (and render)
# NOTE: If Publishing to GitHub Pages, set the permissions correctly (see top of this yaml)
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: netlify
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions
36 changes: 36 additions & 0 deletions _extensions/steno-aarhus/sdca-theme/_extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
title: sdca-theme
author: Luke W. Johnston
version: 0.1.0
quarto-required: ">=1.3.0"
contributes:
formats:
html:
toc: true
from: markdown+emoji
theme:
- litera
- theme.scss

project:
project:
type: website

website:
repo-branch: main
repo-actions: [edit, issue, source]
search:
location: navbar
type: overlay
page-footer:
center:
- text: "License: CC BY 4.0"
href: https://creativecommons.org/licenses/by/4.0/
- text: "Contributing guidelines"
href: https://steno-aarhus.github.io/research/CONTRIBUTING.html
- text: "Code of Conduct"
href: https://steno-aarhus.github.io/research/CODE_OF_CONDUCT.html

reference-location: margin
title-block-banner: images/banner.png


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions _extensions/steno-aarhus/sdca-theme/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*-- scss:defaults --*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat');
@import url('https://fonts.googleapis.com/css2?family=Mukta');

$font-family-serif: "Montserrat", sans-serif !default;
$font-family-sans-serif: "Montserrat", sans-serif !default;
$headings-font-family: "Mukta", sans-serif !default;
$primary: #990032;
$navbar-bg: #990032;
$title-banner-color: black;

/*-- scss:rules --*/

25 changes: 25 additions & 0 deletions directory.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "Website Directory"
title-block-banner: false
---

These are other websites across Steno Aarhus:

- [Official site](https://www.stenoaarhus.dk/research): The official
Region Midt website for more general public information and details.
- [Research Common Docs](https://steno-aarhus.github.io/research):
Common documents and operating prodecures for researchers across
Steno Aarhus.
- [Epidemiology and
Statistics](https://steno-aarhus.github.io/epi-stats): Events and
activities related to epidemiology and statistics.
- [Register Research
Space](https://steno-aarhus.github.io/register-space): Events and
activities related to register-based research.
- [Internationalization](https://steno-aarhus.github.io/internationalization):
Efforts to spread knowledge and connect with other countries,
specifically Latin America.
- [Epidemiology Group](https://steno-aarhus.github.io/epi):
Documentation for meetings within the epidemiology group.
- [Coding Cafe](https://coding-cafe-sdca-au.netlify.app/): Schedule
for in-person coding support and help.

0 comments on commit d3e4429

Please sign in to comment.