-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.tsx
More file actions
41 lines (34 loc) · 943 Bytes
/
page.tsx
File metadata and controls
41 lines (34 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { Heading } from "./_components/heading";
/**
* The most formal `whitelabel` marker
*/
// whitelabel: for=variant1, key=BG_COLOR
export const variant1_bgClassname: string = "bg-red-100";
/**
* If `for` is omitted, it will default to your `default_target` config
*/
// whitelabel
export const BG_COLOR: string = "bg-red-200";
/**
* The most natural `whitelabel` marker
* `as` works the same way as `key`, excepts you can omits `=`.
*/
// whitelabel for 'variant2' as 'BG_COLOR'
export const variant2_bgClassname: string = "bg-red-300";
/**
* Or
* (Not recommended, hard to read)
*/
// whitelabel for variant3 as BG_COLOR
export const variant3_bgClassname: string = "bg-red-400";
/**
* Or
*/
// whitelabel for 'variant4' as='BG_COLOR'
export const variant4_bgClassname: string = "bg-red-400";
const Homepage = () => (
<div className={`h-full w-full ${BG_COLOR}`}>
<Heading />
</div>
);
export default Homepage;