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
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
1070<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."">
1071<meta property="og:type" content="website">
1072<meta property="og:image" content="https://stevekrouse-blob_admin.web.val.run/api/public/CerebrasCoderOG.jpg">
1073
1074
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
educatedMaroonChinchillamain.tsx7 matches
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
45const carouselImages = [
6"https://maxm-imggenurl.web.val.run/dark-tech-landscape-1920x800",
7"https://maxm-imggenurl.web.val.run/futuristic-tech-scene-1920x800",
12{
13id: "exampleModal1",
14image: "https://maxm-imggenurl.web.val.run/tech-card-image-1",
15title: "Web Development",
16description: "Creating responsive and modern web applications using cutting-edge technologies."
18{
19id: "exampleModal2",
20image: "https://maxm-imggenurl.web.val.run/tech-card-image-2",
21title: "AI Solutions",
22description: "Implementing intelligent systems and machine learning algorithms."
24{
25id: "exampleModal3",
26image: "https://maxm-imggenurl.web.val.run/tech-card-image-3",
27title: "Cloud Infrastructure",
28description: "Designing robust and scalable cloud architectures for enterprise needs."
35<div id="carouselExampleIndicators" className="carousel slide" data-bs-ride="carousel">
36<div className="carousel-indicators">
37{carouselImages.map((_, index) => (
38<button
39key={index}
48</div>
49<div className="carousel-inner">
50{carouselImages.map((src, index) => (
51<div
52key={index}
90<div key={card.id} className="col-md-4">
91<div className="card">
92<img src={card.image} className="card-img-top" alt={card.title} />
93<div className="card-body">
94<h5 className="card-title">{card.title}</h5>