Skip to content

Commit

Permalink
Fix padding and margins issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaudinFlorence committed Sep 3, 2024
1 parent e177bc8 commit 4d346cd
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const config: Config = {

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: "/QuantStack/", // Usually your GitHub org/user name.
projectName: "quantstack.github.io", // Usually your repo name.
organizationName: "QuantStack", // Usually your GitHub org/user name.
projectName: "/quantstack.github.io/", // Usually your repo name.

onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/projects/AllProjects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function AllProjects() {
{projectsDetails.map((project, index) => {
return(
<li className="projects-list" key={index}>
<div className="col">
<div className="col" style={{padding:"0 0"}}>
<ProjectCard project={project}/>
</div>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/components/projects/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function ProjectCard({ project }): JSX.Element {
const base = `${prefix}${project.name}`
return (
<div className="container">
<div className="row row--no-gutters horizontally-centered">
<div className="row row--no-gutters">
<div
className={"col col--6 col" + " " + styles.project_text}
>
Expand Down
6 changes: 6 additions & 0 deletions src/components/projects/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,18 @@ div .project_title {
border: none;
margin-bottom: var(--ifm-spacing-xl);
}

li .project_ {
padding-left: 0;
margin-left: 0;
}
}

@media only screen and (min-width: 996px) {
/*Desktop*/
.header_container {
margin-top: var(--ifm-spacing-6xl);
background-color: red;
}
.header_title {
padding-left: var(--ifm-spacing-4xl);
Expand Down
8 changes: 5 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@

ul {
padding-left: 0;
margin-left:0;
}

.container {
Expand Down Expand Up @@ -641,6 +642,7 @@ a.menu__link:active {

.projects-list {
list-style-type: none;
padding: none;
width: 100%;
}
padding-left: 0;
margin-left: 0;
/* width: 100%;*/
}
2 changes: 1 addition & 1 deletion src/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Layout from "@theme/Layout";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import {About} from "../components/about";
import BrowserOnly from "@docusaurus/BrowserOnly";
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";

export default function AboutPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import BlogsComponent from "../components/blog";
import blogpostDetails from "@site/src/components/blog/blogpostsDetails.json";
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";


export default function BlogPage(): JSX.Element {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/careers.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import Careers from '../components/careers';
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";


export default function CareersPage(): JSX.Element {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Contact from "@site/src/components/contact";
import BrowserOnly from "@docusaurus/BrowserOnly";
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";

export default function ContactPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Home from "../components/home/Home";
import BrowserOnly from "@docusaurus/BrowserOnly";
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";

export default function HomePage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Home from "../components/home/Home";
import BrowserOnly from "@docusaurus/BrowserOnly";
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";

export default function QSWebsite(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Projects from "@site/src/components/projects";
import BrowserOnly from "@docusaurus/BrowserOnly";
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";

export default function ProjectsPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/services.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import Layout from "@theme/Layout";
import Services from "../components/services";
import BrowserOnly from "@docusaurus/BrowserOnly";
import Footer from "../components/footer/Footer";
import Footer from "../components/contact/footer/Footer";

export default function ServicesPage(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
Expand Down

0 comments on commit 4d346cd

Please sign in to comment.