Skip to content

Commit

Permalink
docs: added documentation links to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Jan 18, 2024
1 parent 858c96a commit d5e497d
Show file tree
Hide file tree
Showing 21 changed files with 108 additions and 512 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## Getting Started

Here is a list of documentation to help you get started:

- [Next.js](https://nextjs.org/docs) - Framework for routing and server-side rendering
- [React](https://react.dev/reference/react) - Library for building user interfaces
- [Tailwind CSS](https://tailwindcss.com/docs) - Styling library
- [Shadcn/ui](https://ui.shadcn.com/docs) - Reusable UI components
- [Lucide](https://lucide.dev/icons/) - Icons library
- [Next-intl](https://next-intl-docs.vercel.app/) - Internationalization library

First, install dependencies:

```bash
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/(layout)/about/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getTranslations, unstable_setRequestLocale } from 'next-intl/server';

export async function generatemeta({
export async function generateMetadata({
params: { locale },
}: {
params: { locale: string };
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/(layout)/events/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getTranslations, unstable_setRequestLocale } from 'next-intl/server';

export async function generatemeta({
export async function generateMetadata({
params: { locale },
}: {
params: { locale: string };
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/(layout)/news/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getTranslations, unstable_setRequestLocale } from 'next-intl/server';

export async function generatemeta({
export async function generateMetadata({
params: { locale },
}: {
params: { locale: string };
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function generateStaticParams() {
return locales.map((locale) => ({ locale }));
}

export async function generatemeta({
export async function generateMetadata({
params: { locale },
}: Omit<Props, 'children'>) {
const t = await getTranslations({ locale, namespace: 'meta' });
Expand Down
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type ReactNode } from "react";
import { type ReactNode } from 'react';

import "@/styles/globals.css";
import '@/styles/globals.css';

type Props = {
children: ReactNode;
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ function Header() {
events={t('events')}
about={t('about')}
/>
<div>
<LogoLink />
</div>
<LogoLink />
<div className='flex gap-10'>
<Nav
className='hidden items-center gap-6 text-sm md:flex'
Expand Down
4 changes: 2 additions & 2 deletions src/components/layout/LogoLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function LogoLink() {
href='/'
aria-label={t('home')}
>
<Logo className='h-5 w-5 md:h-11 md:w-11' />
<span className='text-md font-montserrat font-bold md:text-2xl'>
<Logo className='h-6 w-6 md:h-8 md:w-8 lg:h-10 lg:w-10' />
<span className='text-md font-montserrat font-bold md:text-lg lg:text-2xl'>
HACKERSPACE
</span>
</Link>
Expand Down
14 changes: 0 additions & 14 deletions src/components/old/context/modal/ModalContext.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/components/old/context/modal/ModalHook.ts

This file was deleted.

74 changes: 0 additions & 74 deletions src/components/old/context/modal/ModalProvider.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions src/components/old/modals/AuthModal.tsx

This file was deleted.

49 changes: 0 additions & 49 deletions src/components/old/pages/Home.tsx

This file was deleted.

34 changes: 0 additions & 34 deletions src/components/old/structure/Content.tsx

This file was deleted.

82 changes: 0 additions & 82 deletions src/components/old/structure/Footer.tsx

This file was deleted.

Loading

0 comments on commit d5e497d

Please sign in to comment.