Skip to content

Commit

Permalink
Merge pull request #76 from rtCamp/feature/add-sections
Browse files Browse the repository at this point in the history
Add sections for PPE and PAT
  • Loading branch information
gagan0123 authored Oct 15, 2024
2 parents 632c22b + d767a91 commit 30a547c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
26 changes: 26 additions & 0 deletions public/assets/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ video {

.container {
width: 100%;
margin-right: auto;
margin-left: auto;
}

@media (min-width: 640px) {
Expand Down Expand Up @@ -699,6 +701,10 @@ video {
margin-bottom: 0.25rem;
}

.mb-16 {
margin-bottom: 4rem;
}

.mb-2 {
margin-bottom: 0.5rem;
}
Expand All @@ -719,6 +725,14 @@ video {
margin-left: 1rem;
}

.mt-1 {
margin-top: 0.25rem;
}

.mt-16 {
margin-top: 4rem;
}

.mt-4 {
margin-top: 1rem;
}
Expand Down Expand Up @@ -833,6 +847,10 @@ video {
flex-direction: column;
}

.flex-wrap {
flex-wrap: wrap;
}

.items-center {
align-items: center;
}
Expand Down Expand Up @@ -1019,6 +1037,10 @@ video {
font-weight: 700;
}

.italic {
font-style: italic;
}

.leading-tight {
line-height: 1.25;
}
Expand Down Expand Up @@ -1141,6 +1163,10 @@ video {
max-width: 100%;
}

.md\:grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}

.md\:grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
Expand Down
8 changes: 8 additions & 0 deletions src/common/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<% } %>

<div class="container-lg mx-auto py-8">
<h2 class="text-3xl font-bold text-left">PPE</h2>
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8 mt-8 w-full md:w-[60rem] mx-auto max-w-80 md:max-w-full">
<%= renderCard('Analytics Tracking', '🔎', '/analytics') %>
<%= renderCard('Embedded Content', '📽️', '/embedded-video') %>
Expand All @@ -27,5 +28,12 @@
<%= renderCard('Frame Overlay', '🔲', '/frame-overlay') %>
</div>
</div>
<div class="container-lg mx-auto py-8">
<h2 class="text-3xl font-bold text-left">PAT</h2>
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8 mt-8 w-full md:w-[60rem] mx-auto max-w-80 md:max-w-full">
<%= renderCard('Privacy Sandcastle', '🔒', 'https://psat-pat-demos-home.dev/') %>
<%= renderCard('Casale Media Demo', '🛡️', 'https://privacysandboxdemos.domain-aaa.com/') %>
</div>
</div>

<%- include(commonPath + '/footer.ejs') %>
3 changes: 3 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ module.exports = {
'sans' : ['Open Sans', 'sans-serif'],
},
extend: {},
container: {
center: true,
},
},
plugins: [{
tailwindcss: {},
Expand Down

0 comments on commit 30a547c

Please sign in to comment.