Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
app-open-artifacts/app/page.tsx at main · code/app-open-artifacts · GitHub
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
code
app-open-artifacts
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
app-open-artifacts
/
app
/
page.tsx
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
183 lines (165 loc) · 6.09 KB
main
Breadcrumbs
app-open-artifacts
/
app
/
page.tsx
Copy path
Top
File metadata and controls
Code
Blame
183 lines (165 loc) · 6.09 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
import
Image
from
"next/image"
;
import
Link
from
"next/link"
;
import
{
Button
}
from
"@/components/ui/button"
;
import
{
GithubIcon
,
RocketIcon
,
MenuIcon
}
from
"lucide-react"
;
import
{
createServerComponentClient
}
from
"@supabase/auth-helpers-nextjs"
;
import
{
cookies
}
from
"next/headers"
;
import
{
redirect
}
from
"next/navigation"
;
export
default
async
function
LandingPage
(
)
{
const
supabase
=
createServerComponentClient
(
{
cookies
}
)
;
const
{
data
:
{
user
}
,
}
=
await
supabase
.
auth
.
getUser
(
)
;
if
(
user
)
{
redirect
(
"/new"
)
;
}
return
(
<
div
className
=
"min-h-screen flex flex-col"
>
<
header
className
=
"bg-white shadow-sm sticky top-0 z-10"
>
<
div
className
=
"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4"
>
<
div
className
=
"flex justify-between items-center"
>
<
h1
className
=
"text-3xl font-bold text-gray-900"
>
Open Artifacts
</
h1
>
<
label
htmlFor
=
"menu-toggle"
className
=
"sm:hidden cursor-pointer"
>
<
MenuIcon
className
=
"h-6 w-6"
/>
</
label
>
<
input
type
=
"checkbox"
id
=
"menu-toggle"
className
=
"hidden"
/>
<
nav
className
=
"hidden sm:flex flex-col sm:flex-row items-center gap-4 absolute sm:static left-0 right-0 top-full bg-white sm:bg-transparent shadow-md sm:shadow-none pb-4 sm:pb-0"
>
<
Link
href
=
"/signin"
>
<
Button
variant
=
"ghost"
>
Sign In
</
Button
>
</
Link
>
<
Link
href
=
"/signup"
>
<
Button
>
Sign Up
</
Button
>
</
Link
>
</
nav
>
</
div
>
</
div
>
</
header
>
<
main
className
=
"flex-grow"
>
<
div
className
=
"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"
>
<
div
className
=
"text-center mb-12"
>
<
h2
className
=
"text-4xl font-extrabold text-[#F4FFFA00] bg-clip-text bg-gradient-to-b from-gray-900 to-gray-600 sm:text-5xl md:text-6xl"
>
Create Artifacts with any LLM
</
h2
>
<
p
className
=
"mt-3 max-w-md mx-auto text-base text-gray-500 sm:text-lg md:mt-4 md:text-xl md:max-w-3xl"
>
Generate Artifacts with your own API keys.
</
p
>
<
CTABar
/>
<
div
className
=
"mt-12 flex flex-col items-center gap-4"
>
<
h3
className
=
"text-md font-medium text-gray-500 text-center"
>
Supported LLM Providers
</
h3
>
<
div
className
=
"flex flex-row items-center gap-8"
>
<
Link
href
=
"https://www.anthropic.com/"
target
=
"_blank"
>
<
Image
src
=
"/anthropic.svg"
alt
=
"Anthropic"
width
=
{
143
}
height
=
{
16
}
/>
</
Link
>
<
Link
href
=
"https://openai.com/"
target
=
"_blank"
>
<
Image
src
=
"/openai.svg"
alt
=
"OpenAI"
width
=
{
118
*
0.75
}
height
=
{
32
*
0.75
}
/>
</
Link
>
</
div
>
</
div
>
</
div
>
<
div
className
=
"relative"
>
<
Image
src
=
"/demo.png"
alt
=
"Open Artifacts Demo"
width
=
{
1200
}
height
=
{
675
}
className
=
"rounded-lg shadow-2xl pt-1"
/>
</
div
>
<
div
className
=
"mt-20 flex flex-col items-center"
>
<
h3
className
=
"text-3xl font-bold text-gray-900 mb-6 text-center"
>
📸 Crop and 🔊 Talk: Iterate Naturally
</
h3
>
<
p
className
=
"max-w-lg text-center text-lg text-gray-600 mb-8"
>
Our Crop and Talk feature allows you to visually select areas of
your artifacts and say or type your changes, creating a more
natural and context-aware iteration process.
</
p
>
<
div
className
=
"mb-8"
>
<
Image
src
=
"/crop-and-talk.png"
alt
=
"Crop and Talk Feature"
width
=
{
1200
}
height
=
{
675
}
className
=
"rounded-lg shadow-2xl"
/>
</
div
>
<
CTABar
/>
</
div
>
</
div
>
</
main
>
<
footer
className
=
""
>
<
div
className
=
"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"
>
<
p
className
=
"text-center text-base text-gray-400"
>
© 2024 Open Artifacts. All rights reserved.
</
p
>
<
div
className
=
"flex flex-wrap items-center justify-center gap-1 mt-4 text-center"
>
<
span
>
Built by
</
span
>
<
a
href
=
"https://www.linkedin.com/in/13point5/"
target
=
"_blank"
rel
=
"noopener noreferrer"
className
=
"font-bold transition hover:text-gray-600 flex items-center gap-1"
>
Sriraam
</
a
>
<
span
>
|
</
span
>
<
span
>
Open Sourced on
</
span
>
<
a
href
=
"https://github.com/13point5/open-artifacts"
target
=
"_blank"
rel
=
"noopener noreferrer"
className
=
"font-bold transition hover:text-gray-600 flex items-center gap-1"
>
GitHub
</
a
>
</
div
>
</
div
>
</
footer
>
</
div
>
)
;
}
const
CTABar
=
(
)
=>
(
<
div
className
=
"mt-5 max-w-md mx-auto sm:flex sm:justify-center md:mt-8"
>
<
div
className
=
"rounded-md shadow"
>
<
Link
href
=
"/new"
>
<
Button
size
=
"lg"
className
=
"w-full bg-gradient-to-b from-gray-900 to-gray-700 hover:from-gray-800 hover:to-gray-600"
>
<
RocketIcon
className
=
"mr-2 h-4 w-4"
/>
Get Started for FREE
</
Button
>
</
Link
>
</
div
>
<
div
className
=
"mt-3 rounded-md shadow sm:mt-0 sm:ml-3"
>
<
a
href
=
"https://github.com/13point5/open-artifacts"
target
=
"_blank"
rel
=
"noopener noreferrer"
>
<
Button
variant
=
"outline"
size
=
"lg"
className
=
"w-full"
>
<
Image
src
=
"/github.svg"
alt
=
"GitHub"
width
=
{
20
}
height
=
{
20
}
className
=
"mr-2"
/>
View on GitHub
</
Button
>
</
a
>
</
div
>
</
div
>
)
;
You can’t perform that action at this time.