-
+export default function Hero() {
+ return (
+
+
+
+
+
+
- A{" "}
-
- space
- {" "}
- for coders
+ The free web
+ developer community
-
-
handleScroll("cta")}
- >
-
-
-
-
-
+
+ {`Codú's community offers hundreds of tutorials, an online community, and answers
+ questions on a wide range of web development topics. Sign up for a free account today
+ and join the community.`}
+
-
-
-
-
+
+
);
}
diff --git a/e2e/home.spec.ts b/e2e/home.spec.ts
index 08e7fc69..0a343954 100644
--- a/e2e/home.spec.ts
+++ b/e2e/home.spec.ts
@@ -5,16 +5,11 @@ test.describe("Confirm homepage content", () => {
await page.goto("http://localhost:3000/");
// Check headers
- await expect(page.locator("h1")).toContainText("A space for coders");
- await expect(page.locator("h1")).not.toContainText("Unwanted text");
-
- await expect(page.locator("h2")).toContainText(
- "Sign up today to become a writer and get a free invite to our Discord community",
+ await expect(page.locator("h1")).toContainText(
+ "The free web developer community",
);
await expect(page.locator("h3")).toContainText("Trending");
-
- await expect(page.locator("h3")).toContainText("Trending");
});
test.describe("Confirm image accessibiliy content", () => {
diff --git a/package-lock.json b/package-lock.json
index 8e5e2eff..7b173a1d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -55,7 +55,6 @@
"@trpc/react-query": "^10.45.1",
"@trpc/server": "^10.45.1",
"algoliasearch": "^5.7.0",
- "atropos": "^2.0.2",
"clsx": "^2.1.1",
"copy-to-clipboard": "^3.3.3",
"drizzle-orm": "^0.34.1",
@@ -9490,14 +9489,6 @@
"astring": "bin/astring"
}
},
- "node_modules/atropos": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/atropos/-/atropos-2.0.2.tgz",
- "integrity": "sha512-8f0u0hEOlBTWTSvzY17TcHuQjxUIpkTBq70/I4+UF5B43ORtOoRjm8TPBYEgLM8Ba9AWf6PDtkagbYoybdjaKg==",
- "engines": {
- "node": ">= 12.0.0"
- }
- },
"node_modules/autoprefixer": {
"version": "10.4.20",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.20.tgz",
diff --git a/package.json b/package.json
index cc410ea5..63499659 100644
--- a/package.json
+++ b/package.json
@@ -73,7 +73,6 @@
"@trpc/react-query": "^10.45.1",
"@trpc/server": "^10.45.1",
"algoliasearch": "^5.7.0",
- "atropos": "^2.0.2",
"clsx": "^2.1.1",
"copy-to-clipboard": "^3.3.3",
"drizzle-orm": "^0.34.1",
diff --git a/public/images/home/moon.png b/public/images/home/moon.png
deleted file mode 100644
index 78a15ddf..00000000
Binary files a/public/images/home/moon.png and /dev/null differ
diff --git a/public/images/home/rocketman.png b/public/images/home/rocketman.png
deleted file mode 100644
index a6d743e5..00000000
Binary files a/public/images/home/rocketman.png and /dev/null differ
diff --git a/public/images/home/space.jpg b/public/images/home/space.jpg
deleted file mode 100644
index 5ae21c63..00000000
Binary files a/public/images/home/space.jpg and /dev/null differ