Deploy any modern frontend stack, from marketing sites to AI apps. Join millions of developers and teams shipping faster on Netlify.
Build & integrate Experiment fasterBuild any frontend app with your favorite stack and more flexible serverless infrastructure than anywhere else - from edge functions to background jobs.
Deploy & collaborate Iterate togetherTurn every Git push into a production-ready release. Get instant deploy previews and keep your team in sync without managing configs, variables, or staging servers.
Run & scale Scale automaticallyDeliver sub-second experiences globally with granular cache and routing controls. Go from zero to enterprise-level traffic with built-in security.
Ship your e-commerce site in just a few clicksCreate a new project or connect an existing one to explore features like rollbacks, CI/CD, edge functions, collaborative deploy previews, and more.
export function CartMain({layout, cart}: CartMainProps) {
const linesCount = Boolean(cart?.lines?.nodes?.length || 0);
const withDiscount =
cart &&
Boolean(cart.discountCodes.filter((code) => code.applicable).length);
const className = `cart-main ${withDiscount ? 'with-discount' : ''}`;
return (
<div className={className}>
<CartEmpty hidden={linesCount} layout={layout} />
<CartDetails cart={cart} layout={layout} />
</div>
);
}
const stream = await getChatStream(
{
...appConfig.apiConfig,
user: context.ip,
messages: [{ role: "system", content: prompt }, ...messages],
},
appConfig.OPENAI_API_KEY ?? ""
);
return new Response(stream, {
headers: { "Content-Type": "text/plain" },
});
---
const homepage = await getEntryBySlug("homepage", "index");
const { banner, key_features, service, testimonial } = homepage.data;
---
<Base>
<Banner banner={banner} />
<KeyFeatures key_features={key_features} />
<Service service={service} />
<Testimonial testimonial={testimonial} />
<Cta />
</Base>
import type { Config, Context } from "@netlify/edge-functions";
export default async (request: Request, context: Context) => {
return Response.json({ geo: context.geo });
};
export const config: Config = {
path: "/geolocation",
};
Projects deployed on Netlify
Developers
Uptime SLA
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4