Skip to content

Commit

Permalink
Framework separate route
Browse files Browse the repository at this point in the history
  • Loading branch information
prokawsar committed Nov 17, 2024
1 parent b40382d commit fb59bf2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/lib/components/layouts/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
</tr>
</table>
</div>
<div>
<div class="flex flex-col gap-1">
<a href="{base}/contribute" class="text-xl font-semibold">Contribute</a>
<a href="{base}/framework" class="text-xl font-semibold">Framework</a>
</div>
<div>
<a href="{base}/blog" class="text-xl font-semibold">Blog</a>
Expand Down
1 change: 1 addition & 0 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const navLinks = [
{ href: '/apps', title: 'Apps' },
{ href: '/contribute', title: 'Contribute', icon: 'fluent:window-dev-tools-20-filled' },
{ href: '/blog', title: 'Blog', icon: 'mdi:paper' },
{ href: '/framework', title: 'Framework', icon: 'simple-icons:framework' },
{ href: '#', title: 'Community' }
]

Expand Down
2 changes: 0 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
import Blog from '$lib/components/sections/Blog.svelte'
import Contribute from '$lib/components/sections/Contribute.svelte'
import OurApps from '$lib/components/sections/OurApps.svelte'
import Process from '$lib/components/sections/Process.svelte'
import Youtube from '$lib/components/sections/Youtube.svelte'
export let data
</script>

<Head />
<Hero />
<Process />
<OurApps />
<Blog posts={data.posts} />
<Youtube />
Expand Down
8 changes: 8 additions & 0 deletions src/routes/framework/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script lang="ts">
import Head from '$lib/components/layouts/Head.svelte'
import Process from '$lib/components/sections/Process.svelte'
</script>

<Head title="Framework" />

<Process />

0 comments on commit fb59bf2

Please sign in to comment.