Skip to content

Commit

Permalink
fix: hero and techcrunch alert
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHericles committed Jan 9, 2024
1 parent 1779e4d commit 4ee4097
Show file tree
Hide file tree
Showing 9 changed files with 276 additions and 266 deletions.
4 changes: 2 additions & 2 deletions components/nrf/editor/Analytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Analytics = (props: AnimatedSvgProps) => {
width="1040"
height="643.02"
transform="translate(50.168 41.204)"
fill="url(#pattern0)"
fill="url(#analytics-p0)"
fill-opacity="0.25"
/>
<g
Expand Down Expand Up @@ -3153,7 +3153,7 @@ export const Analytics = (props: AnimatedSvgProps) => {
</g>
<defs>
<pattern
id="pattern0"
id="analytics-p0"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down
16 changes: 8 additions & 8 deletions components/nrf/hero/FullCodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const FullCodeEditor = () => {
width="1181.82"
height="730.704"
transform="translate(1.09082 47.7391)"
fill="url(#pattern0)"
fill="url(#full-code-editor-p0)"
fill-opacity="0.25"
/>
<g id="Frame 2609176" filter="url(#filter0_dd_1267_9623)">
Expand Down Expand Up @@ -396,7 +396,7 @@ export const FullCodeEditor = () => {
y="116.604"
width="378.84"
height="296.064"
fill="url(#pattern1)"
fill="url(#full-code-editor-p1)"
/>
</g>
<g id="Frame 2609270">
Expand All @@ -406,15 +406,15 @@ export const FullCodeEditor = () => {
y="412.667"
width="189.42"
height="296.064"
fill="url(#pattern2)"
fill="url(#full-code-editor-p2)"
/>
<rect
id="Rectangle 798"
x="605.311"
y="412.667"
width="189.42"
height="296.064"
fill="url(#pattern3)"
fill="url(#full-code-editor-p3)"
/>
</g>
</g>
Expand Down Expand Up @@ -686,7 +686,7 @@ export const FullCodeEditor = () => {
</g>
<defs>
<pattern
id="pattern0"
id="full-code-editor-p0"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down Expand Up @@ -748,7 +748,7 @@ export const FullCodeEditor = () => {
/>
</filter>
<pattern
id="pattern1"
id="full-code-editor-p1"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -759,7 +759,7 @@ export const FullCodeEditor = () => {
/>
</pattern>
<pattern
id="pattern2"
id="full-code-editor-p2"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -770,7 +770,7 @@ export const FullCodeEditor = () => {
/>
</pattern>
<pattern
id="pattern3"
id="full-code-editor-p3"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down
18 changes: 9 additions & 9 deletions components/nrf/hero/Monitoring.tsx

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions components/nrf/hero/NoCodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const NoCodeEditor = () => {
width="1181.82"
height="730.704"
transform="translate(1.09082 47.7391)"
fill="url(#pattern0)"
fill="url(#no-code-editor-p0)"
fill-opacity="0.25"
/>
<g id="Frame 2609176" filter="url(#filter0_dd_1265_4447)">
Expand Down Expand Up @@ -1222,7 +1222,7 @@ export const NoCodeEditor = () => {
y="113.594"
width="406.623"
height="335.406"
fill="url(#pattern1)"
fill="url(#no-code-editor-p1)"
/>
</g>
</g>
Expand Down Expand Up @@ -1577,7 +1577,7 @@ export const NoCodeEditor = () => {
y="676.711"
width="266.614"
height="373.669"
fill="url(#pattern2)"
fill="url(#no-code-editor-p2)"
/>
<g id="Off Label">
<rect
Expand All @@ -1602,7 +1602,7 @@ export const NoCodeEditor = () => {
y="676.711"
width="266.614"
height="373.669"
fill="url(#pattern3)"
fill="url(#no-code-editor-p3)"
/>
<g id="Off Label_2">
<rect
Expand Down Expand Up @@ -1663,7 +1663,7 @@ export const NoCodeEditor = () => {
</g>
<defs>
<pattern
id="pattern0"
id="no-code-editor-p0"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down Expand Up @@ -1776,7 +1776,7 @@ export const NoCodeEditor = () => {
/>
</filter>
<pattern
id="pattern1"
id="no-code-editor-p1"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -1787,7 +1787,7 @@ export const NoCodeEditor = () => {
/>
</pattern>
<pattern
id="pattern2"
id="no-code-editor-p2"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -1798,7 +1798,7 @@ export const NoCodeEditor = () => {
/>
</pattern>
<pattern
id="pattern3"
id="no-code-editor-p3"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down
44 changes: 22 additions & 22 deletions components/nrf/hero/SectionLibrary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const SectionLibrary = () => {
width="1181.82"
height="730.704"
transform="translate(1.09088 47.7391)"
fill="url(#pattern0)"
fill="url(#section-library-p0)"
fill-opacity="0.25"
/>
<g id="Frame 2609263">
Expand Down Expand Up @@ -1237,7 +1237,7 @@ export const SectionLibrary = () => {
width="217.844"
height="138.998"
rx="12.5648"
fill="url(#pattern1)"
fill="url(#section-library-p1)"
/>
</g>
<path
Expand Down Expand Up @@ -1759,7 +1759,7 @@ export const SectionLibrary = () => {
y="330.338"
width="246.829"
height="258.357"
fill="url(#pattern2)"
fill="url(#section-library-p2)"
/>
</g>
</g>
Expand Down Expand Up @@ -1885,7 +1885,7 @@ export const SectionLibrary = () => {
y="362.079"
width="92.1502"
height="139.249"
fill="url(#pattern3)"
fill="url(#section-library-p3)"
/>
<g id="Text + Button_2">
<rect
Expand Down Expand Up @@ -2340,7 +2340,7 @@ export const SectionLibrary = () => {
y="610.437"
width="56.0847"
height="74.4606"
fill="url(#pattern4)"
fill="url(#section-library-p4)"
/>
<g id="Name + Price">
<text
Expand Down Expand Up @@ -2447,7 +2447,7 @@ export const SectionLibrary = () => {
y="589.057"
width="101.443"
height="122.867"
fill="url(#pattern5)"
fill="url(#section-library-p5)"
/>
</g>
</g>
Expand Down Expand Up @@ -2663,7 +2663,7 @@ export const SectionLibrary = () => {
y="596.056"
width="52.9078"
height="53.2033"
fill="url(#pattern6)"
fill="url(#section-library-p6)"
/>
<g id="Name + Price_2">
<text
Expand Down Expand Up @@ -2719,7 +2719,7 @@ export const SectionLibrary = () => {
y="596.056"
width="52.9078"
height="53.2033"
fill="url(#pattern7)"
fill="url(#section-library-p7)"
/>
<g id="Name + Price_3">
<text
Expand Down Expand Up @@ -2777,7 +2777,7 @@ export const SectionLibrary = () => {
y="655.614"
width="52.9078"
height="53.2033"
fill="url(#pattern8)"
fill="url(#section-library-p8)"
/>
<g id="Name + Price_4">
<text
Expand Down Expand Up @@ -2833,7 +2833,7 @@ export const SectionLibrary = () => {
y="655.614"
width="52.9078"
height="53.2033"
fill="url(#pattern9)"
fill="url(#section-library-p9)"
/>
<g id="Name + Price_5">
<text
Expand Down Expand Up @@ -2897,7 +2897,7 @@ export const SectionLibrary = () => {
y="610.243"
width="78.0315"
height="89.5589"
fill="url(#pattern10)"
fill="url(#section-library-p10)"
/>
<g id="Frame 2608708">
<rect
Expand Down Expand Up @@ -3019,7 +3019,7 @@ export const SectionLibrary = () => {
</g>
<defs>
<pattern
id="pattern0"
id="section-library-p0"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down Expand Up @@ -3229,7 +3229,7 @@ export const SectionLibrary = () => {
/>
</filter>
<pattern
id="pattern1"
id="section-library-p1"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3240,7 +3240,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern2"
id="section-library-p2"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3251,7 +3251,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern3"
id="section-library-p3"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3262,7 +3262,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern4"
id="section-library-p4"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3273,7 +3273,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern5"
id="section-library-p5"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3284,7 +3284,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern6"
id="section-library-p6"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3295,7 +3295,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern7"
id="section-library-p7"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3306,7 +3306,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern8"
id="section-library-p8"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3317,7 +3317,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern9"
id="section-library-p9"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand All @@ -3328,7 +3328,7 @@ export const SectionLibrary = () => {
/>
</pattern>
<pattern
id="pattern10"
id="section-library-p10"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down
4 changes: 2 additions & 2 deletions components/nrf/hero/WebAnalytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const WebAnalytics = () => {
width="1181.82"
height="730.704"
transform="translate(1.09082 47.7391)"
fill="url(#pattern0)"
fill="url(#webanalytics-p0)"
fill-opacity="0.25"
/>
<g id="Frame 2609176" filter="url(#filter0_dd_1270_13649)">
Expand Down Expand Up @@ -2314,7 +2314,7 @@ export const WebAnalytics = () => {
</g>
<defs>
<pattern
id="pattern0"
id="webanalytics-p0"
patternContentUnits="objectBoundingBox"
width="1"
height="1"
Expand Down
8 changes: 7 additions & 1 deletion islands/NRF/HeroEditorTabbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ export const HeroEditorTabbed = () => {
</button>
))}
</div>
<div>{PANELS[selectedTab.value]()} </div>
<div>
{PANELS.map((panel, index) => (
<div class={`${index === selectedTab.value ? "block" : "hidden"}`}>
{panel()}
</div>
))}
</div>
</div>
);
};
Loading

0 comments on commit 4ee4097

Please sign in to comment.