Skip to content

Commit

Permalink
Feat/maicivil (#26)
Browse files Browse the repository at this point in the history
* chore: ignore

* feat: mock navbar

* docs: update package.json

* feat: change navbar titile

* feat: init footer

* chore: update package-lock

* feat: called nav bar component

* feat: clean navbar and restructure

* feat: adjust css to navbar and footer

* fix: css in footer to have horizon linear fade

* remove package-lock

* remove: conflict file ( src/app/footer.tsx )

* remove conflict file ( nav-tabs.tsx )
  • Loading branch information
Maikittitee authored Nov 11, 2024
1 parent 348695a commit 03f9236
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "ce-next-gen-frontend-2024",
"version": "0.1.0",
"private": true,
"lint-staged": {
"*.js": "eslint --fix"
},
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/home/_sections/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Icon } from '@iconify/react';

export default function Footer() {
return (
<footer className="bg-gray-200 p-8 text-center">
<footer className="bg-linear-black-orange-hori p-8 text-center">
<h2 className="mb-4 text-lg font-bold">ติดตามข่าวสาร</h2>
<div className="flex justify-center space-x-8">
<Icon icon="fa:instagram" className="text-3xl" />
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link';

export function NavBar() {
return (
<nav className="flex items-center justify-between bg-gray-200 p-4">
<nav className="bg-black-200 flex items-center justify-between bg-linear-orange-gray p-4">
<h1>CE Smart Career 2024</h1>
<ul className="flex space-x-6 font-bold">
{NAV_LINKS.map((navLink, index) => (
Expand Down
5 changes: 5 additions & 0 deletions src/shared/style/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ body {
rgba(255, 255, 255, 0.2) 10.29%,
rgba(246, 135, 30, 0.2) 100.35%
);
--linear-black-orange-hori: linear-gradient(
180deg,
rgba(14, 7, 21, 0.2) 10.29%,
rgba(246, 135, 30, 0.2) 100.35%
);

--orange-75: #fbcea3;
--orange-100: #fab97d;
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const config: Config = {
'linear-soft-gray': 'var(--linear-soft-gray)',
'linear-orange-gray': 'var(--linear-orange-gray)',
'linear-gray-orange': 'var(--linear-gray-orange)',
'linear-black-orange-hori': 'var(--linear-black-orange-hori)',
},
keyframes: {
'accordion-down': {
Expand Down

0 comments on commit 03f9236

Please sign in to comment.