Skip to content

Commit

Permalink
style: use default container width (#246)
Browse files Browse the repository at this point in the history
* style: use default container width

* fix: revert to development server for testing

Co-authored-by: Rutaj Dash <[email protected]>
  • Loading branch information
120EE0692 and rutajdash authored Aug 23, 2022
1 parent 5bf6614 commit 063e63a
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion client/src/components/marginals/DesktopNavbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const DesktopNavbar = () => {
};

return (
<Container maxWidth='xl'>
<Container>
<nav
aria-label='Monday Morning Navigation'
className={classes.navContainer}
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/marginals/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Footer = () => {
const classes = useStyles();
return (
<div className={classes.wrapper}>
<Container maxWidth='xl'>
<Container>
<Grid container direction='row'>
<Grid item sm={6} md={4}>
<div className={classes.aboutInfo}>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/marginals/TopBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const TopBar = () => {
const classes = useStyles();
return (
<div className={classes.topBar}>
<Container maxWidth='xl'>
<Container>
<div className={classes.container}>
<ul className={classes.navList}>
<li className={classes.navItem}>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/portfolio/UserCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const UserCard = ({ user }) => {
user;

return (
<Container maxWidth='xl'>
<Container>
<div className={classes.wrapper}>
<Card className={classes.card}>
<CardContent>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/portfolio/Works.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Works = ({ user }) => {
const { articleList } = user;

return (
<Container maxWidth='xl'>
<Container>
<div className={classes.wrapper}>
<div className={classes.sectionWrapper}>
{/* Content */}
Expand Down
2 changes: 1 addition & 1 deletion client/src/config/ApolloClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const link = from([
uri:
process.env.NODE_ENV === 'production'
? 'https://mm.dashnet.in/api/v1/graph'
: 'https://project-reclamation-staging.herokuapp.com/v1/graph',
: 'https://project-reclamation-staging.herokuapp.com/api/v1/graph',
}),
]);

Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Team from '../components/about/Team';

function About() {
return (
<Container maxWidth='xl'>
<Container>
<BackButton path='/' goTo='Home' />
<AboutUs />
<Content />
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Article.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function Article({ article }) {

return (
<>
<Container maxWidth='xl'>
<Container>
<Grid container>
<Grid item md={9}>
<ArticleHeader article={article} />
Expand Down
4 changes: 2 additions & 2 deletions client/src/screens/Category.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function Category({ articleList, categoryShortName, category }) {
return (
<div className={classes.container}>
<div className={classes.navbarContainer}>
<Container maxWidth='xl'>
<Container>
<Typography variant='h1' className={classes.title}>
{category.name}
</Typography>
Expand Down Expand Up @@ -62,7 +62,7 @@ function Category({ articleList, categoryShortName, category }) {
</div>

<div>
<Container maxWidth='xl'>
<Container>
<div className={classes.articlesCards}>
{ROUTES.SUB_CATEGORIES.OBJECT[categoryShortName.toUpperCase()].map(
({ name, shortName, path }, index) => (
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Feedback from '../components/contact/Feedback';
function Contact() {
return (
<div>
<Container maxWidth='xl'>
<Container>
<BackButton path='/' goTo='Home' />
<ContactUs />
<Details />
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Expressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function Expressions() {

return (
<div className={classes.root}>
<Container maxWidth='xl'>
<Container>
<div className={classes.header}>
<Typography variant='h1' className={classes.head}>
Expressions
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Guide.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function Contact({ issues }) {

return (
<div>
<Container maxWidth='xl'>
<Container>
<BackButton path='/' goTo='Home' />
<Options />
</Container>
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function Home({ issues, squiggles }) {

return (
<>
<Container maxWidth='xl'>
<Container>
<ArticleGrid articles={featured} />
<Squiggles data={squiggles} />

Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Live.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function Live() {
};

return (
<Container maxWidth='xl'>
<Container>
<Typography variant='h2' className={classes.title}>
Live
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Podcast.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import PodcastList from '../components/podcast/List';

const Podcast = () => (
<>
<Container maxWidth='xl'>
<Container>
<BackLink />
</Container>
<LatestPodcast />
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/Policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import BackButton from '../components/shared/button/BackButton';

function Policy() {
return (
<Container maxWidth='xl'>
<Container>
<BackButton path='/' goTo='Home' />
<Terms />
</Container>
Expand Down
2 changes: 1 addition & 1 deletion client/src/screens/SearchPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ArticleCardStack from '../components/widgets/article/ArticleCardStack';
const SearchPage = ({ articles, keyword }) => {
const classes = useStyles();
return (
<Container maxWidth='xl'>
<Container>
<Typography variant='h3' component='h3' className={classes.text}>
{!articles && <span>NO</span>} Search results for - "{keyword}"
</Typography>
Expand Down

0 comments on commit 063e63a

Please sign in to comment.