1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from 'https://esm.sh/react@18.2.0';
3import { UserProfile } from '../../shared/types.ts';
4
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from 'https://esm.sh/react@18.2.0';
3import { parseProject } from "https://esm.town/v/std/utils@85-main/index.ts";
4import { Header } from './components/Header.tsx';
39 <div id="root"></div>
40
41 <!-- React and ReactDOM -->
42 <script type="module">
43 import React from 'https://esm.sh/react@18.2.0';
44 import ReactDOM from 'https://esm.sh/react-dom@18.2.0';
45 import { App } from '/frontend/index.tsx';
46
48 const initialData = window.__INITIAL_DATA__ || { featuredPackages: [] };
49
50 ReactDOM.createRoot(document.getElementById('root')).render(
51 React.createElement(App, { initialData })
52 );
53 </script>
43
44- **Backend**: Hono (API framework), SQLite (database)
45- **Frontend**: React, TailwindCSS
46- **Authentication**: JWT-based authentication
47- **Payment Processing**: Simulated payment gateway
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3import { ProjectInfo } from "../../shared/types.ts";
4
7}
8
9const Footer: React.FC<FooterProps> = ({ projectInfo }) => {
10 const currentYear = new Date().getFullYear();
11
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3
4const Contact: React.FC = () => {
5 const [formData, setFormData] = useState({
6 name: "",
21 });
22
23 const handleChange = (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => {
24 const { name, value } = e.target;
25 setFormData(prev => ({
29 };
30
31 const handleSubmit = (e: React.FormEvent) => {
32 e.preventDefault();
33
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3
4const About: React.FC = () => {
5 const teamMembers = [
6 {
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0";
3
4interface Project {
10}
11
12const Portfolio: React.FC = () => {
13 const [activeFilter, setActiveFilter] = useState<string>("all");
14
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3
4const ServiceCard: React.FC<{
5 icon: string;
6 title: string;
16};
17
18const Services: React.FC = () => {
19 const services = [
20 {
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0";
3
4const Hero: React.FC = () => {
5 return (
6 <section id="home" className="py-20 md:py-28 bg-gradient-to-r from-indigo-50 to-blue-50">
Starter template with client-side React & Hono server
Hono + React + Tailwind + Farcaster Mini App Starter Project
Write business logic with ease
Meet the new standard for modern TypeScript development.
Type-safe, reactive, framework-agnostic library to manage your business logic.
Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh