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: force build fleek-again #50

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
86319f7
style: primary cta glow effect polish
tikagan Sep 18, 2023
8d471d0
feat: missing content from accordion section
tikagan Sep 18, 2023
44dd906
style: github and slack links hover and focus polish
tikagan Sep 18, 2023
08e590e
style: country dropdown shows 7 options when open
tikagan Sep 18, 2023
3cdbed2
feat: if form is submitted then it doesn't submit again
tikagan Sep 18, 2023
8cb7c73
feat: updates font files
tikagan Sep 19, 2023
57ea11b
feat: secondary cta arrow uses icon component, takes left and right a…
tikagan Sep 19, 2023
dec1079
fix: cta + form field shape render correctly across browsers
tikagan Sep 19, 2023
1e8a81e
fix: signup button in mobile nav links to signup page and closes mobi…
tikagan Sep 20, 2023
bc34498
test: computed var value in production
tikagan Sep 20, 2023
1df50e5
test: general store value in production
tikagan Sep 20, 2023
e9dbb9c
fix: page and general data in store persists across pages
tikagan Sep 20, 2023
6e332d8
feat: iOS only primary cta rectangle styling
tikagan Sep 21, 2023
d9dab56
feat: country dropdown background color when open
tikagan Sep 21, 2023
4435b2a
feat: primary cta ios safari styling polish
tikagan Sep 21, 2023
93997bb
feat: github and slack link icons aligned with text
tikagan Sep 21, 2023
d571247
chore: force rebuild
orvn Sep 26, 2023
2516431
content: updates background images from png to jpg
tikagan Sep 14, 2023
a1a12bf
content: optimized background image png
tikagan Sep 14, 2023
40182a0
content: remove unused background images
tikagan Sep 14, 2023
0800db6
fix: background image file path
tikagan Sep 14, 2023
48dbce0
fix: footer background image file path
tikagan Sep 14, 2023
248ef38
feat: shows data storage units as superscript
tikagan Sep 26, 2023
e22308d
fix: image path updated
tikagan Sep 26, 2023
2453c9b
feat: unordered list styling
tikagan Sep 26, 2023
9e903da
fix: signup card height change on dropdown open
tikagan Sep 26, 2023
1556f92
fix: emphasize glow on sign up button in hero
tikagan Sep 27, 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org)


<img src="/public/images/singularity-open-graph.jpg" alt="package graph image" width="500">
<img src="/public/images/singularity-open-graph.jpg" alt="package graph image">

## Overview

Expand Down
Binary file not shown.
971 changes: 971 additions & 0 deletions assets/fonts/suisse-intl-mono/SuisseIntlMono-Regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Bold.eot
Binary file not shown.
Binary file modified assets/fonts/suisse-intl/SuisseIntl-Bold.otf
100755 → 100644
Binary file not shown.
10,255 changes: 10,255 additions & 0 deletions assets/fonts/suisse-intl/SuisseIntl-Bold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Bold.woff2
Binary file not shown.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Light.eot
Binary file not shown.
Binary file modified assets/fonts/suisse-intl/SuisseIntl-Light.otf
100755 → 100644
Binary file not shown.
3,773 changes: 3,773 additions & 0 deletions assets/fonts/suisse-intl/SuisseIntl-Light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Light.woff2
Binary file not shown.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Medium.eot
Binary file not shown.
Binary file modified assets/fonts/suisse-intl/SuisseIntl-Medium.otf
100755 → 100644
Binary file not shown.
5,314 changes: 5,314 additions & 0 deletions assets/fonts/suisse-intl/SuisseIntl-Medium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Medium.woff2
Binary file not shown.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Regular.eot
Binary file not shown.
Binary file modified assets/fonts/suisse-intl/SuisseIntl-Regular.otf
100755 → 100644
Binary file not shown.
7,516 changes: 7,516 additions & 0 deletions assets/fonts/suisse-intl/SuisseIntl-Regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/suisse-intl/SuisseIntl-Regular.woff2
Binary file not shown.
Binary file added assets/fonts/suisse-intl/SuisseIntl-SemiBold.eot
Binary file not shown.
Binary file modified assets/fonts/suisse-intl/SuisseIntl-SemiBold.otf
100755 → 100644
Binary file not shown.
8,017 changes: 8,017 additions & 0 deletions assets/fonts/suisse-intl/SuisseIntl-SemiBold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
24 changes: 24 additions & 0 deletions assets/scss/theme/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,30 @@ code {
}
}

ul {
li {
list-style: none;
padding-left: toRem(24);
&:before {
content: '';
display: inline-block;
position: relative;
left: calc(toRem(-24) + 2px + 9px);
width: toRem(6);
height: toRem(6);
margin-left: -9px;
border-radius: 50%;
background-color: var(--primary-text-color);
}
li {
&:before {
background-color: transparent;
border: 1px solid white;
}
}
}
}

///////////////////////////////////////////////////////////////////// Components
// -----------------------------------------------------------------------------
/*
Expand Down
43 changes: 34 additions & 9 deletions assets/scss/theme/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ $fontAssetPath: 'assets/fonts';
// -------------------------------------------------------- Suisse International
@font-face {
font-family: 'SuisseIntl';
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Light.otf') format('opentype');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Light.eot');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Light.eot?#iefix') format('embedded-opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Light.woff2') format('woff2'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Light.otf') format('opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Light.svg#SuisseIntl-Light') format('svg');
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: 'SuisseIntl';
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Regular.otf') format('opentype');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Regular.eot');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Regular.eot?#iefix') format('embedded-opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Regular.woff2') format('woff2'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Regular.otf') format('opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Regular.svg#SuisseIntl-Regular') format('svg');
font-weight: 400;
font-style: normal;
}
Expand All @@ -33,9 +41,13 @@ $fontAssetPath: 'assets/fonts';

@font-face {
font-family: 'SuisseIntl';
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Medium.otf') format('opentype');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Medium.eot');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Medium.eot?#iefix') format('embedded-opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Medium.woff2') format('woff2'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Medium.otf') format('opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Medium.svg#SuisseIntl-Medium') format('svg');
font-weight: 500;
font-style: bold;
font-style: normal;
}

@font-face {
Expand All @@ -47,26 +59,39 @@ $fontAssetPath: 'assets/fonts';

@font-face {
font-family: 'SuisseIntl';
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-SemiBold.otf') format('opentype');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-SemiBold.eot');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-SemiBold.eot?#iefix') format('embedded-opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-SemiBold.woff2') format('woff2'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-SemiBold.otf') format('opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-SemiBold.svg#SuisseIntl-SemiBold') format('svg');
font-weight: 600;
font-style: bold;
font-style: normal;
}

@font-face {
font-family: 'SuisseIntl';
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Bold.otf') format('opentype');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Bold.eot');
src: url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Bold.eot?#iefix') format('embedded-opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Bold.woff2') format('woff2'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Bold.otf') format('opentype'),
url('#{$fontAssetPath}/suisse-intl/SuisseIntl-Bold.svg#SuisseIntl-Bold') format('svg');
font-weight: 700;
font-style: bold;
font-style: normal;
}

// --------------------------------------------------- Suisse International Mono
@font-face {
font-family: 'SuisseIntlMono';
src: url('#{$fontAssetPath}/suisse-intl-mono/SuisseIntlMono-Regular.otf') format('opentype');
src: url('#{$fontAssetPath}/suisse-intl-mono/SuisseIntlMono-Regular.eot');
src: url('#{$fontAssetPath}/suisse-intl-mono/SuisseIntlMono-Regular.eot?#iefix') format('embedded-opentype'),
url('#{$fontAssetPath}/suisse-intl-mono/SuisseIntlMono-Regular.woff2') format('woff2'),
url('#{$fontAssetPath}/suisse-intl-mono/SuisseIntlMono-Regular.otf') format('opentype'),
url('#{$fontAssetPath}/suisse-intl-mono/SuisseIntlMono-Regular.svg#Suisse-Intl-Mono-Regular') format('svg');
font-weight: 400;
font-style: normal;
}


// ///////////////////////////////////////////////////////// Basic Styles Mixins
// -----------------------------------------------------------------------------

Expand Down
4 changes: 1 addition & 3 deletions components/blocks/accordion-block.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
</div>

<div class="accordion-content">
<div class="text">
{{ section.content }}
</div>
<div class="text" v-html="section.content" />
</div>

</div>
Expand Down
9 changes: 8 additions & 1 deletion components/blocks/text-block.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
:variant="ctaVariant || cta.variant"
:disabled="cta.disabled">
<template #button-content>
{{ cta.text }}
<span class="text" v-html="cta.text" />
<span
v-if="cta.caption"
class="caption">
Expand Down Expand Up @@ -198,12 +198,19 @@ export default {
@include mini {
height: toRem(33);
padding: toRem(8) toRem(28) toRem(8) toRem(10);
@include iOSonly {
height: toRem(29);
padding: 0 toRem(17);
}
}
}
.detail-wrapper {
@include mini {
left: toRem(-19);
width: calc(100% + toRem(19) - toRem(2));
@include iOSonly {
display: none;
}
}
}
}
Expand Down
54 changes: 46 additions & 8 deletions components/button/cta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@
:d="path"
stroke="#FFC582"
stroke-width="2"
shape-rendering="crispEdges"
shape-rendering="auto"
class="stroke-path" />
</svg>
</div>

<div :class="['button-content', { hide: loading }]">
<slot name="button-content" />
<IconArrow v-if="theme === 'secondary'" :class="['arrow', arrowDirection]" />
</div>

<slot name="loader" :loading="loading" />
Expand Down Expand Up @@ -78,6 +79,11 @@ const props = defineProps({
type: String,
required: false,
default: ''
},
arrowDirection: { // 'left' or 'right', for theme secondary
type: String,
required: false,
default: 'right'
}
})

Expand Down Expand Up @@ -169,7 +175,7 @@ const detailHeight = computed(() => {

.detail {
.fill-path {
opacity: 0.2;
opacity: 0.5;
fill: #070707;
@include transitionDefault;
}
Expand All @@ -179,7 +185,7 @@ const detailHeight = computed(() => {
.theme__primary {
display: block;
width: fit-content;
filter: drop-shadow(0px 2px 14px rgba(255, 197, 130, 0.32));
filter: drop-shadow(0px 2px 14px rgba(255, 197, 130, 0.42));
padding-left: toRem(25);
cursor: pointer;
&:before {
Expand All @@ -197,6 +203,17 @@ const detailHeight = computed(() => {
border-bottom-right-radius: 2px;
@include transitionDefault;
}
@include iOSonly {
border: solid 2px $chardonnay;
border-radius: toRem(2);
padding-left: 0;
&::before {
content: none;
}
.detail-wrapper {
display: none;
}
}
&.large {
&:before {
top: 0.5px;
Expand All @@ -207,6 +224,9 @@ const detailHeight = computed(() => {
position: relative;
height: toRem(41);
padding: toRem(10) toRem(17) toRem(10) toRem(3);
@include iOSonly {
padding: toRem(10) toRem(17);
}
}
.button-content {
display: flex;
Expand Down Expand Up @@ -243,19 +263,30 @@ const detailHeight = computed(() => {
@include transitionDefault;
.button-content {
position: relative;
display: flex;
align-items: center;
@include b2;
color: $chardonnay;
&:after {
content: '↗';
.arrow {
position: absolute;
margin-left: 0.5rem;
right: toRem(-18);
height: toRem(10);
width: toRem(10);
@include transitionDefault;
&.left {
right: unset;
left: toRem(-18);
transform: scaleX(-1);
}
}
}
&:hover,
&:focus-visible {
.button-content::after {
transform: translateX(0.5rem);
.arrow {
right: toRem(-26);
&.left {
left: toRem(-26);
}
}
}
&:focus-visible {
Expand Down Expand Up @@ -301,6 +332,13 @@ const detailHeight = computed(() => {
:deep(.button-content) {
@include h1;
color: $sageGreen;
.text {
position: relative;
sup {
top: -0.5rem;
line-height: leading(63, 48);
}
}
.caption {
display: block;
@include h4;
Expand Down
5 changes: 5 additions & 0 deletions components/icon/arrow.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" fill="none">
<path fill="#FFC582" d="M2.584.392H9.64v7.056H7.768V3.64L1.784 9.576.424 8.248l5.968-6H2.584V.392Z" />
</svg>
</template>
19 changes: 13 additions & 6 deletions components/signup-card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ const selectOption = (setSelected, closePanel, option, field) => {
* @method submitForm
*/
const submitForm = async () => {
if (formSubmitted.value) { return }
if (formSubmitted.value) {
buttonStore.set({id: 'signup-card-form', loading: false})
return
}
if (firstName.value && lastName.value && email.value && organization.value && country.value) {
const body = {
records: [
Expand Down Expand Up @@ -251,6 +254,7 @@ const submitForm = async () => {
--border-gradient-angle: 0deg;
@include cardPanel(var(--border-gradient-angle));
padding: clamp(toRem(32), 3.5vw, toRem(58)) clamp(toRem(14), 7vw, toRem(103)) clamp(toRem(32), 6.3vw, toRem(93));
margin-bottom: toRem(76);
.content {
position: relative;
z-index: 2;
Expand Down Expand Up @@ -316,6 +320,9 @@ const submitForm = async () => {

.submit-button {
align-self: flex-end;
:deep(.fill-path) {
opacity: .6;
}
&.submitted,
&.submitted:hover {
cursor: default;
Expand Down Expand Up @@ -368,6 +375,7 @@ const submitForm = async () => {

//-------------------------------------------------------------- Dropdown Fields
.toggle-button {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
Expand All @@ -376,8 +384,7 @@ const submitForm = async () => {
&.open {
border-color: var(--secondary-text-color);
border-bottom-color: transparent;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
background-color: $codGray;
}
}
.toggle-button-label {
Expand All @@ -394,24 +401,24 @@ const submitForm = async () => {
top: calc(100% - 8px);
padding-top: 0;
height: 0;
background-color: $codGray;
@include transitionDefault;
border: var(--secondary-text-color) 1px solid;
overflow-y: scroll;
border-top-color: transparent;
border-top: none;
border-bottom-left-radius: toRem(5);
border-bottom-right-radius: toRem(5);
&:not(.open) {
transform: (translate(-50%, 0));
}
&.open {
height: toRem(93);
height: toRem(217);
}
}
.option {
@include formFieldPlaceholder;
cursor: pointer;
padding: 0 toRem(20) toRem(4);
background-color: #121212;
@include transitionDefault;
&:hover {
background-color: var(--secondary-text-color);
Expand Down
2 changes: 1 addition & 1 deletion components/site-footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const scrollToTop = async () => {
background-size: 1439px 1200px;
background-position: 315px -29px;
background-repeat: no-repeat;
background-image: url('/images/ring-of-cross-sections-on-angle.png');
background-image: url('/images/ring-of-cross-sections-on-angle.jpg');
@include gridMaxMQ {
height: calc(100% + 3rem);
width: 100%;
Expand Down
Loading