14 Commits

Author SHA1 Message Date
Mariusz Klochowicz
31f8f9980b chore: Upgrade flowbite-react from 0.10.2 to 0.12.9 (#10572)
Note: For this to work, we swapped to `bundler` for module resolution,
which is recommended by TypeScript community.

This upgrade addresses breaking changes in flowbite-react 0.12.x
including
the removal of compound components in favour of simple component
imports.

Breaking changes addressed:

1. Tailwind CSS configuration
- Changed import from 'flowbite-react/tailwind' to
'flowbite-react/plugin/tailwindcss'
   - Updated plugin API: flowbite.plugin() → flowbite (direct export)
- Replaced flowbite.content() with manual path
'./node_modules/flowbite-react/dist/**/*.js'

2. Component API changes (compound → simple components)
- Accordion: Accordion.Panel → AccordionPanel, Accordion.Title →
AccordionTitle, etc.
   - Tabs: Tabs.Item → TabItem
- Sidebar: Sidebar.Item → SidebarItem, Sidebar.Items → SidebarItems,
etc.
   - Clipboard: Clipboard.WithIcon → ClipboardWithIcon

Additional fixes:
- Adjusted clipboard icon positioning (increased top margin from top-2
to top-4)
to properly align with code block borders as it was misaligned after the
upgrade

All components tested and verified working:
- Accordion, Tabs, Sidebar, Clipboard, Tooltip, Navbar
- Custom theming preserved and functioning correctly
- No obvious regressions during side-by-side testing with online version
2025-10-15 15:29:54 +00:00
Jamil
a81aedfdb9 chore(website): Cache API responses; cleanup font-manrope redundancy (#7136)
- Cache responses for `/api/releases` for minimum 60s, preventing Edge
function from firing up if cache is hit
- Fix font-manrope redundancy - was causing issues on local dev
2024-10-23 06:28:20 +00:00
Patti
d913002592 feat(website): Add cool grey to palette (#6601)
Signed-off-by: Patti <139997703+Patticatti@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-09-15 15:47:44 +00:00
Patti
cc442bfebf fix(website): New subscription cards style (#6549)
Signed-off-by: Patti <139997703+Patticatti@users.noreply.github.com>
2024-09-04 00:40:40 +00:00
Patti
3399ebdb0f feat(website): New use cases cards (#6291)
Resolves #5751

---------

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2024-08-29 07:09:33 +00:00
Patti
376dc61880 feat(website): New landing page (#6178)
Signed-off-by: Patti <139997703+Patticatti@users.noreply.github.com>
Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
2024-08-12 02:41:37 +00:00
Jamil
a5b7507932 refactor(website): Remove flowbite library in favor of flowbite-react (#5676)
Flowbite hard-fails on 2.4.1 with NextJS/React causing the build error
`document is not defined`.

To fix this, we need to use Flowbite's React library (we already were,
now it's the sole flowbite lib).
2024-07-01 23:23:28 -07:00
Jamil
37ed0c8f56 docs: Fix code block styling (#5058)
Fixes the styling bug that occurs when we use triple backticks to define
code blocks in markdown.

Now it looks like this:

<img width="936" alt="Screenshot 2024-05-20 at 10 55 56 PM"
src="https://github.com/firezone/firezone/assets/167144/36e88908-9023-4b91-82e4-c31d937dc015">


## NOTE

You *must* specify a language to use for highlighting, or `text` if
plaintext. Otherwise, no codeblock colorizing will occur.

Fixes #5057

---------

Co-authored-by: Not Applicable <ReactorScram@users.noreply.github.com>
2024-05-21 16:59:01 +00:00
Jamil
38e6c703b8 feat(blog): How DNS works in Firezone (#4828)
Describe how dns works in Firezone

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Reactor Scram <ReactorScram@users.noreply.github.com>
Co-authored-by: Brian Manifold <bmanifold@users.noreply.github.com>
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2024-05-08 17:25:19 +00:00
Jamil
afa58ee83e chore(deps): Bump flowbite-react (#4864)
Fix breaking changes --
https://github.com/themesberg/flowbite-react/releases
2024-05-01 14:28:06 +00:00
Jamil
862663e844 chore(website): april update (#4565)
Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Brian Manifold <bmanifold@users.noreply.github.com>
2024-04-10 03:19:34 +00:00
Jamil
79aa4cfb8e 1.x docs first iteration (#2688)
Doing a first pass over documentation and minor UI cleanup. This PR
isn't meant to represent the final state of launch docs, but instead
something that will unblock #2685 and #2675

Fixes #2729
2023-11-30 04:04:54 +00:00
Jamil
504d118539 Announce 1.0 early access (#1791)
- Add 1.0 blogpost
- Update font to `Public Sans` since it has all weights and offers
better readability
- Various layout/style fixes
- Disable kotlin draft release job

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Dryga <andrew@dryga.com>
2023-07-17 22:48:35 +00:00
Jamil
3023c716c9 Add updates from master that we want in cloud (#1774)
Adds the changes we want to keep in cloud in prep for #1726:

- `website/`
- `.codespellrc` updates
- `README.md` updates
2023-07-13 02:54:44 +00:00