diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2024-07-08 11:17:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-08 11:17:47 +0100 |
| commit | 5b384487331eaf08031dfe438bb2affa31aafcbb (patch) | |
| tree | 51904c3df8c54cbc5b7aa5832a5bae49d57f7141 /ui/src/pages/Home.tsx | |
| parent | feat(bash/blesh): hook into BLE_ONLOAD to resolve loading order issue (#2234) (diff) | |
| download | atuin-5b384487331eaf08031dfe438bb2affa31aafcbb.zip | |
feat(gui): runbooks that run (#2233)
* add initial runbooks frontend
* fix buttons, scroll, add shell support to editor
* work
* some tweaks
* wip - run crate
* functioning executable blocks
* handle resizing, killing ptys
* clear properly on stop
* move terminal to its own component, handle lifecycle better
* fix all build issues
* ffs codespelll
* update lockfile
* clippy is needy once more
* only build pty stuff on mac/linux
* vendor pty handling into desktop
* update lockfile
Diffstat (limited to 'ui/src/pages/Home.tsx')
| -rw-r--r-- | ui/src/pages/Home.tsx | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/ui/src/pages/Home.tsx b/ui/src/pages/Home.tsx index 04bd768e..9b1c0976 100644 --- a/ui/src/pages/Home.tsx +++ b/ui/src/pages/Home.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from "react"; +import React, { useEffect } from "react"; import { formatRelative } from "date-fns"; import { Tooltip as ReactTooltip } from "react-tooltip"; @@ -41,16 +41,24 @@ function Header({ name }: any) { {greeting} </h2> <h3 className="text-xl leading-7 text-gray-900 pt-4"> - Welcome to Atuin. + Welcome to{" "} + <a + href="https://atuin.sh" + target="_blank" + rel="noopener noreferrer nofollow" + > + Atuin + </a> + . </h3> </div> </div> ); } -const explicitTheme: ThemeInput = { +const explicitTheme = { light: ["#f0f0f0", "#c4edde", "#7ac7c4", "#f73859", "#384259"], - dark: ["#383838", "#4D455D", "#7DB9B6", "#F5E9CF", "#E96479"], + dark: ["#f0f0f0", "#c4edde", "#7ac7c4", "#f73859", "#384259"], }; export default function Home() { @@ -147,7 +155,7 @@ export default function Home() { <ActivityCalendar theme={explicitTheme} data={calendar} - weekStart={weekStart} + weekStart={weekStart as any} renderBlock={(block, activity) => React.cloneElement(block, { "data-tooltip-id": "react-tooltip", |
