Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Change the spelling of Annoucement to Announcement (#3644)

Isaiah Hamilton68bc1b7fd1dd
diff --git a/www/components/Nav/Annoucement.tsx b/www/components/Nav/Announcement.tsx
similarity index 63%
rename from www/components/Nav/Annoucement.tsx
rename to www/components/Nav/Announcement.tsx
index fa7fbc16745..0d0074812d8 100644
--- a/www/components/Nav/Annoucement.tsx
+++ b/www/components/Nav/Announcement.tsx
@@ -1,19 +1,19 @@
import React from 'react'
-import annoucement from '~/data/Annoucement.json'
+import announcement from '~/data/Announcement.json'
-const Annoucement = () => {
- if (!annoucement.show) return null
+const Announcement = () => {
+ if (!announcement.show) return null
return (
- <a href={annoucement.link} target="_blank">
+ <a href={announcement.link} target="_blank">
{/* <div className="bg-dark-700 text-white hover:bg-dark-600 dark:bg-white dark:text-dark-600 dark:hover:bg-dark-200 transition-colors"> */}
<div className="bg-[#5865F2] text-white">
<div className="flex items-center justify-center p-2 mx-auto space-x-2 text-sm lg:container lg:px-16 xl:px-20">
- {annoucement.text}
+ {announcement.text}
</div>
</div>
</a>
)
}
-export default Annoucement
+export default Announcement
diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsx
index ca868a048cb..5549f348f9b 100644
--- a/www/components/Nav/index.tsx
+++ b/www/components/Nav/index.tsx
@@ -10,7 +10,7 @@ import SolutionsData from 'data/Solutions.json'
import Solutions from '~/components/Nav/Product'
import Developers from '~/components/Nav/Developers'
-import Annoucement from '~/components/Nav/Annoucement'
+import Announcement from '~/components/Nav/Announcement'
type Props = {
darkMode: boolean
@@ -185,7 +185,7 @@ const Nav = (props: Props) => {
return (
<>
- <Annoucement />
+ <Announcement />
<div className="sticky top-0 z-50">
<nav className="bg-white dark:bg-gray-800 border-b dark:border-gray-600">
{/* <div className="lg:container mx-auto relative flex justify-between h-16 lg:px-10 xl:px-0"> */}
diff --git a/www/data/Annoucement.json b/www/data/Announcement.json
similarity index 100%
rename from www/data/Annoucement.json
rename to www/data/Announcement.json