diff --git a/frontend/public/arrow--right@2x.png b/frontend/public/arrow--right@2x.png new file mode 100644 index 00000000..b1b7d877 Binary files /dev/null and b/frontend/public/arrow--right@2x.png differ diff --git a/frontend/src/app/Programs.js b/frontend/src/app/Programs.js index 231a6769..11f9ad57 100644 --- a/frontend/src/app/Programs.js +++ b/frontend/src/app/Programs.js @@ -1,4 +1,139 @@ export default function Programs() { - // TODO - return <>; + return ( +
+
+
+ + + +
+ ); +} + +const arrowPic = '/arrow--right@2x.png'; +const buttonText = 'More About WSS'; + +const items = [ + { + id: 1, + title: 'Seminars', + overline: 'Overline Goes Here', + img: 'tmp', + desc: 'The seminars comprise a four-day event where speakers present their research and ideas, sharing their findings and teaching related topics. Each day of the event features different speakers and topics, providing participants with a diverse range of perspectives and knowledge.', + }, + { + id: 2, + title: 'Round Tables', + overline: 'Overline Goes Here', + img: 'tmp', + desc: "During the event, we host round table discussions on specific topics, inviting experts in the field to share their insights and engage with participants' concerns. Please note that the round tables are conducted in Persian.", + }, + { + id: 3, + title: 'Lab Talks', + overline: 'Overline Goes Here', + img: 'tmp', + desc: 'This section focuses on the laboratories of the Faculty of Computer Engineering at Sharif University of Technology. In each session, we feature a different laboratory, with members introducing their lab and discussing current research topics. This provides participants with an opportunity to learn about cutting-edge research and developments in computer engineering.', + }, +]; + +function ProgramsArea() { + return ( +
+
+ Overline Goes Here +
+
+ Programs +
+
+ ); +} + +function Button({ text, img }) { + return ( +
+
+ {text} +
+
+ arrow +
+
+ ); +} + +function ItemText({ title, overline, description }) { + return ( +
+
+
+ {overline} +
+
+ {title} +
+
+
+ {description} +
+
+ ); +} + +function ItemImg({ img }) { + if (img.localeCompare('') == 0) + return ( +
+ ); + else + return ( +
+ +
+ ); +} + +function ItemTag({ item }) { + if (item.id % 2 == 1) + return ( +
+ + +
+ ); + else + return ( +
+ + +
+ ); +} + +function ItemsTag() { + return ( +
+ {items.map((item) => ( + + ))} +
+ ); } diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index e700bea4..e32a53a0 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -40,8 +40,53 @@ module.exports = { 800: '#a69ac6', 900: '#d3cde3', }, + white: '#fff', + darkslategray: { + 100: '#1f2b3d', + 200: 'rgba(10, 46, 79, 0.8)', + }, + black: '#000', + gray: { + 100: '#fafafa', + 200: 'rgba(255, 255, 255, 0.4)', + 300: 'rgba(255, 255, 255, 0.8)', + 400: 'rgba(255, 255, 255, 0.6)', + 500: 'rgba(255, 255, 255, 0.3)', + }, + darkslateblue: '#0b3678', + lightslategray: '#8a8998', + whitesmoke: '#e8eaee', + gainsboro: '#e2e7ef', + dodgerblue: 'rgba(15, 122, 219, 0.8)', + }, + spacing: {}, + fontFamily: { + manrope: 'Manrope', }, + borderRadius: { + '77xl': '96px', + '21xl': '40px', + mid: '17px', + '17xl': '36px', + }, + }, + fontSize: { + xl: '20px', + lg: '18px', + xs: '12px', + '9xl': '28px', + '13xl': '32px', + '29xl': '48px', + base: '16px', + '41xl': '60px', + '45xl': '64px', + '33xl': '52px', + sm: '14px', + inherit: 'inherit', }, }, plugins: [], + corePlugins: { + preflight: false, + }, };