Skip to content

Commit

Permalink
Merge pull request #79 from NUDelta/minor-updates
Browse files Browse the repository at this point in the history
Minor updates
  • Loading branch information
kapil1garg authored May 27, 2024
2 parents c1dd27f + c23b0bc commit 640ab30
Show file tree
Hide file tree
Showing 4 changed files with 878 additions and 863 deletions.
15 changes: 8 additions & 7 deletions components/shared/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Header(): JSX.Element {
return (
<header className="bg-black text-white">
<Container className="flex justify-between md:justify-start py-2 gap-6 items-center max-w-6xl">
<Link href="/" className="font-semibold text-4xl block">
<Link href="/" className="font-semibold md:text-3xl lg:text-4xl block">
DTR
</Link>

Expand Down Expand Up @@ -48,18 +48,19 @@ function Nav(): JSX.Element {
const router = useRouter();

return (
<nav className={`flex flex-col md:flex-row md:space-x-4 md:items-center`}>
<nav
className={`flex flex-col md:flex-row md:space-x-4 md:items-center md:text-sm lg:text-base`}
>
{links.map(({ href, label }) => (
(<Link
<Link
href={href}
key={label}
className={`py-3 px-3 hover:bg-yellow hover:text-black transition-colors ${
router.pathname === href ? "bg-yellow text-black" : ""
}`}>

}`}
>
{label}

</Link>)
</Link>
))}
</nav>
);
Expand Down
20 changes: 16 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@
module.exports = {
reactStrictMode: true,
images: {
domains: [
"delta-lab.nyc3.cdn.digitaloceanspaces.com",
"dl.airtable.com",
"v5.airtableusercontent.com"
remotePatterns: [
{
protocol: "https",
hostname: "delta-lab.nyc3.cdn.digitaloceanspaces.com",
pathname: "**",
},
{
protocol: "https",
hostname: "dl.airtable.com",
pathname: "**",
},
{
protocol: "https",
hostname: "v5.airtableusercontent.com",
pathname: "**",
},
],
},
};
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@
},
"dependencies": {
"@brainhubeu/react-carousel": "^2.0.4",
"@tailwindcss/typography": "^0.5.10",
"@tailwindcss/typography": "^0.5.13",
"add": "^2.0.6",
"airtable": "^0.12.2",
"next": "^14.1.0",
"next": "^14.2.3",
"nextjs-progressbar": "^0.0.16",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-player": "^2.14.1",
"react-player": "^2.16.0",
"react-responsive-carousel": "^3.2.23",
"sharp": "^0.33.2",
"yarn": "^1.22.21"
"sharp": "^0.33.4",
"yarn": "^1.22.22"
},
"devDependencies": {
"@types/brainhubeu__react-carousel": "^2.0.9",
"@types/node": "20.11.19",
"@types/react": "18.2.57",
"autoprefixer": "^10.4.17",
"eslint": "8",
"eslint-config-next": "^14.1.0",
"@types/brainhubeu__react-carousel": "^2.0.10",
"@types/node": "20.12.12",
"@types/react": "18.3.3",
"autoprefixer": "^10.4.19",
"eslint": "9",
"eslint-config-next": "^14.2.3",
"eslint-config-prettier": "^9.1.0",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "5.3.3"
"postcss": "^8.4.38",
"tailwindcss": "^3.4.3",
"typescript": "5.4.5"
}
}
Loading

0 comments on commit 640ab30

Please sign in to comment.