Skip to content

Commit

Permalink
FIX: Designs adapted to adex
Browse files Browse the repository at this point in the history
  • Loading branch information
SunilBabu4989 committed Jun 19, 2024
1 parent 4b5ec5c commit c5aafbc
Show file tree
Hide file tree
Showing 9 changed files with 8,459 additions and 8,268 deletions.
17 changes: 5 additions & 12 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const foot = require('./static/footer_col_3');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'ADeX Documentation',
tagline: 'Learn about exploring, building , deploying your apps with IUDX',
tagline: 'Learn about exploring, building , deploying your apps with ADeX',
url: 'https://docs.adex.org.in/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/icon.ico',
favicon: 'img/adex-short.png',
organizationName: 'ADeX', // Usually your GitHub org/user name.
projectName: 'ADeX', // Usually your repo name.

Expand Down Expand Up @@ -49,7 +49,7 @@ const config = {
title: '',
logo: {
alt: 'My Site Logo',
src: 'img/iudx_logo.png'
src: 'img/adex-logo.png'
},
items: [
{
Expand All @@ -62,11 +62,11 @@ const config = {
href: '/docs/registration'
},
{
label: 'Consumer',
label: 'AIU',
href: '/docs/Consumer/consumer'
},
{
label: 'Provider',
label: 'AIP',
href: '/docs/Provider/provider'
},
{
Expand Down Expand Up @@ -127,12 +127,6 @@ const config = {
{
html: `
<div class="logo-address-col">
<a routerLink="/">
<img
src="https://iudx-catalogue-assets.s3.ap-south-1.amazonaws.com/iudx.png"
class="logo"
/>
</a>
<div class="place">
<a href="https://goo.gl/maps/sHqNUTRGFDmD2kbX8" target="_blank">
<img src="img/location.png" />
Expand Down Expand Up @@ -227,4 +221,3 @@ const config = {
};

module.exports = config;

44 changes: 25 additions & 19 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,27 @@
}

:root{
--ifm-color-primary: #0b457f;
--ifm-color-primary-dark: #0a3e72;
--ifm-color-primary-darker: #093b6c;
--ifm-color-primary-darkest: #083059;
--ifm-color-primary-light: #0c4c8c;
--ifm-color-primary-lighter: #0d4f92;
--ifm-color-primary-lightest: #0e5aa5;
--ifm-color-primary: #0a9;
--ifm-color-primary-dark: #0a9;
--ifm-color-primary-darker: #0a9;
--ifm-color-primary-darkest: #0a9;
--ifm-color-primary-light: #0a9;
--ifm-color-primary-lighter: #0a9;
--ifm-color-primary-lightest: #0a9;
--ifm-code-font-size: 95%;
}
html[data-theme = 'dark']{
--ifm-color-primary-dark: #0a3e72;
--ifm-color-primary-darker: #093b6c;
--ifm-color-primary-dark: #0a9;
--ifm-color-primary-darker: #0a9;
}

.docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.1);
display: block;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
}

html[data-theme='dark'] .docusaurus-highlight-code-line {
background-color: rgba(0, 0, 0, 0.3);
}
Expand Down Expand Up @@ -78,13 +78,17 @@
font-size: 12px;
border-radius: 25%;
fill: white;
background-color: #15294b;
background-color: #0a9;
padding: 8px;
width: 28px;
height: 28px;
transition: all 0.2s ease-out;
}

img{
max-width: auto !important;
}

.icon:hover {
opacity: 80%;
}
Expand All @@ -97,30 +101,33 @@
display: flex;
}

.iudx-logo{
width: 5rem;
.adex-logo{
width: 3rem;
margin-right: 12px;
}

.ministry-logo{
width: 18rem;
width: 3rem;
margin-right: 12px;
}

.iisc-logo{
width: 5rem;
margin-right: 12px;
}

.connect-with-us{
text-align: center;
margin-top: 1.3rem;
color: #15294b;
color: #0a9;
}

.mailto{
font-weight: 500;
}

.mailto a{
color: #15294b;
color: #0a9;
}

.hr-w-75 {
Expand All @@ -133,7 +140,7 @@
}

.footer__title{
color: #15294b;
color: #0a9;
}


Expand All @@ -157,4 +164,3 @@
flex-direction: column;
}
}

31 changes: 19 additions & 12 deletions static/footer_col_3.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
module.exports = `<div class="col-3">
<div class="flex-parent">
<img *ngIf="instance" [src]="instance.logo" />
<a href="https://smartcities.gov.in/" target="_blank">
<a href="https://www.iisc.ac.in/" target="_blank">
<img
class="iudx-logo"
src="https://iudx-catalogue-assets.s3.ap-south-1.amazonaws.com/smart-city.png"
title="Smart Cities"
class="adex-logo"
src="https://iudx-catalogue-assets.s3.ap-south-1.amazonaws.com/iisc.png"
title="IISc Bangalore"
/>
</a>
<a href="http://mohua.gov.in/" target="_blank">
<a href=""https://www.telangana.gov.in/Pages/Home.aspx" target="_blank">
<img
class="ministry-logo"
src="https://iudx-catalogue-assets.s3.ap-south-1.amazonaws.com/mohua.png"
title="MoHUA"
src="img/adex-footer.png"
title="Telangana"
/>
</a>
<a href="https://www.iisc.ac.in/" target="_blank">
<a href="http://adex.org.in/" target="_blank">
<img
class="iisc-logo"
src="https://iudx-catalogue-assets.s3.ap-south-1.amazonaws.com/iisc.png"
title="IISc Bangalore"
class="adex"
src="img/adex-gray-logo.png"
title="ADeX"
/>
</a>
<a href="https://www.weforum.org/" target="_blank">
<img
class="wef"
src="img/wef.jpg"
title="ADeX"
/>
</a>
</div>
Expand Down Expand Up @@ -110,7 +117,7 @@ module.exports = `<div class="col-3">
</a>
</div>
<p class="mailto">
<a href="mailto:[email protected]"> info@iudx.org.in</a>
<a href="mailto:[email protected]"> info@adex.org.in</a>
</p>
</div>
</div>
Expand Down
Binary file added static/img/adex-footer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/adex-gray-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/adex-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/adex-short.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/wef.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c5aafbc

Please sign in to comment.