@linktr.ee/create-link-app 1.7.12 → 1.7.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"login": "create-link-app login",
|
|
6
6
|
"logout": "create-link-app logout",
|
|
7
7
|
"upload": "create-link-app deploy",
|
|
8
|
-
"update": "create-link-app deploy --update",
|
|
9
8
|
"storybook": "create-link-app storybook",
|
|
10
9
|
"dev": "create-link-app dev",
|
|
11
10
|
"prepack": "create-link-app build --native"
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"login": "create-link-app login",
|
|
6
6
|
"logout": "create-link-app logout",
|
|
7
7
|
"upload": "create-link-app deploy",
|
|
8
|
-
"update": "create-link-app deploy --update",
|
|
9
8
|
"storybook": "create-link-app storybook",
|
|
10
9
|
"dev": "create-link-app dev",
|
|
11
10
|
"prepack": "create-link-app build --native"
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { AppProps } from
|
|
1
|
+
import { AppProps } from './types'
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import './tailwind.css'
|
|
4
4
|
|
|
5
5
|
function App(props: AppProps) {
|
|
6
6
|
return (
|
|
7
7
|
<div className="px-6 pt-12 pb-11 h-full">
|
|
8
8
|
<h1>My first link app!</h1>
|
|
9
9
|
<p>Congratulations, you now have a Linktree link!</p>
|
|
10
|
-
<button
|
|
11
|
-
className="bg-black text-white py-2 px-4 rounded-full my-2"
|
|
12
|
-
onClick={() => window.open(props.url, "_blank")}
|
|
13
|
-
>
|
|
10
|
+
<button className="bg-black text-white py-2 px-4 rounded-full my-2" onClick={() => window.open(props.url, '_blank')}>
|
|
14
11
|
Visit your URL
|
|
15
12
|
</button>
|
|
16
13
|
</div>
|
|
17
|
-
)
|
|
14
|
+
)
|
|
18
15
|
}
|
|
19
16
|
|
|
20
|
-
export default App
|
|
17
|
+
export default App
|