File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ @if (!hasAccepted()) {
2
+ < div class ="docs-cookies-popup docs-invert-mode ">
3
+ < p > This site uses cookies from Google to deliver its services and to analyze traffic.</ p >
4
+
5
+ < div >
6
+ < a href ="https://policies.google.com/technologies/cookies " target ="_blank " rel ="noopener ">
7
+ < button class ="docs-primary-btn " [attr.text] ="'Learn more' " aria-label ="Learn More ">
8
+ Learn more
9
+ </ button >
10
+ </ a >
11
+ < button
12
+ type ="button "
13
+ (click) ="accept() "
14
+ class ="docs-primary-btn "
15
+ [attr.text] ="'Ok, Got it' "
16
+ aria-label ="Ok, Got it "
17
+ >
18
+ Ok, Got it
19
+ </ button >
20
+ </ div >
21
+ </ div >
22
+ }
Original file line number Diff line number Diff line change
1
+ @if (!hasAccepted()) {
2
+ < div class ="docs-cookies-popup docs-invert-mode ">
3
+ < p > このサイトでは、サービスの提供とトラフィックの分析のためにGoogleのクッキーを使用しています。</ p >
4
+
5
+ < div >
6
+ < a href ="https://policies.google.com/technologies/cookies " target ="_blank " rel ="noopener ">
7
+ < button class ="docs-primary-btn " [attr.text] ="'詳細を見る' " aria-label ="詳細を見る ">
8
+ 詳細を見る
9
+ </ button >
10
+ </ a >
11
+ < button
12
+ type ="button "
13
+ (click) ="accept() "
14
+ class ="docs-primary-btn "
15
+ [attr.text] ="'了解しました' "
16
+ aria-label ="了解しました "
17
+ >
18
+ 了解しました
19
+ </ button >
20
+ </ div >
21
+ </ div >
22
+ }
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ const localizedFilePatterns = [
15
15
// Application files
16
16
'src/app/sub-navigation-data.ts' ,
17
17
'shared-docs/components/table-of-contents/table-of-contents.component.html' ,
18
+ 'shared-docs/components/cookie-popup/cookie-popup.component.html'
18
19
] ;
19
20
20
21
async function main ( ) {
You can’t perform that action at this time.
0 commit comments