Skip to content

Commit

Permalink
fix(site): Remove Landing Animation (#1781)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->
Fixes WEB-254

Added new example videos and wording for header.

## Changes

<!-- If there are frontend changes, please include screenshots. -->

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/s4Iqp0cv660GaL4sSZTl/237bd270-f85f-4fb8-8f36-b8d8f45fe029.png)

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/s4Iqp0cv660GaL4sSZTl/186e1383-9c06-49a1-aedb-01bc2bba9518.png)
  • Loading branch information
NicholasKissel committed Jan 3, 2025
1 parent 7b98944 commit cc5b347
Show file tree
Hide file tree
Showing 71 changed files with 136,514 additions and 2 deletions.
64 changes: 64 additions & 0 deletions site/framer/chunk-3UM25V4K.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// @ts-nocheck
/* eslint-disable */
/* This file was generated by Unframer for Framer project "undefined", do not edit manually */
// https :https://framer.com/m/framer/icon-nullstate.js@0.7.0
import { jsx as _jsx, } from 'react/jsx-runtime';
import * as React from 'react';
var containerStyles = {
width: '100%',
height: '100%',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
};
var emptyStateStyle = {
...containerStyles,
borderRadius: 6,
background: 'rgba(149, 149, 149, 0.1)',
border: '1px dashed rgba(149, 149, 149, 0.15)',
color: '#a5a5a5',
flexDirection: 'column',
};
var NullState = /* @__PURE__ */ React.forwardRef((_, ref,) => {
return /* @__PURE__ */ _jsx('div', {
style: emptyStateStyle,
ref,
},);
},);

// https :https://framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js
import { useMemo, } from 'react';
import { ControlType, } from 'unframer';
var defaultEvents = {
onClick: { type: ControlType.EventHandler, },
onMouseDown: { type: ControlType.EventHandler, },
onMouseUp: { type: ControlType.EventHandler, },
onMouseEnter: { type: ControlType.EventHandler, },
onMouseLeave: { type: ControlType.EventHandler, },
};
var findByArray = (arr, search,) => arr.find((a,) => a.toLowerCase().includes(search,));
function getIconSelection(iconKeys, selectByList, iconSearch = '', iconSelection, lowercaseIconKeyPairs,) {
if (selectByList) return iconSelection;
if (iconSearch == null || (iconSearch === null || iconSearch === void 0 ? void 0 : iconSearch.length) === 0) return null;
const iconSearchTerm = iconSearch.toLowerCase().replace(/-|\s/g, '',);
var _iconSearchTerm;
const searchResult = (_iconSearchTerm = lowercaseIconKeyPairs[iconSearchTerm]) !== null && _iconSearchTerm !== void 0
? _iconSearchTerm
: findByArray(iconKeys, iconSearchTerm,);
return searchResult;
}
function useIconSelection(iconKeys, selectByList, iconSearch = '', iconSelection, lowercaseIconKeyPairs,) {
const iconSearchResult = useMemo(() => {
if (iconSearch == null || (iconSearch === null || iconSearch === void 0 ? void 0 : iconSearch.length) === 0) return null;
const iconSearchTerm = iconSearch.toLowerCase().replace(/-|\s/g, '',);
var _iconSearchTerm;
const searchResult = (_iconSearchTerm = lowercaseIconKeyPairs[iconSearchTerm]) !== null && _iconSearchTerm !== void 0
? _iconSearchTerm
: findByArray(iconKeys, iconSearchTerm,);
return searchResult;
}, [iconSelection, iconSearch,],);
const name = selectByList ? iconSelection : iconSearchResult;
return name;
}

export { defaultEvents, getIconSelection, NullState, useIconSelection, };
2,623 changes: 2,623 additions & 0 deletions site/framer/chunk-DESVTJAK.js

Large diffs are not rendered by default.

Loading

0 comments on commit cc5b347

Please sign in to comment.