Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ship initial release to production #18

Merged
merged 149 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
6ef2c66
docs: minor readme update
orvn Jun 13, 2023
c9a66ed
Merge pull request #2 from data-preservation-programs/chore-ci
orvn Jun 13, 2023
c154b58
feat: deck of cards slider component poc
svvimming Jun 14, 2023
b4cd276
feat: hover interactions added
svvimming Jun 15, 2023
8db14c7
feat: base colors, svgs and typography
svvimming Jun 15, 2023
aa2029b
feat: site header
svvimming Jun 20, 2023
060c75d
Merge pull request #4 from data-preservation-programs/feat-base-styles
svvimming Jun 20, 2023
f3b5cba
Merge pull request #3 from data-preservation-programs/feat-deck-of-ca…
svvimming Jun 20, 2023
88f6513
Merge branch 'develop' into feat-index-page
svvimming Jun 20, 2023
e808531
feat: projects and articles sections
svvimming Jun 20, 2023
e18aa26
feat: work group, contributors and site footer sections
svvimming Jun 21, 2023
b0c7810
feat: add open graph content
orvn Jun 21, 2023
1b73560
docs: add graph image to readme
orvn Jun 19, 2023
def4775
feat: additional metadata
orvn Jun 18, 2023
9fe9cdf
Merge pull request #6 from data-preservation-programs/feat-seo
orvn Jun 21, 2023
ef031a6
Merge remote-tracking branch 'origin/develop' into feat-index-page
orvn Jun 21, 2023
2bca628
feat: responsive styling for mini and small breakpoints
svvimming Jun 21, 2023
137bc03
feat: medium and small breakpoint styling
svvimming Jun 22, 2023
50d4e63
Merge branch 'feat-index-page' of https://github.com/data-preservatio…
svvimming Jun 22, 2023
24da01c
feat: mobile navigation
svvimming Jun 22, 2023
1798fe3
feat: contributors section slider
svvimming Jun 22, 2023
5269094
feat: flip interaction on project cards
svvimming Jun 23, 2023
53ef5b4
feat: background noise effect
svvimming Jun 23, 2023
46d252d
feat: hover effects on project card ctas
svvimming Jun 23, 2023
e7e10f9
feat: updated favicon
svvimming Jun 23, 2023
b1c90fd
Merge pull request #5 from data-preservation-programs/feat-index-page
orvn Jun 26, 2023
b057e5d
feat: adding approved content
nicole-code Jun 30, 2023
e450e75
feat: disabling more dashboard buttons
nicole-code Jun 30, 2023
79df023
feat: adding slack link
nicole-code Jun 30, 2023
f580740
Merge pull request #7 from data-preservation-programs/feat-content-entry
orvn Jun 30, 2023
4698a4a
feat: extend commitlint config
orvn Jul 5, 2023
c4672b3
Merge pull request #8 from data-preservation-programs/feat-extend-com…
tikagan Jul 5, 2023
a17816d
content: adds header and footer nav links
tikagan Jul 5, 2023
0cd4e3f
feat: add ids to sections so jump links in navs work
tikagan Jul 5, 2023
6711b6b
feat: data programs page title desktop sizes responsize styling
tikagan Jul 5, 2023
337f90e
content: remove placeholder article cards + quick fix for article car…
tikagan Jul 6, 2023
e7b0914
feat: data programs title responsive styling across breakpoints
tikagan Jul 6, 2023
32e3a6b
style: data programs title responsive polish
tikagan Jul 6, 2023
47ca40d
feat: background noise image updated
tikagan Jul 6, 2023
f07eed4
content: removes all articles button
tikagan Jul 6, 2023
0011c25
feat: full bar on right of project cards flips card
tikagan Jul 6, 2023
34c12c6
feat: contributor slider buttons show next logo in direction clicked
tikagan Jul 6, 2023
9cc813d
fix: when rendering <a> elements, button component will be part of th…
tikagan Jul 6, 2023
55b8b95
feat: adds project card flip button to tab index
tikagan Jul 6, 2023
e4b6608
feat: add contributor slider buttons to tabindex
tikagan Jul 6, 2023
16718b9
style: reduces header and footer nav link size
tikagan Jul 7, 2023
717162b
content: switches order and theme of article card buttons
tikagan Jul 7, 2023
f670a39
chore: renames section-contributors to section-collaborators
tikagan Jul 7, 2023
87b62d1
fix: favicon 404 error
tikagan Jul 7, 2023
2af031b
feat: hides non-visible article cards from tabindex
tikagan Jul 7, 2023
66c6fa3
feat: adds article cards prev/next buttons to tab index
tikagan Jul 7, 2023
a1483d4
feat: card-list-block conditionally alphabetizes card array
tikagan Jul 7, 2023
74d019c
feat: card sidebar titles scroll on hover
tikagan Jul 7, 2023
248d934
style: slider cards opacity out/in at end/beginning of slider when ad…
tikagan Jul 9, 2023
b132449
chore: background noise image compressed with tinyPNG
tikagan Jul 9, 2023
0ea055f
style: lines in working group section stay aligned
tikagan Jul 9, 2023
74d1579
test: fix for open graph undefined var in link preview
tikagan Jul 9, 2023
789611f
fix: og underfined var in link preview
tikagan Jul 9, 2023
48c8a99
fix: og underfined var in link preview but for real this time
tikagan Jul 9, 2023
b7aed37
content: adds logos to collaborators slider + updates order
tikagan Jul 9, 2023
9ca903f
content: working group section updated and new images
tikagan Jul 9, 2023
5f10f60
style: text elements custom selection styling
tikagan Jul 9, 2023
c5cf902
feat: adds tab navigation outline color and includes hover animations
tikagan Jul 9, 2023
c344c7b
feat: use scrolltoHash function instead of router.scrollBehavior func…
tikagan Jul 9, 2023
cff1e30
Merge branch 'fix-qa-uat-functionality' into feat-qa-design-review-2
tikagan Jul 9, 2023
1694eb7
feat: tab navigation polish for project and article cards
tikagan Jul 9, 2023
97aa659
style: site title styled in safari correctly
tikagan Jul 10, 2023
02e6766
style: iPhone 8 and 14 site title styling
tikagan Jul 10, 2023
230aa12
cleanup: rename svg noise asset
orvn Jul 10, 2023
1310916
Merge pull request #9 from data-preservation-programs/fix-qa-uat-func…
orvn Jul 10, 2023
fb67c0a
Merge branch 'develop' into feat-qa-design-review-2
tikagan Jul 10, 2023
87a31c0
style: card sidebar text not selectable
tikagan Jul 10, 2023
9c42c7e
style: card sidebar text scroll on card hover
tikagan Jul 10, 2023
380f4e7
style: cleanup ::selection rules
tikagan Jul 10, 2023
a45b5b3
style: card sidebar title animation polish
tikagan Jul 10, 2023
e607091
cleanup: unused css
tikagan Jul 10, 2023
64988ff
Merge pull request #10 from data-preservation-programs/feat-qa-design…
orvn Jul 10, 2023
0e7057e
feat: deck-of-cards adjusts cards array length if less than required …
tikagan Jul 11, 2023
a9c4852
style: transition delays tweaked
tikagan Jul 11, 2023
5571248
content: removed copright text in footer
tikagan Jul 11, 2023
1359f20
content: adds singularity logo, updates deals oracle logo
tikagan Jul 11, 2023
ee3e049
style: nav spacing polish
tikagan Jul 11, 2023
0cbb825
content: adds spade logo
tikagan Jul 11, 2023
1731b1f
feat: section collaborators cta block
tikagan Jul 11, 2023
0d76556
style: footer button hover styles
tikagan Jul 11, 2023
b04b606
feat: moves everything to col-11 centered grid
tikagan Jul 11, 2023
2b6d671
style: adjust apparent size of collaborators svgs
orvn Jul 12, 2023
3c9e967
style: resize noise pattern to look higher res
orvn Jul 12, 2023
00fe792
Merge pull request #11 from data-preservation-programs/content-copy-i…
orvn Jul 12, 2023
b117ca7
Merge branch 'develop' into feat-card-deck-polish
tikagan Jul 12, 2023
b75c281
style: footer links hover animations also happen on focus-visible
tikagan Jul 12, 2023
34d0a74
fix: typo in code vs json var leading
tikagan Jul 12, 2023
1ee62e1
feat: work with us cta block link updated
tikagan Jul 12, 2023
06e21ae
feat: header and footer put back on col-12 grid
tikagan Jul 12, 2023
cfe72de
style: reverse card sidebar title scroll direction
tikagan Jul 12, 2023
4b720ac
content: reduce font weight in second part of about section text
tikagan Jul 12, 2023
bfb2820
style: csss compilation problem with nav font size corrected
tikagan Jul 12, 2023
4df64fc
style: css compilation problem with hero margin-bottom corrected
tikagan Jul 12, 2023
0d3a44a
style: about section typography polish
tikagan Jul 12, 2023
10747e9
content: adds new images for article cards, order correction
tikagan Jul 12, 2023
c63faad
style: constrain site title above breakpoint xlarge
tikagan Jul 12, 2023
451a2e7
style: slow card deck animation down
tikagan Jul 12, 2023
3e53a0b
style: card deck timing function changed from ease to ease-in-out
tikagan Jul 12, 2023
feb0857
Merge pull request #12 from data-preservation-programs/feat-card-deck…
orvn Jul 12, 2023
8c0ab31
Merge branch 'develop' into feat-site-polish
orvn Jul 12, 2023
6c65750
style: card deck different time delays for incoming cards
tikagan Jul 12, 2023
8405d07
style: timing delay tweak to stop z-index glitch
tikagan Jul 12, 2023
3869e1a
Merge branch 'develop' into feat-site-polish
tikagan Jul 12, 2023
8da0481
Merge pull request #13 from data-preservation-programs/feat-site-polish
orvn Jul 12, 2023
e8900ff
content: new article card images
tikagan Jul 12, 2023
e605b4a
Merge branch 'develop' into content-article-images
tikagan Jul 12, 2023
2188b5e
feat: footer back to col-11
tikagan Jul 12, 2023
f234627
Merge pull request #14 from data-preservation-programs/feat-card-move…
orvn Jul 12, 2023
d04e5d8
Merge pull request #16 from data-preservation-programs/feat-footer-co…
orvn Jul 12, 2023
4bb5fa4
content: filplus quality phase article image update
tikagan Jul 12, 2023
e28fb5f
Merge pull request #15 from data-preservation-programs/content-articl…
orvn Jul 13, 2023
9e8fddd
style: slow sidebar text marquee
orvn Jul 13, 2023
128d476
Merge pull request #17 from data-preservation-programs/style-marquee-…
orvn Jul 13, 2023
c975a10
content: open panda project card sidebar image update
tikagan Jul 13, 2023
bb097f3
content: open panda project card sidebar image with lower opacity
tikagan Jul 13, 2023
3a30071
content: open panda extra contrast-y sidebar image
tikagan Jul 13, 2023
348bca7
content: open panda extra-contrast-y sidebar image, but with the imag…
tikagan Jul 13, 2023
fc0597d
Merge pull request #19 from data-preservation-programs/content-open-p…
orvn Jul 13, 2023
bc93340
fix: mobile nav home + close buttons don't scroll away when nav item …
tikagan Jul 14, 2023
2f22187
style: sidebar scrolling text styled correctly cross browser
tikagan Jul 14, 2023
7a97e9a
style: project card ctas responsive styling
tikagan Jul 14, 2023
713d72f
perf: image elements load lazily by default
tikagan Jul 17, 2023
825271b
content: filplus, moonlanding, slingshot sidebar images updated
tikagan Jul 17, 2023
5c07537
refactor: card content images computed element simplification, css tw…
tikagan Jul 17, 2023
39b11a5
Merge pull request #20 from data-preservation-programs/feat-qa-round-…
orvn Jul 17, 2023
83a4003
refactor: project card reverse image lazy loads
tikagan Jul 17, 2023
f91d6ee
Merge branch 'develop' into feat-qa-round-2-performance
tikagan Jul 17, 2023
37f3340
perf: optimize large jpegs
orvn Jul 17, 2023
03e9944
perf: optimize large svg
orvn Jul 17, 2023
6faac0b
feat: add alt text to img elements
tikagan Jul 17, 2023
200af6d
Merge remote-tracking branch 'origin/develop' into content-open-panda…
orvn Jul 17, 2023
5fd5d45
content: working group images renamed for alt text
tikagan Jul 17, 2023
197c38d
Merge pull request #22 from data-preservation-programs/content-open-p…
tikagan Jul 18, 2023
904faed
Merge branch 'develop' into feat-qa-round-2-performance
tikagan Jul 18, 2023
96087e5
content: singularity project card copy update
tikagan Jul 18, 2023
51689bf
content: spade project card copy update
tikagan Jul 18, 2023
ac6fc17
content: adds all articles button back to section articles
tikagan Jul 18, 2023
54c9d73
style: all articles button animates on focus visible
tikagan Jul 18, 2023
a418972
Merge pull request #23 from data-preservation-programs/content-review…
tjsMck Jul 18, 2023
9a32e1e
Merge branch 'develop' into feat-qa-round-2-performance
tikagan Jul 18, 2023
5fe0416
content: image name updates for alt text
tikagan Jul 18, 2023
cc1e57d
Merge pull request #21 from data-preservation-programs/feat-qa-round-…
orvn Jul 18, 2023
f02dadc
feat: spade project card marquee sidebar
tikagan Jul 19, 2023
9030dec
Merge pull request #24 from data-preservation-programs/feat-spade-sid…
tjsMck Jul 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# AU Nuxt Static Boilerplate
## Data Programs Website

[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)

![Nuxt Static banner](https://raw.githubusercontent.com/agency-undone/nuxt-static/develop/static/images/open-graph.png)
![Data Programs graph image](static/images/data-programs-open-graph.png)

## Overview

This is the boilerplate repository for building static sites using Nuxt
This is the repo for the Data Programs static microsite (available at [dataprograms.org](https://dataprograms.org))

- This repo represents a static site which requires compilation, but can then be served as a static resource
- This site can be hosted on any resource supporting static files, but may include some services that require a serverless node
- When running in production, this repository is primarily tested against the Netlify ecosystem, including Netlify Functions for any dynamic functionality
- The site itself is served statically, but internal navigation is virtualized in the browser: in other words, the site acts as an SPA when browsed on the client
- While a static site, this app can be extended at any time to a full application by changing the `target` in settings


## Stack

- Requires nodeJS and has been tested on node 16
- Requires nodeJS and has been tested on node 16 (node 16.14+ required)
- Uses a Vue framework, [nuxtJS 2](https://nuxtjs.org/), deployed in static mode
- Styles are written in SCSS, and are concatenated and tree-shaken during compile-time

Expand Down
34 changes: 17 additions & 17 deletions app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@

<head {{ HEAD_ATTRS }}>
{{ HEAD }}
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="apple-touch-icon" sizes="57x57" href="/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#000000">
<meta name="msapplication-TileImage" content="/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#000000">
</head>

<body {{ BODY_ATTRS }}>
Expand Down
32 changes: 0 additions & 32 deletions app/router.scrollBehavior.js

This file was deleted.

6 changes: 6 additions & 0 deletions assets/fonts/RandomGrotesque/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"Random Grotesque" is a multifunctional grotesque sans-serif typeface. It was originally designed to capture the feel of Helvetica but still maintain its unique personality. The most distinguishable feature is the inktrap. "Random Grotesque" is great for posters, logos, headings, titles, subtitles, or text blocks of different sizes.
The whole family consists of 36 styles, with 3 widths: Slim, Standard, and Spacious; 6 weights ranging from Light to Black; Upright and Italic. 12 Standard-width fonts will be free for personal and commercial uses. Each font contains 737 glyphs and supports over 101 languages.

If you want to donate, please send it to my Paypal account through the following link: https://paypal.me/randommaerks

Thank you for the support!
Binary file added assets/fonts/RandomGrotesque/RG-StandardBold.otf
Binary file not shown.
Binary file added assets/fonts/RandomGrotesque/RG-StandardBold.ttf
Binary file not shown.
Binary file added assets/fonts/RandomGrotesque/RG-StandardBold.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed assets/fonts/eb-garamond/eb-garamond-variable.woff2
Binary file not shown.
Binary file added assets/noise.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions assets/scss/block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
margin-bottom: toRem(90);
}
// add margin bottom for first col and if col is marked first
[class*=grid-] > [class*=md-first],
[class*=grid-] > [class*=col-]:first-child {
@include medium {
margin-bottom: toRem(34);
}
}
// [class*=grid-] > [class*=md-first],
// [class*=grid-] > [class*=col-]:first-child {
// @include medium {
// margin-bottom: toRem(34);
// }
// }
// remove margin bottom if marked last
[class*=grid-] > [class*=md-last][class*=col-]:first-child {
margin-bottom: 0;
}
}
}
123 changes: 102 additions & 21 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,111 @@ $fontAssetPath: '~assets/fonts';
/////////////////////////////////////////////////////////////////// Custom Fonts
// -----------------------------------------------------------------------------
@font-face {
font-family: 'EB Garamond';
font-family: 'Random Grotesque';
font-style: normal;
font-weight: 400 800;
font-weight: 400;
font-display: swap;
src: url('#{$fontAssetPath}/eb-garamond/eb-garamond-variable.woff2') format('woff2');
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegular.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegular.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegular.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegular.woff2') format('woff2');
}

@font-face {
font-family: 'Random Grotesque';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegularIt.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegularIt.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegularIt.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardRegularIt.woff2') format('woff2');
}

@font-face {
font-family: 'Random Grotesque';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMedium.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMedium.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMedium.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMedium.woff2') format('woff2');
}

@font-face {
font-family: 'Random Grotesque';
font-style: italic;
font-weight: 500;
font-display: swap;
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMediumIt.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMediumIt.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMediumIt.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardMediumIt.woff2') format('woff2');
}

@font-face {
font-family: 'Random Grotesque';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemibold.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemibold.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemibold.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemibold.woff2') format('woff2');
}

@font-face {
font-family: 'Random Grotesque';
font-style: italic;
font-weight: 600;
font-display: swap;
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemiboldIt.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemiboldIt.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemiboldIt.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardSemiboldIt.woff2') format('woff2');
}

@font-face {
font-family: 'Random Grotesque';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBold.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBold.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBold.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBold.woff2') format('woff2');
}

@font-face {
font-family: 'EB Garamond';
font-family: 'Random Grotesque';
font-style: italic;
font-weight: 400 800;
font-weight: 700;
font-display: swap;
src: url('#{$fontAssetPath}/eb-garamond/eb-garamond-i-variable.woff2') format('woff2');
src: url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBoldIt.otf') format('opentype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBoldIt.ttf') format('truetype'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBoldIt.woff') format('woff'),
url('#{$fontAssetPath}/RandomGrotesque/RG-StandardBoldIt.woff2') format('woff2');
}

@font-face {
font-family: 'Space Grotesk';
src: url('#{$fontAssetPath}/SpaceGrotesk/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
font-weight: 300 700;
}

// ///////////////////////////////////////////////////////////////////// General
// -----------------------------------------------------------------------------
html, body {
@include fontWeight_Regular;
font-family: $font_Primary;
line-height: leading(28, 16);
font-size: 16px;
@include p2;
background-color: $color_Primary;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
scroll-behavior: smooth;
::selection,
::-moz-selection {
background: $color_Primary;
color: white;
background-color: $grenadier;
color: #FFFFFF;
}
&.no-scroll {
overflow-y: hidden;
Expand All @@ -45,6 +122,10 @@ html, body {
}
* {
box-sizing: border-box;
&:focus-visible {
outline: 3px solid $grenadier;
outline-offset: 2px;
}
&:before,
&:after {
box-sizing: border-box;
Expand Down Expand Up @@ -97,7 +178,7 @@ img {
width: $containerWidth;
margin: 0 auto;
@include customMaxMQ ($containerWidth + 4rem) {
padding: 0 7%;
padding: 0 4.1665%;
width: 100%;
}
&[class*="-noGutter"] {
Expand Down Expand Up @@ -136,12 +217,12 @@ h5, .h5 {
@include h5;
}

h6, .h6 {
@include h6;
}
// h6, .h6 {
// @include h6;
// }

p {
@include p1;
@include p2;
margin-bottom: 1rem;
}

Expand All @@ -154,16 +235,16 @@ p {
}

a {
@include p1Link;
// @include p1Link;
}

strong {
font-weight: 500;
}

caption {
@include caption;
}
// caption {
// @include caption;
// }

// ////////////////////////////////////////////////////////////////// Components
// -----------------------------------------------------------------------------
Expand Down
Loading
Loading