cerebras_codermain.tsx1 match
1165<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166<meta property="og:type" content="website">
1167<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169
cerebras_codermain.tsx1 match
1165<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166<meta property="og:type" content="website">
1167<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169
tldraw_computer_examplemain.tsx3 matches
16};
1718type ImageData = {
19type: "image";
20text: string;
21name?: string | undefined;
48};
4950export type Data = BooleanData | TextData | ImageData | SpeechData | WebsiteData | FileData;
5152type DataComponentRequestBody = {
cerebras_codermain.tsx1 match
1165<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166<meta property="og:type" content="website">
1167<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169
cerebras_codermain.tsx1 match
1165<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166<meta property="og:type" content="website">
1167<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169
noCollectionTrackermain.tsx22 matches
62const [reflection, setReflection] = useState("");
63const [currentQuote, setCurrentQuote] = useState(INITIAL_QUOTE);
64const [imageUpload, setImageUpload] = useState(null);
65const [journeyReflection, setJourneyReflection] = useState("");
66const [followUpComment, setFollowUpComment] = useState("");
67const [error, setError] = useState(null);
68const pdfRef = useRef(null);
69const imageInputRef = useRef(null);
7071// Error Boundary for localStorage
165}
166167// Symbolic Image
168if (imageUpload) {
169// Check if we need a new page
170if (yPosition > pdfHeight - 120) {
173}
174175pdf.text("Symbolic Journey Image:", 20, yPosition);
176yPosition += 10;
177try {
178const imgWidth = 100;
179const imgHeight = 100;
180pdf.addImage(imageUpload, "PNG", (pdfWidth - imgWidth) / 2, yPosition, imgWidth, imgHeight);
181yPosition += imgHeight + 20;
182} catch (imageError) {
183console.error("Image addition to PDF failed", imageError);
184}
185}
220setReflection("");
221setCurrentQuote(INITIAL_QUOTE);
222setImageUpload(null);
223setJourneyReflection("");
224239noCount,
240quote: currentQuote,
241imageUpload,
242journeyReflection,
243};
274setNoCount(journeyData.noCount);
275setCurrentQuote(journeyData.quote);
276setImageUpload(journeyData.imageUpload);
277setJourneyReflection(journeyData.journeyReflection);
278} catch (error) {
291setReflection("");
292setCurrentQuote(INITIAL_QUOTE);
293setImageUpload(null);
294setJourneyReflection("");
295434<p className="quote">{currentQuote}</p>
435436<div className="image-upload">
437<h3>Upload a Symbolic Image</h3>
438<input
439type="file"
440accept="image/*"
441ref={imageInputRef}
442onChange={(event) => {
443const file = event.target.files[0];
445const reader = new FileReader();
446reader.onloadend = () => {
447setImageUpload(reader.result);
448};
449reader.readAsDataURL(file);
451}}
452/>
453{imageUpload && (
454<img
455src={imageUpload}
456alt="Uploaded"
457className="uploaded-image"
458/>
459)}
670}
671
672.image-upload {
673margin: 20px 0;
674}
675
676.uploaded-image {
677max-width: 300px;
678max-height: 300px;
1003<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1004<meta property="og:type" content="website">
1005<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1006
1007
1165<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166<meta property="og:type" content="website">
1167<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169
1165<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166<meta property="og:type" content="website">
1167<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169
cerebras_codermain.tsx1 match
1165<meta property="og:description" content="Turn your ideas into fully functional apps in less than a second – powered by Llama3.3-70b on Cerebras's super-fast wafer chips. Code is 100% open-source, hosted on Val Town."">
1166<meta property="og:type" content="website">
1167<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1168
1169