Skip to content

Commit

Permalink
refactor: default name change
Browse files Browse the repository at this point in the history
  • Loading branch information
devartes committed Mar 25, 2024
1 parent 29ba0a5 commit 675c8fa
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 35 deletions.
40 changes: 20 additions & 20 deletions manifest.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.

import * as $$$$$$$$$$$$0 from "./apps/decohub.ts";
import * as $$$$$$$$$$$$1 from "./apps/site.ts";
import * as $$$$$$$0 from "./sections/Footer.tsx";
import * as $$$$$$$1 from "./sections/Hero.tsx";
import * as $$$$$$$2 from "./sections/ItWorks.tsx";
import * as $$$$$$$6 from "./sections/myHero.tsx";
import * as $$$$$$$3 from "./sections/ParagraphList.tsx";
import * as $$$$$$$7 from "./sections/sections/ItWorks.tsx";
import * as $$$$$$$4 from "./sections/SimpleTextList.tsx";
import * as $$$$$$$5 from "./sections/Theme/Theme.tsx";
import * as $$$$$$$$$$$0 from "./apps/decohub.ts";
import * as $$$$$$$$$$$1 from "./apps/site.ts";
import * as $$$$$$0 from "./sections/Footer.tsx";
import * as $$$$$$1 from "./sections/Hero.tsx";
import * as $$$$$$2 from "./sections/ItWorks.tsx";
import * as $$$$$$6 from "./sections/myHero.tsx";
import * as $$$$$$3 from "./sections/ParagraphList.tsx";
import * as $$$$$$7 from "./sections/sections/ItWorks.tsx";
import * as $$$$$$4 from "./sections/SimpleTextList.tsx";
import * as $$$$$$5 from "./sections/Theme/Theme.tsx";

const manifest = {
"sections": {
"deco-sites/start/sections/Footer.tsx": $$$$$$$0,
"deco-sites/start/sections/Hero.tsx": $$$$$$$1,
"deco-sites/start/sections/ItWorks.tsx": $$$$$$$2,
"deco-sites/start/sections/myHero.tsx": $$$$$$$6,
"deco-sites/start/sections/ParagraphList.tsx": $$$$$$$3,
"deco-sites/start/sections/sections/ItWorks.tsx": $$$$$$$7,
"deco-sites/start/sections/SimpleTextList.tsx": $$$$$$$4,
"deco-sites/start/sections/Theme/Theme.tsx": $$$$$$$5,
"deco-sites/start/sections/Footer.tsx": $$$$$$0,
"deco-sites/start/sections/Hero.tsx": $$$$$$1,
"deco-sites/start/sections/ItWorks.tsx": $$$$$$2,
"deco-sites/start/sections/myHero.tsx": $$$$$$6,
"deco-sites/start/sections/ParagraphList.tsx": $$$$$$3,
"deco-sites/start/sections/sections/ItWorks.tsx": $$$$$$7,
"deco-sites/start/sections/SimpleTextList.tsx": $$$$$$4,
"deco-sites/start/sections/Theme/Theme.tsx": $$$$$$5,
},
"apps": {
"deco-sites/start/apps/decohub.ts": $$$$$$$$$$$$0,
"deco-sites/start/apps/site.ts": $$$$$$$$$$$$1,
"deco-sites/start/apps/decohub.ts": $$$$$$$$$$$0,
"deco-sites/start/apps/site.ts": $$$$$$$$$$$1,
},
"name": "deco-sites/start",
"baseUrl": import.meta.url,
Expand Down
27 changes: 13 additions & 14 deletions sections/ItWorks.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
export interface Props {
/**
* @description The description of name.
*/
name?: string;
}

export default function Section({ name = "Capy" }: Props) {
return (
<div class="flex h-96 items-center justify-center mt-10">
<p class="leading-10 text-6xl">{name}</p>
</div>
);
}

/**
* @description The description of name.
*/
name?: string;
}

export default function Section({ name = "It Works!" }: Props) {
return (
<div class="flex h-96 items-center justify-center">
<p class="leading-10 text-6xl">{name}</p>
</div>
);
}
Loading

0 comments on commit 675c8fa

Please sign in to comment.