-
Notifications
You must be signed in to change notification settings - Fork 30
Site Architecture
Bruce Lai edited this page Mar 15, 2022
·
26 revisions
Purpose: current home page that will be the landing page at site launch
Path: src/pages/Home
Structure:
-
index.jsis the parent file that contains its own style section andHome,MarketingSection, andCallToActioncomponents -
sectionssubdirectory containsNotableUsersSection.jsandTrendingTopicsSection.jscomponents - There is a
notableUserslist that is defined inNotableUsersSection.jsthat contains info for CTI contributor orgs -
index.jsimportsNotableUsersSectionandTrendingTopicsSection. It also importsGetStartedCardfromsrc/components -
Homecomponent contains all of the home page and displays the following components from top to bottom:MarketingSection,CallToActionSection,NotableUsersSection,TrendingTopicsSection,GetStartedCard
Purpose: It shows the steps how to add topic tags to your project.
Path: src/pages/HowToAdd
Structure:
-
HowToAddcomponent in the main fileindex.js, which contains its own style section andImageComponentcomponent,SettingsGearIconcomponent. -
ImageComponentcomponent insrc/componentsusesCardMediaMaterial UI component for displaying the images. -
SettingGearIconcomponent insrc/componentsuses svg which is used to define vector-based-graphics and path is an element in svg library which defines a path that starts from a position and ends to a particular position. The path element uses attribute d which uses M which is used for moving a point to a certain location.
Purpose: provides information on the organization's project
Path: src/pages/about
Structure:
-
index.jsis the parent file containing formatting and an object for mapping the images of the page - A Grid component contains an iframe slideshow explaining various aspects of the project
-
styles.jscontains the styling for the page
The Wiki is a working document and we would love to improve it. Please compile any questions and suggestions you may have and submit it via creating an issue on our project board.