diff --git a/index.html b/index.html index 8de4c0d..33e4ba6 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ + glpython diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 0000000..0181109 Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/favicon.svg b/public/favicon.svg index 6893eb1..1074aef 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1 +1,9 @@ - \ No newline at end of file + +glpython + + + + + + + diff --git a/public/icons.svg b/public/icons.svg deleted file mode 100644 index e952219..0000000 --- a/public/icons.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/App.tsx b/src/App.tsx index 188b0c0..1e92ba2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,5 @@ import { useEffect, useRef, useState, type KeyboardEvent as ReactKeyboardEvent } from 'react' -import { BookOpen, CircleHelp, Download, Info, EllipsisVertical, SlidersHorizontal, FileCode2, FilePlus2, Folder, FolderOpen, History, Link2, Lock, Pencil, Plus, RotateCcw, Sparkles, Trash2, Upload, X } from 'lucide-react' +import { BookOpen, CircleHelp, Download, Info, EllipsisVertical, SlidersHorizontal, FileCode2, FilePlus2, Folder, FolderOpen, History, Link2, Lock, Pencil, Plus, RotateCcw, Trash2, Upload, X } from 'lucide-react' import { GlPythonWorkspace, addProjectFile, deleteProjectFile, renameProjectFile, updateProjectFile } from 'glpython-editor' import type { Project, ProjectFileKind, WorkspaceCommand } from 'glpython-editor' import 'glpython-editor/style.css' @@ -8,6 +8,7 @@ import { exportProjectZip, importProjectFolder, importProjectZip } from './proje import { buildShareUrl, readSharedLinkFromLocation } from './projectShare' import { fetchLibrary, libraryHost, type LibraryState } from './libraries' import { renderMarkdown } from './markdown' +import { GlpythonMark } from './GlpythonMark' import { capabilitiesOf, DEFAULT_FEATURES, FEATURE_NAMES, readFeaturesParam, type Feature } from './features' import { answerTabQueries, claimTabId, isEmptyProject, newTabEntry, otherLiveTabIds, projectFingerprint, pruneEntries, recentlyClosed, removeEntry, saveEntry, startTab, type TabEntry } from './tabProjects' import { detectLocale, localeNames, saveLocale, translations, type Locale } from './i18n' @@ -423,7 +424,7 @@ function App() { return (
-
glpython
+
glpython
{shareCopied && {t.shareCopied}} diff --git a/src/GlpythonMark.tsx b/src/GlpythonMark.tsx new file mode 100644 index 0000000..ec4ecfc --- /dev/null +++ b/src/GlpythonMark.tsx @@ -0,0 +1,16 @@ +// glpython's mark (the logo without its square): a balance bike that is also +// an expression tree - the saddle a node, the two lines to the wheels edges +// to two leaves. In currentColor, for the top bar's ink square; the same +// drawing as public/favicon.svg. +export function GlpythonMark({ size = 16 }: { size?: number }) { + return ( + + ) +}