Skip to content

Commit

Permalink
Staff Header Added
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirMohammadFakhimi committed Dec 20, 2023
1 parent 3396491 commit cc370f6
Show file tree
Hide file tree
Showing 21 changed files with 49 additions and 7 deletions.
4 changes: 0 additions & 4 deletions frontend/src/app/Staff.js

This file was deleted.

4 changes: 2 additions & 2 deletions frontend/src/app/page.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Footer from './Footer';
import Header from './Header';
import Programs from './Programs';
import Seminar from './seminars/Seminar';
import Staff from './Staff';
import Seminar from './seminar/Seminar';
import Staff from './staff/Staff';

export default function Home() {
return (
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import SeminarHeader from './SminarsHeader';
import SeminarHeader from './SminarHeader';
import Background from './assets/background.svg';
import SeminarLine from './SeminarLine';
import ViewAllButton from './ViewAllButton';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
10 changes: 10 additions & 0 deletions frontend/src/app/staff/Staff.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import StaffHeader from './StaffHeader';

export default function Staff() {
return (
<div className={'flex-col justify-center items-center bg-no-repeat bg-cover bg-center pb-14'}>
<StaffHeader/>
</div>
);
}
18 changes: 18 additions & 0 deletions frontend/src/app/staff/StaffHeader.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from "react";
import ViewAllButton from './ViewAllButton';

export default function StaffHeader() {
return (
<div className={'flex justify-between items-center px-32 pt-20'}>
<div>
<div className={'font-manrope font-medium text-lg text-[#8A8998]'}>
Overline Goes Here
</div>
<div className={'font-manrope font-bold text-[64px] text-[#1F2B3D] -mt-2'}>
Staff Members
</div>
</div>
<ViewAllButton text={'View All'} width={20} />
</div>
)
}
14 changes: 14 additions & 0 deletions frontend/src/app/staff/ViewAllButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';
import Arrow from './assets/view all arrow.svg';
import Image from 'next/image';

export default function ViewAllButton({ text, width }: { text: string, width?: number }) {
return (
<button className={'flex justify-center items-center rounded-md m-auto bg-[#0B3678] p-4 mb-3 font-manrope font-bold text-lg'}>
<div>
{text}
</div>
<Image src={Arrow} alt={'view all arrow'} width={width} height={width} className={'ml-5'} />
</button>
);
}
4 changes: 4 additions & 0 deletions frontend/src/app/staff/assets/view all arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc370f6

Please sign in to comment.