Skip to content

Commit

Permalink
big load of changes to homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
colmtuite authored and dtuite committed Aug 17, 2023
1 parent 827cbf8 commit 0f9786a
Show file tree
Hide file tree
Showing 14 changed files with 3,108 additions and 382 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/assets/home/illustrations/home-andy-video-thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import './src/stylesheets/IconButton.css';
import './src/stylesheets/IconContainer.css';
import './src/stylesheets/Image.css';
import './src/stylesheets/Link.css';
import './src/stylesheets/LinkCard.css';
import './src/stylesheets/List.css';
import './src/stylesheets/ListItem.css';
import './src/stylesheets/Section.css';
Expand All @@ -26,6 +27,10 @@ import './src/stylesheets/Sup.css';
import './src/stylesheets/Table.css';
import './src/stylesheets/Text.css';
import './src/stylesheets/TextField.css';
import './src/stylesheets/VideoThumb.css';

import './src/stylesheets/padding.css';
import './src/stylesheets/margin.css';

import './src/stylesheets/ds.css';

Expand Down
661 changes: 344 additions & 317 deletions src/pages/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/stylesheets/Avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
position: absolute;
top: 0;
left: 0;
content: "''";
content: "";
width: 100%;
height: 100%;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
Expand Down
28 changes: 26 additions & 2 deletions src/stylesheets/IconContainer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,33 @@
display: inline-flex;
align-items: center;
justify-content: center;
}

.IconContainer.size-1 {
width: var(--space-6);
height: var(--space-6);
}

.IconContainer.size-2 {
width: var(--space-7);
height: var(--space-7);
}

.IconContainer.rounded {
border-radius: var(--br-2);
}

.IconContainer.circle {
border-radius: var(--br-circle);
background-color: var(--green-4);
color: var(--green-11);
}

.IconContainer.solid {
background: radial-gradient(at bottom left, hsl(12 100% 50%) 50%, hsl(35.75deg 100% 55.73%) 100%);
color: white;
}

.IconContainer.hollow {
background: white;
color: var(--gray-11);
box-shadow: inset 0 0 0 1px var(--gray-6);
}
18 changes: 18 additions & 0 deletions src/stylesheets/LinkCard.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.LinkCard {
display: inline-flex;
align-items: center;
gap: var(--space-1);
flex-shrink: 0;
outline: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
text-decoration: none;
transition: all 150ms ease;
border-radius: 12px;
padding: var(--space-3);
}

.LinkCard:hover {
transform: translateY(-2px);
box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 8px -3px,
hsla(226, 80%, 20%, .25) 0px 5px 15px -5px;
}
8 changes: 4 additions & 4 deletions src/stylesheets/Section.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
}

.Section.size-2 {
padding-top: var(--space-7);
padding-bottom: var(--space-7);
padding-top: var(--space-9);
padding-bottom: var(--space-9);
}

.Section.size-3 {
padding-top: var(--space-9);
padding-bottom: var(--space-9);
padding-top: 64px;
padding-bottom: 64px;
}

.Section.bordered {
Expand Down
16 changes: 16 additions & 0 deletions src/stylesheets/Separator.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
box-sizing: border-box;
background-color: var(--gray-6);
height: 1px;
flex-shrink: 0;
}

.Separator.size-1 {
Expand All @@ -23,4 +24,19 @@

.Separator.vertical.size-2 {
height: var(--space-8);
}

.SeparatorGradient {
box-sizing: border-box;
background: linear-gradient(to right, transparent, var(--gray-7) 50%, transparent);
height: 1px;
flex-shrink: 0;
}

.SeparatorGradient.size-1 {
width: 100px;
}

.SeparatorGradient.size-2 {
width: 264px;
}
97 changes: 48 additions & 49 deletions src/stylesheets/Text.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,55 +75,6 @@
text-indent: -.75px;
}

.Text.highContrast {
color: var(--gray-12);
}

.Text.lowContrast {
color: var(--gray-11);
}

.Text.indigo {
color: var(--indigo-11);
}

.Text.white {
color: white;
}

.Text.whiteA {
color: rgba(255,255,255,.75);
}

.Text.weight-1 {
font-weight: var(--fw-1);
}

.Text.weight-2 {
font-weight: var(--fw-2);
}

.Text.string {
line-height: 1;
}

.Text.inline {
display: inline;
}

.Text.ta-start {
text-align: start;
}

.Text.ta-center {
text-align: center;
}

.Text.ta-end {
text-align: end;
}


@media only screen and (min-width: 520px) {
.Text.bp1-size-1 {
font-size: var(--fs-1);
Expand Down Expand Up @@ -398,4 +349,52 @@
font-weight: var(--fw-2);
text-indent: -.75px;
}
}

.Text.highContrast {
color: var(--gray-12);
}

.Text.lowContrast {
color: var(--gray-11);
}

.Text.indigo {
color: var(--indigo-11);
}

.Text.white {
color: white;
}

.Text.whiteA {
color: rgba(255, 255, 255, .75);
}

.Text.weight-1 {
font-weight: var(--fw-1);
}

.Text.weight-2 {
font-weight: var(--fw-2);
}

.Text.string {
line-height: 1;
}

.Text.inline {
display: inline;
}

.Text.ta-start {
text-align: start;
}

.Text.ta-center {
text-align: center;
}

.Text.ta-end {
text-align: end;
}
18 changes: 18 additions & 0 deletions src/stylesheets/VideoThumb.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.VideoThumb {
width: 70px;
border-radius: 6px;
position: relative;
overflow: hidden;
}

.VideoThumb::after {
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
content: "";
width: 100%;
height: 100%;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
border-radius: 6px;
}
23 changes: 14 additions & 9 deletions src/stylesheets/ds.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

--fs-1: 10px;
--fs-2: 12px;
--fs-3: 14px;
--fs-3: 15px;
--fs-4: 17px;
--fs-5: 20px;
--fs-6: 27px;
Expand All @@ -99,11 +99,11 @@

--lh-1: 14px;
--lh-2: 17px;
--lh-3: 19px;
--lh-3: 21px;
--lh-4: 23px;
--lh-5: 26px;
--lh-6: 32px;
--lh-7: 36px;
--lh-7: 37px;
--lh-8: 54px;

--ls-1: -.12px;
Expand Down Expand Up @@ -173,14 +173,19 @@
left: 0;
}

.pt-1 {
padding-top: var(--space-1);
}

.pl-7 {
padding-left: var(--space-7);
}



.fg-1 {
flex-grow: 1;
}


.js-center {
justify-self: center;
}

.display-if {
display: inline-flex;
}
Loading

0 comments on commit 0f9786a

Please sign in to comment.