Skip to content

Commit

Permalink
updating
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaByte committed Jan 8, 2024
1 parent 1b8d62d commit a6e1a13
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Footer() {
];

return (
<div class="bg-base-300 flex flex-col md:flex-row w-full gap-8 md:gap-16 px-8 py-8 text-sm">
<footer class="bg-base-300 flex flex-col md:flex-row w-full gap-8 md:gap-16 px-8 py-8 text-sm">
<div class="flex-1">
<div class="flex items-center gap-1">
<div class="flex items-center gap-1">
Expand All @@ -42,7 +42,7 @@ export default function Footer() {
</a>
</div>
</div>
<div class="text-gray-500 mt-1">
<div class="text-gray-500 mt-1 w-[200px] md:w-fit">
اكتسب مهارات جافاسكربت بسهولة وفعالية مع منصة نخلة
</div>
</div>
Expand Down Expand Up @@ -74,6 +74,6 @@ export default function Footer() {
<BrandGithub aria-hidden="true" />
</a>
</div>
</div>
</footer>
);
}
4 changes: 1 addition & 3 deletions components/Nav.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import ThemeToggle from "../islands/ThemeToggle.tsx";
import { cache, populateCache } from "../utils/course-cache.ts";
import { cache } from "../utils/course-cache.ts";
import Drawer from "./Drawer.tsx";

populateCache();

export default function NavBar() {
return (
<nav class="bg-base-300 w-full py-4 px-4 md:px-8 flex items-center gap-4 border-b base-content">
Expand Down
3 changes: 3 additions & 0 deletions routes/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { type PageProps } from "$fresh/server.ts";
import NavBar from "../components/Nav.tsx";
import { populateCache } from "../utils/course-cache.ts";

populateCache();

export default function App({ Component }: PageProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function BlogIndexPage(
/>
</Head>
<main class="max-w-screen-md px-4 pt-12 mx-auto mb-6">
<h1 class="text-5xl font-bold z-10">المحتوى</h1>
<h1 class="text-5xl font-bold z-10 mb-2">الاساسيات</h1>
<section class="flex flex-col">
{courses.map((course, index) => {
// Group of courses
Expand Down

0 comments on commit a6e1a13

Please sign in to comment.